Skip to content

KnowledgeBaseConfiguration

Source code in docs_src/capo_bedrock_agent_runtime/types/knowledge_base_configuration.py
class KnowledgeBaseConfiguration(TypedDict, closed=True):
    knowledge_base_id: (
        "capo_bedrock_agent_runtime.types.knowledge_base_id.KnowledgeBaseId"
    )
    """<p>The unique identifier for a knowledge base attached to the agent.</p>"""
    retrieval_configuration: "capo_bedrock_agent_runtime.types.knowledge_base_retrieval_configuration.KnowledgeBaseRetrievalConfiguration"
    """<p>The configurations to apply to the knowledge base during query. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.</p>"""

knowledge_base_id instance-attribute

knowledge_base_id: KnowledgeBaseId

The unique identifier for a knowledge base attached to the agent.

retrieval_configuration instance-attribute

retrieval_configuration: KnowledgeBaseRetrievalConfiguration

The configurations to apply to the knowledge base during query. For more information, see Query configurations.