View Source ExOpenAI.Components.InputTextContentParam (ex_openai.ex v2.0.0-beta2)

A text input to the model.

Fields

  • :text - required - String.t()
    The text input to the model.
    Constraints: maxLength: 10485760

  • :type - required - :input_text
    The type of the input item. Always input_text.
    Allowed values: "input_text"
    Default: "input_text"

Summary

Types

@type t() :: %ExOpenAI.Components.InputTextContentParam{
  text: String.t(),
  type: :input_text
}