Values.PromptFlowNodeInlineConfigurationSourceContains configurations for a prompt defined inline in the node.
type nonrec t = {templateType : PromptTemplateType.t;The type of prompt template.
*)templateConfiguration : PromptTemplateConfiguration.t;Contains a prompt and variables in the prompt that can be replaced with values at runtime.
*)modelId : FlowPromptModelIdentifier.t;The unique identifier of the model or inference profile to run inference with.
*)inferenceConfiguration : PromptInferenceConfiguration.t option;Contains inference configurations for the prompt.
*)additionalModelRequestFields : Document.t option;Additional fields to be included in the model request for the Prompt node.
*)}val make :
?inferenceConfiguration:??? ->
?additionalModelRequestFields:??? ->
templateType:PromptTemplateType.t ->
templateConfiguration:PromptTemplateConfiguration.t ->
modelId:FlowPromptModelIdentifier.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of FlowPromptModelIdentifier.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Float of Temperature.t
| `Integer of MaximumLength.t
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of String_.t
| `Structure of
(string * [> `Enum of string ]) list ])
list ]
list
| `String of PromptInputVariableName.t
| `Structure of
(string * [> `Enum of string ]) list ])
list ]
list
| `String of TextPrompt.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `String of ToolName.t
| `Structure of
(string
* [> `Structure of 'a list ])
list ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string * [> `String of ToolName.t ])
list ])
list ])
list ])
list ])
list ])
list ]