Values.ChatPromptTemplateConfigurationSourceContains configurations to use a prompt in a conversational format. For more information, see Create a prompt using Prompt management.
type nonrec t = {messages : Messages.t;Contains messages in the chat for the prompt.
*)system : SystemContentBlocks.t option;Contains system prompts to provide context to the model or to describe how it should behave.
*)inputVariables : PromptInputVariablesList.t option;An array of the variables in the prompt template.
*)toolConfiguration : ToolConfiguration.t option;Configuration information for the tools that the model can use when generating a response.
*)}val make :
?system:??? ->
?inputVariables:??? ->
?toolConfiguration:??? ->
messages:Messages.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `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 NonEmptyString.t
| `Structure of (string * [> `Enum of string ]) list ])
list ]
list
| `Structure 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 ]