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

The output of a code interpreter tool call that is a file.

Fields

  • :files - required - [{:%{}, [], [{{:required, [], [:file_id]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}, {{:required, [], [:mime_type]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}]}]

  • :type - required - :files
    The type of the code interpreter file output. Always files.
    Allowed values: "files"

Summary

Types

@type t() :: %ExOpenAI.Components.CodeInterpreterFileOutput{
  files: [%{file_id: String.t(), mime_type: String.t()}],
  type: :files
}