Skip to content

KnowledgeBaseConfiguration

Source code in docs_src/capo_bedrock_agent/types/knowledge_base_configuration.py
class KnowledgeBaseConfiguration(TypedDict, closed=True):
    type: "capo_bedrock_agent.types.knowledge_base_type.KnowledgeBaseType"
    """<p>The type of data that the data source is converted into for the knowledge base. Choose <code>MANAGED</code> to create a managed knowledge base.</p>"""
    vector_knowledge_base_configuration: NotRequired[
        "capo_bedrock_agent.types.vector_knowledge_base_configuration.VectorKnowledgeBaseConfiguration"
    ]
    """<p>Contains details about the model that's used to convert the data source into vector embeddings.</p>"""
    managed_knowledge_base_configuration: NotRequired[
        "capo_bedrock_agent.types.managed_knowledge_base_configuration.ManagedKnowledgeBaseConfiguration"
    ]
    """<p>Contains configuration details for a knowledge base that uses a vector store fully managed by Amazon Bedrock. Specify this object when the knowledge base type is MANAGED.</p>"""
    kendra_knowledge_base_configuration: NotRequired[
        "capo_bedrock_agent.types.kendra_knowledge_base_configuration.KendraKnowledgeBaseConfiguration"
    ]
    """<p>Settings for an Amazon Kendra knowledge base.</p>"""
    sql_knowledge_base_configuration: NotRequired[
        "capo_bedrock_agent.types.sql_knowledge_base_configuration.SqlKnowledgeBaseConfiguration"
    ]
    """<p>Specifies configurations for a knowledge base connected to an SQL database.</p>"""

kendra_knowledge_base_configuration instance-attribute

kendra_knowledge_base_configuration: NotRequired[KendraKnowledgeBaseConfiguration]

Settings for an Amazon Kendra knowledge base.

managed_knowledge_base_configuration instance-attribute

managed_knowledge_base_configuration: NotRequired[ManagedKnowledgeBaseConfiguration]

Contains configuration details for a knowledge base that uses a vector store fully managed by Amazon Bedrock. Specify this object when the knowledge base type is MANAGED.

sql_knowledge_base_configuration instance-attribute

sql_knowledge_base_configuration: NotRequired[SqlKnowledgeBaseConfiguration]

Specifies configurations for a knowledge base connected to an SQL database.

type instance-attribute

The type of data that the data source is converted into for the knowledge base. Choose MANAGED to create a managed knowledge base.

vector_knowledge_base_configuration instance-attribute

vector_knowledge_base_configuration: NotRequired[VectorKnowledgeBaseConfiguration]

Contains details about the model that's used to convert the data source into vector embeddings.