/AWS1/CL_BDZRETRIEVERESPONSE¶
RetrieveResponse
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
it_retrievalresults
TYPE /AWS1/CL_BDZKNOWLEDGEBASERET02=>TT_KNOWLEDGEBASERETRIEVALRSLTS
TT_KNOWLEDGEBASERETRIEVALRSLTS
¶
A list of results from querying the knowledge base.
Optional arguments:¶
iv_guardrailaction
TYPE /AWS1/BDZGUADRAILACTION
/AWS1/BDZGUADRAILACTION
¶
Specifies if there is a guardrail intervention in the response.
iv_nexttoken
TYPE /AWS1/BDZNEXTTOKEN
/AWS1/BDZNEXTTOKEN
¶
If there are more results than can fit in the response, the response returns a
nextToken
. Use this token in thenextToken
field of another request to retrieve the next batch of results.
Queryable Attributes¶
retrievalResults¶
A list of results from querying the knowledge base.
Accessible with the following methods¶
Method | Description |
---|---|
GET_RETRIEVALRESULTS() |
Getter for RETRIEVALRESULTS, with configurable default |
ASK_RETRIEVALRESULTS() |
Getter for RETRIEVALRESULTS w/ exceptions if field has no va |
HAS_RETRIEVALRESULTS() |
Determine if RETRIEVALRESULTS has a value |
guardrailAction¶
Specifies if there is a guardrail intervention in the response.
Accessible with the following methods¶
Method | Description |
---|---|
GET_GUARDRAILACTION() |
Getter for GUARDRAILACTION, with configurable default |
ASK_GUARDRAILACTION() |
Getter for GUARDRAILACTION w/ exceptions if field has no val |
HAS_GUARDRAILACTION() |
Determine if GUARDRAILACTION has a value |
nextToken¶
If there are more results than can fit in the response, the response returns a
nextToken
. Use this token in thenextToken
field of another request to retrieve the next batch of results.
Accessible with the following methods¶
Method | Description |
---|---|
GET_NEXTTOKEN() |
Getter for NEXTTOKEN, with configurable default |
ASK_NEXTTOKEN() |
Getter for NEXTTOKEN w/ exceptions if field has no value |
HAS_NEXTTOKEN() |
Determine if NEXTTOKEN has a value |