Skip to content

KnowledgeBase Sample

This page is generated from the checked-in sample manifest at config/samples/generativeaiagent_v1beta1_knowledgebase.yaml.

Field Value
Resource generativeaiagent/KnowledgeBase
API Version generativeaiagent.oracle.com/v1beta1
Source Path config/samples/generativeaiagent_v1beta1_knowledgebase.yaml
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#

#
# Replace the compartment OCID and tune the KnowledgeBase settings below before running e2e.
# Keeping spec.displayName empty disables pre-create reuse; setting it allows the controller
# to bind to an existing Generative AI Agent KnowledgeBase with the same compartmentId and displayName.
#
apiVersion: generativeaiagent.oracle.com/v1beta1
kind: KnowledgeBase
metadata:
  name: knowledgebase-sample
spec:
  compartmentId: ocid1.compartment.oc1..exampleuniqueID
  displayName: osok-generativeaiagent-knowledgebase-sample
  description: OSOK Generative AI Agent KnowledgeBase sample
  indexConfig:
    indexConfigType: DEFAULT_INDEX_CONFIG
    shouldEnableHybridSearch: false
  freeformTags:
    managed-by: oci-service-operator