Module Values.KnowledgeBaseVectorSearchConfigurationSource

The configuration details for returning the results from the knowledge base vector search.

Sourcetype nonrec t = {
  1. numberOfResults : KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger.t option;
    (*

    The number of text chunks to retrieve; the number of results to return.

    *)
  2. overrideSearchType : SearchType.t option;
    (*

    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.

    *)
  3. filter : RetrievalFilter.t option;
    (*

    Specifies the filters to use on the metadata fields in the knowledge base data sources before returning results.

    *)
  4. implicitFilterConfiguration : ImplicitFilterConfiguration.t option;
    (*

    Configuration for implicit filtering in Knowledge Base vector searches. This allows the system to automatically apply filters based on the query context without requiring explicit filter expressions.

    *)
  5. rerankingConfiguration : VectorSearchRerankingConfiguration.t option;
    (*

    Configuration for reranking search results in Knowledge Base vector searches. Reranking improves search relevance by reordering initial vector search results using more sophisticated relevance models.

    *)
}
Sourceval make : ?numberOfResults:??? -> ?overrideSearchType:??? -> ?filter:??? -> ?implicitFilterConfiguration:??? -> ?rerankingConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t