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

Annotation that references an uploaded file.

Fields

  • :source - required - ExOpenAI.Components.FileAnnotationSource.t()
    File attachment referenced by the annotation.

  • :type - required - :file
    Type discriminator that is always file for this annotation.
    Allowed values: "file"
    Default: "file"

Summary

Types

@type t() :: %ExOpenAI.Components.FileAnnotation{
  source: ExOpenAI.Components.FileAnnotationSource.t(),
  type: :file
}