Light Dark

hot.dev/openai — OpenAI API bindings for Hot. Includes Chat Completions, Models, Embeddings, Images (DALL-E), Audio (TTS), and Moderations APIs.

Version: 1.0.5

Author: Hot Dev

License: Apache-2.0

Add to your project

"hot.dev/openai": "1.0.5"

Add this to your deps in hot.hot

Namespaces

::openai

NamespaceFunctionsTypesDescription
::activate27POST /organization/certificates/activate - Activate certificates for organization
::add14POST /uploads/{upload_id}/parts - Add a part to a multi-part upload.
::api21Make an HTTP request with pre-filled service headers.
::audio25OpenAI Audio API - Text-to-speech and speech-to-text.
::cancel737POST /batches/{batch_id}/cancel - Cancel an in-progress batch.
::chat811Create a chat completion (non-streaming).
::complete14POST /uploads/{upload_id}/complete - Complete a multi-part upload by providing the ordered list of part IDs.
::containers924GET /containers - List all containers.
::create26135POST /assistants - Create an assistant with instructions and tools.
::deactivate27POST /organization/certificates/deactivate - Deactivate certificates for organization
::delete1337DELETE /assistants/{assistant_id} - Permanently delete an assistant.
::download12GET /files/{file_id}/content - Download the contents of an uploaded file.
::embeddings24OpenAI Embeddings API - Generate vector embeddings from text.
::get1765GET /assistants/{assistant_id} - Retrieve an assistant by its ID.
::images89Generate images from a text prompt using DALL-E.
::invite14POST /organization/invites - Invite a user to the organization by email.
::list1993GET /assistants - List all assistants.
::models22OpenAI Models API - List and retrieve available models.
::moderations25OpenAI Moderations API - Check content for harmful material.
::modify633POST /assistants/{assistant_id} - Update an assistant's configuration (model, name, instructions, tools, etc.).
::organization40122GET /organization/admin_api_keys - List all organization and project API keys.
::pause111POST /fine_tuning/jobs/{fine_tuning_job_id}/pause - Pause a running fine-tuning job.
::realtime29POST /realtime/sessions - Create a realtime session for audio/text conversations with GPT-4o models.
::resume111POST /fine_tuning/jobs/{fine_tuning_job_id}/resume - Resume a paused fine-tuning job.
::retrieve524GET /batches/{batch_id} - Retrieve the status and details of a batch.
::run14POST /fine_tuning/alpha/graders/run - Run a grader to evaluate model samples for reinforcement fine-tuning.
::search17POST /vector_stores/{vector_store_id}/search - Search a vector store for relevant file content using semantic search.
::submit110POST /threads/{thread_id}/runs/{run_id}/submit_tool_outputs - Submit tool call outputs to continue a run that requires action.
::update315POST /chat/completions/{completion_id} - Update metadata on a stored chat completion.
::upload14POST /organization/certificates - Upload a TLS certificate for the organization.
::validate14POST /fine_tuning/alpha/graders/validate - Validate a grader configuration before using it in fine-tuning.