Module Values.PromptFlowNodeInlineConfigurationSource

Contains configurations for a prompt defined inline in the node.

Sourcetype nonrec t = {
  1. templateType : PromptTemplateType.t;
    (*

    The type of prompt template.

    *)
  2. templateConfiguration : PromptTemplateConfiguration.t;
    (*

    Contains a prompt and variables in the prompt that can be replaced with values at runtime.

    *)
  3. modelId : FlowPromptModelIdentifier.t;
    (*

    The unique identifier of the model or inference profile to run inference with.

    *)
  4. inferenceConfiguration : PromptInferenceConfiguration.t option;
    (*

    Contains inference configurations for the prompt.

    *)
  5. additionalModelRequestFields : Document.t option;
    (*

    Additional fields to be included in the model request for the Prompt node.

    *)
}
Sourceval context_ : string
Sourceval make : ?inferenceConfiguration:??? -> ?additionalModelRequestFields:??? -> templateType:PromptTemplateType.t -> templateConfiguration:PromptTemplateConfiguration.t -> modelId:FlowPromptModelIdentifier.t -> unit -> t
Sourceval 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 ]
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