View Source API Reference ex_openai.ex v1.3.1

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 audio group of OpenAI APIs

Modules for interacting with the chat group of OpenAI APIs

Modules for interacting with the completions group of OpenAI APIs

Schema representing a ChatCompletionFunctionCallOption within the OpenAI API

Schema representing a ChatCompletionFunctionParameters within the OpenAI API

Schema representing a ChatCompletionFunctions within the OpenAI API

Schema representing a ChatCompletionRequestMessage within the OpenAI API

Schema representing a ChatCompletionResponseMessage within the OpenAI API

Schema representing a ChatCompletionStreamResponseDelta within the OpenAI API

Schema representing a CompletionUsage within the OpenAI API

Schema representing a CreateChatCompletionRequest within the OpenAI API

Schema representing a CreateChatCompletionResponse within the OpenAI API

Schema representing a CreateChatCompletionStreamResponse 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 CreateFineTuningJobRequest 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 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 Embedding within the OpenAI API

Schema representing a Error within the OpenAI API

Schema representing a ErrorResponse within the OpenAI API

Schema representing a FineTune within the OpenAI API

Schema representing a FineTuneEvent within the OpenAI API

Schema representing a FineTuningEvent within the OpenAI API

Schema representing a FineTuningJob within the OpenAI API

Schema representing a FineTuningJobEvent within the OpenAI API

Schema representing a Image within the OpenAI API

Schema representing a ImagesResponse 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 ListFineTuningJobEventsResponse within the OpenAI API

Schema representing a ListModelsResponse within the OpenAI API

Schema representing a ListPaginatedFineTuningJobsResponse 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 files group of OpenAI APIs

Modules for interacting with the fine_tunes group of OpenAI APIs

Modules for interacting with the fine_tuning 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

Mix Tasks

Updates OpenAI API documentation files