Module Values.TextPromptTemplateConfigurationSource

Contains configurations for a text prompt template. To include a variable, enclose a word in double curly braces as in {{variable}}.

Sourcetype nonrec t = {
  1. text : TextPrompt.t;
    (*

    The message for the prompt.

    *)
  2. cachePoint : CachePointBlock.t option;
    (*

    A cache checkpoint within a template configuration.

    *)
  3. inputVariables : PromptInputVariablesList.t option;
    (*

    An array of the variables in the prompt template.

    *)
}
Sourceval context_ : string
Sourceval make : ?cachePoint:??? -> ?inputVariables:??? -> text:TextPrompt.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of PromptInputVariableName.t ]) list ] list | `String of TextPrompt.t | `Structure of (string * [> `Enum of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t