Associates a knowledge base with an agent. If a knowledge base is associated and its indexState
is set to Enabled
, the agent queries the knowledge base for information to augment its response to the user.
See https://www.paws-r-sdk.com/docs/bedrockagent_associate_agent_knowledge_base/ for full documentation.
bedrockagent_associate_agent_knowledge_base(
agentId,
agentVersion,
description,
knowledgeBaseId,
knowledgeBaseState = NULL
)
[required] The unique identifier of the agent with which you want to associate the knowledge base.
[required] The version of the agent with which you want to associate the knowledge base.
[required] A description of what the agent should use the knowledge base for.
[required] The unique identifier of the knowledge base to associate with the agent.
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.