View Source API Reference ex_openai.ex v1.4.0
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 assistants
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 completions
group of OpenAI APIs
Schema representing a AssistantFileObject within the OpenAI API
Schema representing a AssistantObject within the OpenAI API
Schema representing a AssistantToolsCode within the OpenAI API
Schema representing a AssistantToolsFunction within the OpenAI API
Schema representing a AssistantToolsRetrieval within the OpenAI API
Schema representing a ChatCompletionFunctionCallOption within the OpenAI API
Schema representing a ChatCompletionFunctions within the OpenAI API
Schema representing a ChatCompletionMessageToolCall within the OpenAI API
Schema representing a ChatCompletionMessageToolCallChunk within the OpenAI API
Schema representing a ChatCompletionMessageToolCalls within the OpenAI API
Schema representing a ChatCompletionNamedToolChoice within the OpenAI API
Schema representing a ChatCompletionRequestAssistantMessage within the OpenAI API
Schema representing a ChatCompletionRequestFunctionMessage within the OpenAI API
Schema representing a ChatCompletionRequestMessage within the OpenAI API
Schema representing a ChatCompletionRequestMessageContentPart within the OpenAI API
Schema representing a ChatCompletionRequestMessageContentPartImage within the OpenAI API
Schema representing a ChatCompletionRequestMessageContentPartText within the OpenAI API
Schema representing a ChatCompletionRequestSystemMessage within the OpenAI API
Schema representing a ChatCompletionRequestToolMessage within the OpenAI API
Schema representing a ChatCompletionRequestUserMessage within the OpenAI API
Schema representing a ChatCompletionResponseMessage within the OpenAI API
Schema representing a ChatCompletionRole within the OpenAI API
Schema representing a ChatCompletionStreamResponseDelta within the OpenAI API
Schema representing a ChatCompletionTool within the OpenAI API
Schema representing a ChatCompletionToolChoiceOption within the OpenAI API
Schema representing a CompletionUsage within the OpenAI API
Schema representing a CreateAssistantFileRequest within the OpenAI API
Schema representing a CreateAssistantRequest within the OpenAI API
Schema representing a CreateChatCompletionFunctionResponse within the OpenAI API
Schema representing a CreateChatCompletionImageResponse 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 CreateMessageRequest within the OpenAI API
Schema representing a CreateModerationRequest within the OpenAI API
Schema representing a CreateModerationResponse within the OpenAI API
Schema representing a CreateRunRequest within the OpenAI API
Schema representing a CreateSpeechRequest within the OpenAI API
Schema representing a CreateThreadAndRunRequest within the OpenAI API
Schema representing a CreateThreadRequest 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 DeleteAssistantFileResponse within the OpenAI API
Schema representing a DeleteAssistantResponse within the OpenAI API
Schema representing a DeleteFileResponse within the OpenAI API
Schema representing a DeleteMessageResponse within the OpenAI API
Schema representing a DeleteModelResponse within the OpenAI API
Schema representing a DeleteThreadResponse 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 FineTuningJob within the OpenAI API
Schema representing a FineTuningJobEvent within the OpenAI API
Schema representing a FunctionObject within the OpenAI API
Schema representing a FunctionParameters within the OpenAI API
Schema representing a Image within the OpenAI API
Schema representing a ImagesResponse within the OpenAI API
Schema representing a ListAssistantFilesResponse within the OpenAI API
Schema representing a ListAssistantsResponse 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 ListMessageFilesResponse within the OpenAI API
Schema representing a ListMessagesResponse within the OpenAI API
Schema representing a ListModelsResponse within the OpenAI API
Schema representing a ListPaginatedFineTuningJobsResponse within the OpenAI API
Schema representing a ListRunStepsResponse within the OpenAI API
Schema representing a ListRunsResponse within the OpenAI API
Schema representing a ListThreadsResponse within the OpenAI API
Schema representing a MessageContentImageFileObject within the OpenAI API
Schema representing a MessageContentTextAnnotationsFileCitationObject within the OpenAI API
Schema representing a MessageContentTextAnnotationsFilePathObject within the OpenAI API
Schema representing a MessageContentTextObject within the OpenAI API
Schema representing a MessageFileObject within the OpenAI API
Schema representing a MessageObject 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 ModifyAssistantRequest within the OpenAI API
Schema representing a ModifyMessageRequest within the OpenAI API
Schema representing a ModifyRunRequest within the OpenAI API
Schema representing a ModifyThreadRequest within the OpenAI API
Schema representing a OpenAIFile within the OpenAI API
Schema representing a RunObject within the OpenAI API
Schema representing a RunStepDetailsMessageCreationObject within the OpenAI API
Schema representing a RunStepDetailsToolCallsCodeObject within the OpenAI API
Schema representing a RunStepDetailsToolCallsCodeOutputImageObject within the OpenAI API
Schema representing a RunStepDetailsToolCallsCodeOutputLogsObject within the OpenAI API
Schema representing a RunStepDetailsToolCallsFunctionObject within the OpenAI API
Schema representing a RunStepDetailsToolCallsObject within the OpenAI API
Schema representing a RunStepDetailsToolCallsRetrievalObject within the OpenAI API
Schema representing a RunStepObject within the OpenAI API
Schema representing a RunToolCallObject within the OpenAI API
Schema representing a SubmitToolOutputsRunRequest within the OpenAI API
Schema representing a ThreadObject 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
Modules for interacting with the threads
group of OpenAI APIs
Mix Tasks
Updates OpenAI API documentation files