Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Use async/multi-threaded requests #255

Closed
krrishdholakia opened this issue Aug 8, 2023 · 1 comment
Closed

Use async/multi-threaded requests #255

krrishdholakia opened this issue Aug 8, 2023 · 1 comment

Comments

@krrishdholakia
Copy link

krrishdholakia commented Aug 8, 2023

Hey @rmitsch / @kabirkhan

have y'all considered using async/ threading here to make this call faster?

https://github.com/explosion/spacy-llm/blob/f03da9094ee49626ae3aaccd3129e7c3237454ee/spacy_llm/models/rest/anthropic/model.py#L96C1-L99C10

Happy to make a PR to help out here. Working on a library to simplify LLM API calling - noticed y'all call the REST endpoints which is awesome!

@rmitsch
Copy link
Collaborator

rmitsch commented Aug 9, 2023

Hi @krrishdholakia! Let me convert this into a discussion.

@explosion explosion locked and limited conversation to collaborators Aug 9, 2023
@rmitsch rmitsch converted this issue into discussion #258 Aug 9, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants