Skip to content

/AWS1/CL_BDZKNOWLEDGEBASEQUERY

Contains the query made to the knowledge base.

This data type is used in the following API operations:

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_type TYPE /AWS1/BDZKNOWLEDGEBASEQUERYT00 /AWS1/BDZKNOWLEDGEBASEQUERYT00

The type of query being performed.

iv_text TYPE /AWS1/BDZSTRING /AWS1/BDZSTRING

The text of the query made to the knowledge base.

io_image TYPE REF TO /AWS1/CL_BDZINPUTIMAGE /AWS1/CL_BDZINPUTIMAGE

An image to include in the knowledge base query for multimodal retrieval.


Queryable Attributes

type

The type of query being performed.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

text

The text of the query made to the knowledge base.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

image

An image to include in the knowledge base query for multimodal retrieval.

Accessible with the following methods

Method Description
GET_IMAGE() Getter for IMAGE