Skip to content

/AWS1/CL_BDA=>ASSOCIATEAGENTKNOWLEDGEBASE()

About AssociateAgentKnowledgeBase

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.

Method Signature

IMPORTING

Required arguments:

IV_AGENTID TYPE /AWS1/BDAID /AWS1/BDAID

The unique identifier of the agent with which you want to associate the knowledge base.

IV_AGENTVERSION TYPE /AWS1/BDADRAFTVERSION /AWS1/BDADRAFTVERSION

The version of the agent with which you want to associate the knowledge base.

IV_KNOWLEDGEBASEID TYPE /AWS1/BDAID /AWS1/BDAID

The unique identifier of the knowledge base to associate with the agent.

IV_DESCRIPTION TYPE /AWS1/BDADESCRIPTION /AWS1/BDADESCRIPTION

A description of what the agent should use the knowledge base for.

Optional arguments:

IV_KNOWLEDGEBASESTATE TYPE /AWS1/BDAKNOWLEDGEBASESTATE /AWS1/BDAKNOWLEDGEBASESTATE

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BDAASCAGENTKNOWLEDG01 /AWS1/CL_BDAASCAGENTKNOWLEDG01