Values.KnowledgeBaseRetrieveAndGenerateConfigurationSourceContains configuration details for retrieving information from a knowledge base and generating responses.
type nonrec t = {knowledgeBaseId : KnowledgeBaseId.t;The unique identifier of the knowledge base.
*)modelArn : BedrockModelArn.t;The Amazon Resource Name (ARN) of the foundation model or inference profile used to generate responses.
*)retrievalConfiguration : KnowledgeBaseRetrievalConfiguration.t option;Contains configuration details for retrieving text chunks.
*)generationConfiguration : GenerationConfiguration.t option;Contains configurations details for response generation based on retrieved text chunks.
*)orchestrationConfiguration : OrchestrationConfiguration.t option;Contains configuration details for the model to process the prompt prior to retrieval and response generation.
*)}val make :
?retrievalConfiguration:??? ->
?generationConfiguration:??? ->
?orchestrationConfiguration:??? ->
knowledgeBaseId:KnowledgeBaseId.t ->
modelArn:BedrockModelArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `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 ]