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

Add Support for Azure Cognitive Services #10

Open
3 of 6 tasks
petergoldstein opened this issue Feb 19, 2023 · 0 comments
Open
3 of 6 tasks

Add Support for Azure Cognitive Services #10

petergoldstein opened this issue Feb 19, 2023 · 0 comments

Comments

@petergoldstein
Copy link
Owner

petergoldstein commented Feb 19, 2023

Currently Asimov uses the OpenAI endpoints by default. The base URI can be overridden, which allows the use of simple proxying services like Helicone. But Asimov does not yet support the use of the Azure Cognitive Services version of OpenAI. To get that working there are several changes required:

  • Add API type as a configurable parameter
  • Add API version with appropriate default behavior
  • Update authorization header behavior to account for API type (OpenAI/Azure AD vs. Azure)
  • Update URI construction to account for API type (OpenAI vs. Azure/Azure AD)
  • Add Azure-only support for the deployments endpoints
  • Restrict unsupported OpenAI endpoints when the API type is Azure

This effort is currently underway.

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

1 participant