Module Values.PromptTemplateConfigurationSource

Contains the message for a prompt. For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock.

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

    Contains configurations for the text in a message for a prompt.

    *)
  2. chat : ChatPromptTemplateConfiguration.t option;
    (*

    Contains configurations to use the prompt in a conversational format.

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