hot.dev/openai — openai API bindings for Hot.
Add to your project
"hot.dev/openai": "0.9.2"
Add this to your deps in hot.hot
Namespaces
::openai
| Namespace | Functions | Types | Description |
|---|---|---|---|
::activate | 2 | 7 | POST /organization/certificates/activate - Activate certificates for organization |
::add | 1 | 4 | POST /uploads/{upload_id}/parts - Add upload part |
::api | 2 | 1 | Make an HTTP request with pre-filled service headers. |
::cancel | 7 | 37 | POST /batches/{batch_id}/cancel - Cancel batch |
::chat | 8 | 11 | Create a chat completion (non-streaming). |
::complete | 1 | 4 | POST /uploads/{upload_id}/complete - Complete upload |
::containers | 9 | 24 | GET /containers - List containers |
::create | 26 | 135 | POST /assistants - Create assistant |
::deactivate | 2 | 7 | POST /organization/certificates/deactivate - Deactivate certificates for organization |
::delete | 13 | 37 | DELETE /assistants/{assistant_id} - Delete assistant |
::download | 1 | 2 | GET /files/{file_id}/content - Retrieve file content |
::get | 17 | 65 | GET /assistants/{assistant_id} - Retrieve assistant |
::images | 8 | 9 | Generate images from a text prompt using DALL-E. |
::invite | 1 | 4 | POST /organization/invites - Create invite |
::list | 19 | 93 | GET /assistants - List assistants |
::modify | 6 | 33 | POST /assistants/{assistant_id} - Modify assistant |
::organization | 40 | 122 | GET /organization/admin_api_keys - List all organization and project API keys. |
::pause | 1 | 11 | POST /fine_tuning/jobs/{fine_tuning_job_id}/pause - Pause fine-tuning |
::realtime | 2 | 9 | POST /realtime/sessions - Create session |
::resume | 1 | 11 | POST /fine_tuning/jobs/{fine_tuning_job_id}/resume - Resume fine-tuning |
::retrieve | 5 | 24 | GET /batches/{batch_id} - Retrieve batch |
::run | 1 | 4 | POST /fine_tuning/alpha/graders/run - Run grader |
::search | 1 | 7 | POST /vector_stores/{vector_store_id}/search - Search vector store |
::submit | 1 | 10 | POST /threads/{thread_id}/runs/{run_id}/submit_tool_outputs - Submit tool outputs to run |
::update | 3 | 15 | POST /chat/completions/{completion_id} - Update chat completion |
::upload | 1 | 4 | POST /organization/certificates - Upload certificate |
::validate | 1 | 4 | POST /fine_tuning/alpha/graders/validate - Validate grader |