Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New to Async. Can this send multiple prompts at a time? #3

Closed
ibehnam opened this issue Mar 7, 2023 · 2 comments
Closed

New to Async. Can this send multiple prompts at a time? #3

ibehnam opened this issue Mar 7, 2023 · 2 comments

Comments

@ibehnam
Copy link

ibehnam commented Mar 7, 2023

Sorry for the noob question. I couldn't get OpenAI's acreate method of Async work. So I found your package, but I don't know how this can be used to make N requests to the API at once, and stay below the rate limit. Can you please explain this?

@taziksh
Copy link

taziksh commented Mar 14, 2023

Yes, how is this different from OpenAI's official Python wrapper's acreate()?
openai/openai-python#146

@itayzit
Copy link
Owner

itayzit commented Nov 25, 2023

hey @taziksh this is not different, it just uses requests and asyncio instead of their native support. i developed it before they had native support for async 😄

@itayzit itayzit closed this as completed Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants