Module Values.MetadataConfigurationForRerankingSource

Configuration for how metadata should be used during the reranking process in Knowledge Base vector searches. This determines which metadata fields are included or excluded when reordering search results.

Sourcetype nonrec t = {
  1. selectionMode : RerankingMetadataSelectionMode.t;
    (*

    The mode for selecting which metadata fields to include in the reranking process. Valid values are ALL (use all available metadata fields) or SELECTIVE (use only specified fields).

    *)
  2. selectiveModeConfiguration : RerankingMetadataSelectiveModeConfiguration.t option;
    (*

    Configuration for selective mode, which allows you to explicitly include or exclude specific metadata fields during reranking. This is only used when selectionMode is set to SELECTIVE.

    *)
}
Sourceval context_ : string
Sourceval make : ?selectiveModeConfiguration:??? -> selectionMode:RerankingMetadataSelectionMode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `List of [> `Structure of (string * [> `String of FieldForRerankingFieldNameString.t ]) list ] list ]) list ]) 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