ExOpenAI.Files (ex_openai.ex v0.2.0) View Source

Link to this section Summary

Functions

Endpoint /files/{file_id}/content

Link to this section Types

Specs

download_file_opts() :: []

Link to this section Functions

Link to this function

download_file(file_id, opts \\ [])

View Source

Specs

download_file(String.t(), [[]]) :: {:ok, String.t()} | {:error, any()}

Endpoint /files/{file_id}/content

Returns the contents of the specified file


Required Arguments:

  • file_id

Optional Arguments: