get_agent_knowledge_base¶
Operation¶
get_agent_knowledge_base
async
¶
get_agent_knowledge_base(input: GetAgentKnowledgeBaseInput, plugins: list[Plugin] | None = None) -> GetAgentKnowledgeBaseOutput
Gets information about a knowledge base associated with an agent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetAgentKnowledgeBaseInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
GetAgentKnowledgeBaseOutput
|
An instance of |
Input¶
GetAgentKnowledgeBaseInput
dataclass
¶
Dataclass for GetAgentKnowledgeBaseInput structure.
Attributes¶
agent_id
class-attribute
instance-attribute
¶
agent_id: str | None = None
The unique identifier of the agent with which the knowledge base is associated.
agent_version
class-attribute
instance-attribute
¶
agent_version: str | None = None
The version of the agent with which the knowledge base is associated.
knowledge_base_id
class-attribute
instance-attribute
¶
knowledge_base_id: str | None = None
The unique identifier of the knowledge base associated with the agent.
Output¶
GetAgentKnowledgeBaseOutput
dataclass
¶
Dataclass for GetAgentKnowledgeBaseOutput structure.
Attributes¶
agent_knowledge_base
instance-attribute
¶
agent_knowledge_base: AgentKnowledgeBase
Contains details about a knowledge base attached to an agent.