Module Values.PromptTemplateSource

The template for the prompt that's sent to the model for response generation.

Sourcetype nonrec t = {
  1. textPromptTemplate : TextPromptTemplate.t option;
    (*

    The template for the prompt that's sent to the model for response generation. You can include prompt placeholders, which become replaced before the prompt is sent to the model to provide instructions and context to the model. In addition, you can include XML tags to delineate meaningful sections of the prompt template. For more information, see Knowledge base prompt template and Use XML tags with Anthropic Claude models.

    *)
}
Sourceval make : ?textPromptTemplate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of TextPromptTemplate.t ]) 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