KnowledgeBaseConfig

class oci.generative_ai_agent.models.KnowledgeBaseConfig(**kwargs)

Bases: object

The KnowledgeBase configuration this RAG Tool uses.

Methods:

__init__(**kwargs)

Initializes a new KnowledgeBaseConfig object with values from keyword arguments.

Attributes:

knowledge_base_id

[Required] Gets the knowledge_base_id of this KnowledgeBaseConfig.

__init__(**kwargs)

Initializes a new KnowledgeBaseConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

knowledge_base_id (str) – The value to assign to the knowledge_base_id property of this KnowledgeBaseConfig.

property knowledge_base_id

[Required] Gets the knowledge_base_id of this KnowledgeBaseConfig. The OCID of the knowledgeBase this RAG Tool uses

Returns

The knowledge_base_id of this KnowledgeBaseConfig.

Return type

str