/AWS1/CL_LM2BEDROCKKNOWLEDGE00¶
Contains details about the configuration of a Amazon Bedrock knowledge base.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_bedrockknowledgebasearn TYPE /AWS1/LM2BEDROCKKNOWLEDGEBAS00 /AWS1/LM2BEDROCKKNOWLEDGEBAS00¶
The base ARN of the knowledge base used.
Optional arguments:¶
iv_exactresponse TYPE /AWS1/LM2BOOLEAN /AWS1/LM2BOOLEAN¶
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
io_exactresponsefields TYPE REF TO /AWS1/CL_LM2BEDROCKKNOWLEDGE01 /AWS1/CL_LM2BEDROCKKNOWLEDGE01¶
Contains the names of the fields used for an exact response to the user.
Queryable Attributes¶
bedrockKnowledgeBaseArn¶
The base ARN of the knowledge base used.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BEDROCKKNOWLEDGEBASEARN() |
Getter for BEDROCKKNOWLEDGEBASEARN, with configurable defaul |
ASK_BEDROCKKNOWLEDGEBASEARN() |
Getter for BEDROCKKNOWLEDGEBASEARN w/ exceptions if field ha |
HAS_BEDROCKKNOWLEDGEBASEARN() |
Determine if BEDROCKKNOWLEDGEBASEARN has a value |
exactResponse¶
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXACTRESPONSE() |
Getter for EXACTRESPONSE |
exactResponseFields¶
Contains the names of the fields used for an exact response to the user.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXACTRESPONSEFIELDS() |
Getter for EXACTRESPONSEFIELDS |