Module Values.FieldForRerankingSource

Specifies a field to be used during the reranking process in a Knowledge Base vector search. This structure identifies metadata fields that should be considered when reordering search results to improve relevance.

Sourcetype nonrec t = {
  1. fieldName : FieldForRerankingFieldNameString.t;
    (*

    The name of the metadata field to be used during the reranking process.

    *)
}
Sourceval context_ : string
Sourceval make : fieldName:FieldForRerankingFieldNameString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of FieldForRerankingFieldNameString.t ]) 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