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

Text block that a user contributed to the thread.

Fields

  • :text - required - String.t()
    Plain-text content supplied by the user.

  • :type - required - :input_text
    Type discriminator that is always input_text.
    Allowed values: "input_text"
    Default: "input_text"

Summary

Types

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