Skip to content

/AWS1/CL_BDZAGNTCRETRVCITATION

A citation mapping a span of the generated answer to supporting results.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_startindex TYPE /AWS1/BDZINTEGER /AWS1/BDZINTEGER

Character offset start in the answer text.

iv_endindex TYPE /AWS1/BDZINTEGER /AWS1/BDZINTEGER

Character offset end (exclusive) in the answer text.

it_references TYPE /AWS1/CL_BDZAGTCRTVCITATIONREF=>TT_AGENTICRETRVCITATIONREFLIST TT_AGENTICRETRVCITATIONREFLIST

References to results that support this span.


Queryable Attributes

startIndex

Character offset start in the answer text.

Accessible with the following methods

Method Description
GET_STARTINDEX() Getter for STARTINDEX, with configurable default
ASK_STARTINDEX() Getter for STARTINDEX w/ exceptions if field has no value
HAS_STARTINDEX() Determine if STARTINDEX has a value

endIndex

Character offset end (exclusive) in the answer text.

Accessible with the following methods

Method Description
GET_ENDINDEX() Getter for ENDINDEX, with configurable default
ASK_ENDINDEX() Getter for ENDINDEX w/ exceptions if field has no value
HAS_ENDINDEX() Determine if ENDINDEX has a value

references

References to results that support this span.

Accessible with the following methods

Method Description
GET_REFERENCES() Getter for REFERENCES, with configurable default
ASK_REFERENCES() Getter for REFERENCES w/ exceptions if field has no value
HAS_REFERENCES() Determine if REFERENCES has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_AGENTICRETRIEVECITATIONLIST

TYPES TT_AGENTICRETRIEVECITATIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDZAGNTCRETRVCITATION WITH DEFAULT KEY
.