Module Values.NativeIndexConfigurationSource

Configuration information for an Amazon Q Business index.

Sourcetype nonrec t = {
  1. indexId : IndexId.t;
    (*

    The identifier for the Amazon Q Business index.

    *)
  2. version : Long.t option;
    (*

    A read-only field that specifies the version of the NativeIndexConfiguration. Amazon Q Business introduces enhanced document retrieval capabilities in version 2 of NativeIndexConfiguration, focusing on streamlined metadata boosting that prioritizes recency and source relevance to deliver more accurate responses to your queries. Version 2 has the following differences from version 1: Version 2 supports a single Date field (created_at OR last_updated_at) for recency boosting Version 2 supports a single String field with an ordered list of up to 5 values Version 2 introduces number-based boost levels (ONE, TWO) alongside the text-based levels Version 2 allows specifying prioritization between Date and String fields Version 2 maintains backward compatibility with existing configurations

    *)
  3. boostingOverride : DocumentAttributeBoostingOverrideMap.t option;
    (*

    Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.

    *)
}
Sourceval context_ : string
Sourceval make : ?version:??? -> ?boostingOverride:??? -> indexId:IndexId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Long.t | `Map of ([> `String of DocumentAttributeKey.t ] * [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Long of BoostingDurationInSeconds.t | `Map of ([> `String of String_.t ] * [> `Enum of string ]) list ]) list ]) list ]) list | `String of IndexId.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