Skip to content

KnowledgeBaseConfiguration

Structure Class

KnowledgeBaseConfiguration dataclass

Bases: _SerdeShape

Contains details about the vector embeddings configuration of the knowledge base.

Attributes

kendra_knowledge_base_configuration class-attribute instance-attribute
kendra_knowledge_base_configuration: KendraKnowledgeBaseConfiguration | None = ...

Settings for an Amazon Kendra knowledge base.

managed_knowledge_base_configuration class-attribute instance-attribute
managed_knowledge_base_configuration: ManagedKnowledgeBaseConfiguration | None = ...

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 class-attribute instance-attribute
sql_knowledge_base_configuration: SqlKnowledgeBaseConfiguration | None = ...

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

type instance-attribute
type: str

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 class-attribute instance-attribute
vector_knowledge_base_configuration: VectorKnowledgeBaseConfiguration | None = ...

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