Skip to content

Bedrock Agent  >  Structures  >  AgentKnowledgeBase

AgentKnowledgeBase

Structure Class

AgentKnowledgeBase dataclass

Contains details about a knowledge base that is associated with an agent.

Attributes

agent_id instance-attribute
agent_id: str

The unique identifier of the agent with which the knowledge base is associated.

agent_version instance-attribute
agent_version: str

The version of the agent with which the knowledge base is associated.

created_at instance-attribute
created_at: datetime

The time at which the association between the agent and the knowledge base was created.

description instance-attribute
description: str

The description of the association between the agent and the knowledge base.

knowledge_base_id instance-attribute
knowledge_base_id: str

The unique identifier of the association between the agent and the knowledge base.

knowledge_base_state instance-attribute
knowledge_base_state: KnowledgeBaseState

Specifies whether to use the knowledge base or not when sending an InvokeAgent request.

updated_at instance-attribute
updated_at: datetime

The time at which the association between the agent and the knowledge base was last updated.