itayzit/openai-async
A light-weight, asynchronous client for OpenAI API - text completion, image generation and embeddings.
Built on Python's `asyncio` for non-blocking concurrent requests, it exposes a minimal API surface with individual async functions for each OpenAI endpoint (chat completion, text completion, image generation, embeddings). Supports configurable timeouts and direct payload passthrough to OpenAI's official API schema, requiring only an API key for authentication.
No commits in the last 6 months. Available on PyPI.
Stars
56
Forks
6
Language
Python
License
MIT
Category
Last pushed
Mar 02, 2023
Commits (30d)
0
Dependencies
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/itayzit/openai-async"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
lfnovo/esperanto
A unified interface for various AI model providers
apocas/restai
RESTai is an AIaaS (AI as a Service) open-source platform. Built on top of LlamaIndex &...
sbhjt-gr/InferrLM
On-device AI for iOS & Android
baidubce/bce-qianfan-sdk
Provide best practices for LMOps, as well as elegant and convenient access to the features of...
solygambas/python-openai-projects
13 projects using ChatGPT API, Whisper, Embeddings, and DALL-E with Python.