Values.RetrieveAndGenerateConfigurationSourceContains configuration details for a knowledge base retrieval and response generation.
type nonrec t = {type_ : RetrieveAndGenerateType.t;The type of resource that contains your data for retrieving information and generating responses. If you choose to use EXTERNAL_SOURCES, then currently only Claude 3 Sonnet models for knowledge bases are supported.
*)knowledgeBaseConfiguration : KnowledgeBaseRetrieveAndGenerateConfiguration.t
option;Contains configuration details for the knowledge base retrieval and response generation.
*)externalSourcesConfiguration : ExternalSourcesRetrieveAndGenerateConfiguration.t
option;The configuration for the external source wrapper object in the retrieveAndGenerate function.
*)}val make :
?knowledgeBaseConfiguration:??? ->
?externalSourcesConfiguration:??? ->
type_:RetrieveAndGenerateType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `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 KnowledgeBaseId.t
| `Structure of
(string
* [> `Map of
([> `String of AdditionalModelRequestFieldsKey.t ]
* [> `Structure of 'a list ])
list
| `Structure of (string * Awso.Botodata.value) list ])
list ])
list ])
list ]