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

A text output from the model.

Fields

  • :annotations - required - [ExOpenAI.Components.Annotation.t()]
    The annotations of the text output.

  • :logprobs - required - [ExOpenAI.Components.LogProb.t()]

  • :text - required - String.t()
    The text output from the model.

  • :type - required - :output_text
    The type of the output text. Always output_text.
    Allowed values: "output_text"
    Default: "output_text"

Summary

Types

@type t() :: %ExOpenAI.Components.OutputTextContent{
  annotations: [ExOpenAI.Components.Annotation.t()],
  logprobs: [ExOpenAI.Components.LogProb.t()],
  text: String.t(),
  type: :output_text
}