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

The text content that is part of a message.

Fields

  • :text - required - {:%{}, [], [{{:required, [], [:annotations]}, {:list, [], [{:|, [], [{{:., [], [ExOpenAI.Components.MessageContentTextAnnotationsFileCitationObject, :t]}, [], []}, {{:., [], [ExOpenAI.Components.MessageContentTextAnnotationsFilePathObject, :t]}, [], []}]}]}}, {{:required, [], [:value]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}]}

  • :type - required - :text
    Always text.
    Allowed values: "text"

Summary

Types

@type t() :: %ExOpenAI.Components.MessageContentTextObject{
  text: %{
    annotations: [
      ExOpenAI.Components.MessageContentTextAnnotationsFileCitationObject.t()
      | ExOpenAI.Components.MessageContentTextAnnotationsFilePathObject.t()
    ],
    value: String.t()
  },
  type: :text
}