Module Values.ContextEnrichmentConfigurationSource

Context enrichment configuration is used to provide additional context to the RAG application.

Sourcetype nonrec t = {
  1. type_ : ContextEnrichmentType.t;
    (*

    The method used for context enrichment. It must be Amazon Bedrock foundation models.

    *)
  2. bedrockFoundationModelConfiguration : BedrockFoundationModelContextEnrichmentConfiguration.t option;
    (*

    The configuration of the Amazon Bedrock foundation model used for context enrichment.

    *)
}
Sourceval context_ : string
Sourceval make : ?bedrockFoundationModelConfiguration:??? -> type_:ContextEnrichmentType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of BedrockModelArn.t | `Structure of (string * [> `Enum of string ]) 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