Values.ExternalSourcesGenerationConfigurationSourceThe response generation configuration of the external source wrapper object.
type nonrec t = {promptTemplate : PromptTemplate.t option;Contains the template for the prompt for the external source wrapper object.
*)guardrailConfiguration : GuardrailConfiguration.t option;Configuration details for the guardrail.
*)kbInferenceConfig : KbInferenceConfig.t option;Configuration details for inference when using RetrieveAndGenerate to generate responses while using an external source.
*)additionalModelRequestFields : AdditionalModelRequestFields.t option;Additional model parameters and their corresponding values not included in the text inference configuration for an external source. Takes in 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 ]