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

Support Anyscale OpenAI models #285

Merged
merged 10 commits into from
Jun 14, 2024
Merged

Conversation

mskarlin
Copy link
Collaborator

Anyscale supports open source models via a custom base URL in the OpenAI client. This PR enables you to use them in PaperQA by setting the appropriate environment variables and model names. See the docs for Anyscale here: https://docs.anyscale.com/endpoints/text-generation/query-a-model/.

paperqa/docs.py Show resolved Hide resolved
tests/test_paperqa.py Outdated Show resolved Hide resolved
tests/test_paperqa.py Outdated Show resolved Hide resolved
@mskarlin mskarlin merged commit 51b1b3d into main Jun 14, 2024
1 check passed
@mskarlin mskarlin deleted the support-anyscale-openai-models branch June 14, 2024 22:39
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

Successfully merging this pull request may close these issues.

2 participants