Values.ExternalSourcesRetrieveAndGenerateConfigurationSourceThe configuration of the external source wrapper object in the retrieveAndGenerate function.
type nonrec t = {modelArn : BedrockModelArn.t;The Amazon Resource Name (ARN) of the foundation model or inference profile used to generate responses.
*)sources : ExternalSources.t;The document for the external source wrapper object in the retrieveAndGenerate function.
*)generationConfiguration : ExternalSourcesGenerationConfiguration.t option;Contains configurations details for response generation based on retrieved text chunks.
*)}val make :
?generationConfiguration:??? ->
modelArn:BedrockModelArn.t ->
sources:ExternalSources.t ->
unit ->
tval 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 ]