KnowledgeBaseVectorSearchConfiguration

Configurations for how to perform the search query and return results. For more information, see Query configurations.

This data type is used in the following API operations:

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies the filters to use on the metadata in the knowledge base data sources before returning results. For more information, see Query configurations.

Link copied to clipboard

Settings for implicit filtering.

Link copied to clipboard

The number of source chunks to retrieve.

Link copied to clipboard

By default, Amazon Bedrock decides a search strategy for you. If you're using an Amazon OpenSearch Serverless vector store that contains a filterable text field, you can specify whether to query the knowledge base with a HYBRID search using both vector embeddings and raw text, or SEMANTIC search using only vector embeddings. For other vector store configurations, only SEMANTIC search is available. For more information, see Test a knowledge base.

Link copied to clipboard

Contains configurations for reranking the retrieved results. For more information, see Improve the relevance of query responses with a reranker model.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String