-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
support for async dspy.LM #1786
Comments
Hey @JacksonCakes ! See #1734 and let us know what you think! |
Thanks!! That's exact what I am looking for! |
Wonderful. May I ask what you need async for? We're considering the right form of async to merge. |
Any LLM call that can be run in parallel would be super useful here! A great use case from my side is finding the right SQL table based on user queries from a huge database. With so many tables, compress every table metadata into single prompt or doing this sequentially just isn't practical |
Would you find this #1690 useful? We're probably going to go with that. |
Yup, I think that would work too! But I am just curious why multi-threaded is preferred over #1734 ? |
Hi, does Dspy currently support the asynchronous version of dspy.LM?
which might be equivalent to the following:
The text was updated successfully, but these errors were encountered: