View Source OpenAi.Message.Delta.Content.Text (OpenAI REST API Client v0.4.4)

MessageDeltaContentTextObject: title: Text type: object description: The text content that is part of a message. properties:

  index:
      type: integer
      description: The index of the content part in the message.
  type:
      description: Always `text`.
      type: string
      enum: ["text"]
  text:
      type: object
      properties:
          value:
              description: The data that makes up the text.
              type: string
          annotations:
              type: array
              items:
                  oneOf:
                      - $ref: "#/components/schemas/MessageDeltaContentTextAnnotationsFileCitationObject"
                      - $ref: "#/components/schemas/MessageDeltaContentTextAnnotationsFilePathObject"
                  x-oaiExpandable: true

required:

  - index
  - type

Summary

Types

@type t() :: %OpenAi.Message.Delta.Content.Text{
  index: integer(),
  text: OpenAi.Message.Delta.Content.Text.Text.t(),
  type: String.t()
}