Update Agent Knowledge Base
bedrockagent_update_agent_knowledge_base | R Documentation |
Updates the configuration for a knowledge base that has been associated with an agent¶
Description¶
Updates the configuration for a knowledge base that has been associated with an agent.
Usage¶
bedrockagent_update_agent_knowledge_base(agentId, agentVersion,
description, knowledgeBaseId, knowledgeBaseState)
Arguments¶
agentId |
[required] The unique identifier of the agent associated with the knowledge base that you want to update. |
agentVersion |
[required] The version of the agent associated with the knowledge base that you want to update. |
description |
Specifies a new description for the knowledge base associated with an agent. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base that has been associated with an agent. |
knowledgeBaseState |
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request. |
Value¶
A list with the following syntax:
list(
agentKnowledgeBase = list(
agentId = "string",
agentVersion = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
description = "string",
knowledgeBaseId = "string",
knowledgeBaseState = "ENABLED"|"DISABLED",
updatedAt = as.POSIXct(
"2015-01-01"
)
)
)
Request syntax¶
svc$update_agent_knowledge_base(
agentId = "string",
agentVersion = "string",
description = "string",
knowledgeBaseId = "string",
knowledgeBaseState = "ENABLED"|"DISABLED"
)