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

A text input to the model.

Fields

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

  • :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.InputTextContent{
  text: String.t(),
  type: :input_text
}