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

Learn about text inputs.

Fields

  • :text - required - String.t()
    The text content.

  • :type - required - :text
    The type of the content part.
    Allowed values: "text"

Summary

Types

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