Skip to content

/AWS1/CL_BDZKNOWBASERETRCONF

Configuration for retrieving from a Bedrock knowledge base.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_knowledgebaseid TYPE /AWS1/BDZKNOWLEDGEBASEID /AWS1/BDZKNOWLEDGEBASEID

The unique identifier of the knowledge base.

Optional arguments:

io_retrievaloverrides TYPE REF TO /AWS1/CL_BDZRETRIEVALOVERRIDES /AWS1/CL_BDZRETRIEVALOVERRIDES

Overrides for retrieval behavior such as filters and result limits.


Queryable Attributes

knowledgeBaseId

The unique identifier of the knowledge base.

Accessible with the following methods

Method Description
GET_KNOWLEDGEBASEID() Getter for KNOWLEDGEBASEID, with configurable default
ASK_KNOWLEDGEBASEID() Getter for KNOWLEDGEBASEID w/ exceptions if field has no val
HAS_KNOWLEDGEBASEID() Determine if KNOWLEDGEBASEID has a value

retrievalOverrides

Overrides for retrieval behavior such as filters and result limits.

Accessible with the following methods

Method Description
GET_RETRIEVALOVERRIDES() Getter for RETRIEVALOVERRIDES