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

MessageDeltaContentTextAnnotationsFilePathObject: title: File path type: object description: A URL for the file that's generated when the assistant used the code_interpreter tool to generate a file. properties:

  index:
      type: integer
      description: The index of the annotation in the text content part.
  type:
      description: Always `file_path`.
      type: string
      enum: ["file_path"]
  text:
      description: The text in the message content that needs to be replaced.
      type: string
  file_path:
      type: object
      properties:
          file_id:
              description: The ID of the file that was generated.
              type: string
  start_index:
      type: integer
      minimum: 0
  end_index:
      type: integer
      minimum: 0

required:

  - index
  - type

Summary

Types

@type t() :: %OpenAi.Message.Delta.Content.Text.Annotations.FilePath{
  end_index: integer(),
  file_path: OpenAi.Message.Delta.Content.Text.Annotations.FilePathFilePath.t(),
  index: integer(),
  start_index: integer(),
  text: String.t(),
  type: String.t()
}