API Reference ex_openai.ex v1.0.4

Modules

Auto-generated SDK for OpenAI APIs See https://platform.openai.com/docs/api-reference/introduction for further info on REST endpoints Make sure to refer to the README on Github to see what is implemented and what isn't yet

Modules for interacting with the answers group of OpenAI APIs

Modules for interacting with the audio group of OpenAI APIs

Modules for interacting with the chat group of OpenAI APIs

Modules for interacting with the classifications group of OpenAI APIs

Modules for interacting with the completions group of OpenAI APIs

Schema representing a ChatCompletionRequestMessage within the OpenAI API

Schema representing a ChatCompletionResponseMessage within the OpenAI API

Schema representing a CreateAnswerRequest within the OpenAI API

Schema representing a CreateAnswerResponse within the OpenAI API

Schema representing a CreateChatCompletionRequest within the OpenAI API

Schema representing a CreateChatCompletionResponse within the OpenAI API

Schema representing a CreateClassificationRequest within the OpenAI API

Schema representing a CreateClassificationResponse within the OpenAI API

Schema representing a CreateCompletionRequest within the OpenAI API

Schema representing a CreateCompletionResponse within the OpenAI API

Schema representing a CreateEditRequest within the OpenAI API

Schema representing a CreateEditResponse within the OpenAI API

Schema representing a CreateEmbeddingRequest within the OpenAI API

Schema representing a CreateEmbeddingResponse within the OpenAI API

Schema representing a CreateFileRequest within the OpenAI API

Schema representing a CreateFineTuneRequest within the OpenAI API

Schema representing a CreateImageEditRequest within the OpenAI API

Schema representing a CreateImageRequest within the OpenAI API

Schema representing a CreateImageVariationRequest within the OpenAI API

Schema representing a CreateModerationRequest within the OpenAI API

Schema representing a CreateModerationResponse within the OpenAI API

Schema representing a CreateSearchRequest within the OpenAI API

Schema representing a CreateSearchResponse within the OpenAI API

Schema representing a CreateTranscriptionRequest within the OpenAI API

Schema representing a CreateTranscriptionResponse within the OpenAI API

Schema representing a CreateTranslationRequest within the OpenAI API

Schema representing a CreateTranslationResponse within the OpenAI API

Schema representing a DeleteFileResponse within the OpenAI API

Schema representing a DeleteModelResponse within the OpenAI API

Schema representing a Engine within the OpenAI API

Schema representing a FineTune within the OpenAI API

Schema representing a FineTuneEvent within the OpenAI API

Schema representing a ImagesResponse within the OpenAI API

Schema representing a ListEnginesResponse within the OpenAI API

Schema representing a ListFilesResponse within the OpenAI API

Schema representing a ListFineTuneEventsResponse within the OpenAI API

Schema representing a ListFineTunesResponse within the OpenAI API

Schema representing a ListModelsResponse within the OpenAI API

Replacement Component for Model API responses This module was not part of the api documentation and got probably forgotten, so it has been manually provided by this package Rpresents API responses such as

Schema representing a OpenAIFile within the OpenAI API

Reads configuration on application start, parses all environment variables (if any) and caches the final config in memory to avoid parsing on each read afterwards.

Modules for interacting with the edits group of OpenAI APIs

Modules for interacting with the embeddings group of OpenAI APIs

Modules for interacting with the engines group of OpenAI APIs

Modules for interacting with the files group of OpenAI APIs

Modules for interacting with the fine-tunes group of OpenAI APIs

Modules for interacting with the images group of OpenAI APIs

Modules for interacting with the models group of OpenAI APIs

Modules for interacting with the moderations group of OpenAI APIs

Modules for interacting with the searches group of OpenAI APIs

Mix Tasks

Updates OpenAI API documentation files