phelps-sg/openai-pygenerator

Type-annoted wrapper for OpenAI Python API which provides a generator over completions with retry functionality when encountering RateLimitError

34
/ 100
Emerging

This project helps Python developers integrate OpenAI's language models into their applications more robustly. It takes a prompt or a sequence of prompts and returns the model's completions, managing common issues like rate limits and session state. Developers using the OpenAI API in their Python applications are the primary users.

No commits in the last 6 months.

Use this if you are a Python developer building applications with OpenAI's API and need reliable completion generation, automatic retries, and session management.

Not ideal if you are using OpenAI's Python API version 1.0.0 or later, as the core features are now built into the official library.

API-integration application-development LLM-tooling python-development error-handling
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 16 / 25
Community 13 / 25

How are scores calculated?

Stars

9

Forks

2

Language

Python

License

MIT

Last pushed

Nov 18, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/phelps-sg/openai-pygenerator"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.