Skip to content

/AWS1/CL_BDKVECTORSRCHRERNKC00

Configuration for reranking vector search results to improve relevance. Reranking applies additional relevance models to reorder the initial vector search results based on more sophisticated criteria.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/BDKVECTORSRCHRERNKCONF00 /AWS1/BDKVECTORSRCHRERNKCONF00

The type of reranking to apply to vector search results. Currently, the only supported value is BEDROCK, which uses Amazon Bedrock foundation models for reranking.

Optional arguments:

io_bedrockrerankingconf TYPE REF TO /AWS1/CL_BDKVECTORSRCHBDRRER00 /AWS1/CL_BDKVECTORSRCHBDRRER00

Configuration for using Amazon Bedrock foundation models to rerank search results. This is required when the reranking type is set to BEDROCK.


Queryable Attributes

type

The type of reranking to apply to vector search results. Currently, the only supported value is BEDROCK, which uses Amazon Bedrock foundation models for reranking.

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

bedrockRerankingConfiguration

Configuration for using Amazon Bedrock foundation models to rerank search results. This is required when the reranking type is set to BEDROCK.

Accessible with the following methods

Method Description
GET_BEDROCKRERANKINGCONF() Getter for BEDROCKRERANKINGCONF