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

A path to a file.

Fields

  • :file_id - required - String.t()
    The ID of the file.

  • :index - required - integer()
    The index of the file in the list of files.

  • :type - required - :file_path
    The type of the file path. Always file_path.
    Allowed values: "file_path"

Summary

Types

@type t() :: %ExOpenAI.Components.FilePath{
  file_id: String.t(),
  index: integer(),
  type: :file_path
}