Module Values.ExternalSourcesRetrieveAndGenerateConfigurationSource

The configuration of the external source wrapper object in the retrieveAndGenerate function.

Sourcetype nonrec t = {
  1. modelArn : BedrockModelArn.t;
    (*

    The Amazon Resource Name (ARN) of the foundation model or inference profile used to generate responses.

    *)
  2. sources : ExternalSources.t;
    (*

    The document for the external source wrapper object in the retrieveAndGenerate function.

    *)
  3. generationConfiguration : ExternalSourcesGenerationConfiguration.t option;
    (*

    Contains configurations details for response generation based on retrieved text chunks.

    *)
}
Sourceval context_ : string
Sourceval make : ?generationConfiguration:??? -> modelArn:BedrockModelArn.t -> sources:ExternalSources.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Blob of ByteContentBlob.t | `String of KBS3Uri.t ]) list ]) list ] list | `String of BedrockModelArn.t | `Structure of (string * [> `Map of ([> `String of AdditionalModelRequestFieldsKey.t ] * [> `Structure of 'a list ]) list | `Structure of (string * [> `String of TextPromptTemplate.t | `Structure of (string * [> `Float of Temperature.t | `Integer of MaxTokens.t | `List of [> `String of RAGStopSequencesMemberString.t ] list ]) 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