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

Do we have AzureOpenAI Implentation and other models too? #20

Closed
wanjeakshay opened this issue Oct 25, 2024 · 1 comment
Closed

Do we have AzureOpenAI Implentation and other models too? #20

wanjeakshay opened this issue Oct 25, 2024 · 1 comment

Comments

@wanjeakshay
Copy link

I want to do the retrieval process using AzureOpen AI model, how to do it, where can i pass those extra variables?

@liana313
Copy link
Collaborator

liana313 commented Nov 6, 2024

PR #26 (merged today) adds support for a variety of model endpoints, including Azure OpenAI. You would need to export your api key and specify the model (eg "azure/gpt4-o1-mini") when initializing the LM. Here's an example https://github.com/TAG-Research/lotus/blob/main/examples/op_examples/agg.py

@liana313 liana313 closed this as completed Nov 6, 2024
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

2 participants