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

some azure support + guide #740

Merged
merged 6 commits into from
Jan 13, 2024
Merged

some azure support + guide #740

merged 6 commits into from
Jan 13, 2024

Conversation

zzstoatzz
Copy link
Collaborator

@zzstoatzz zzstoatzz commented Jan 13, 2024

adds some docs on settings and config for azure.

This PR does not actually modify settings.py, only adds escape hatches to pass clients and also an escape hatch for those who want avoid passing clients, which is that they can set MARVIN_USE_AZURE_OPENAI=true in their ~/.marvin/.env and we will automatically build / use an AzureOpenAI client from the recommended "settings" (or tell them to set the required settings if not set)

afaik azure current can support our:

  • fn
  • model
  • cast, extract
  • classify

so the usage example includes all these (which appear to work fine)

@zzstoatzz zzstoatzz changed the title Azure support some azure support + guide Jan 13, 2024
@zzstoatzz zzstoatzz marked this pull request as ready for review January 13, 2024 23:18
@zzstoatzz zzstoatzz requested a review from jlowin January 13, 2024 23:25
@zzstoatzz zzstoatzz self-assigned this Jan 13, 2024
@aaazzam aaazzam self-requested a review January 13, 2024 23:27
@zzstoatzz zzstoatzz merged commit cc9634f into 2.0 Jan 13, 2024
14 checks passed
@zzstoatzz zzstoatzz deleted the azure-support branch January 13, 2024 23:34
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