Values.GenerationConfigurationSourceThe configuration details for response generation based on retrieved text chunks.
type nonrec t = {promptTemplate : PromptTemplate.t option;Contains the template for the prompt that's sent to the model for response generation.
*)guardrailConfiguration : GuardrailConfiguration.t option;Contains configuration details for the guardrail.
*)kbInferenceConfig : KbInferenceConfig.t option;Contains configuration details for inference for knowledge base retrieval and response generation.
*)additionalModelRequestFields : AdditionalModelRequestFields.t option;Additional model parameters and corresponding values not included in the textInferenceConfig structure for a knowledge base. This allows you to provide custom model parameters specific to the language model being used.
*)}val to_value :
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 ]