-
Notifications
You must be signed in to change notification settings - Fork 13
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃殌 Feature: Support for Azure Openai API #14
Comments
Hi @dholakashyap - I believe we can make this easier If this looks useful (we're used in production)- please let me know how we can help. UsageAzure request curl http:https://0.0.0.0:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "azure/<your-deployment-name>",
"messages": [{"role": "user", "content": "Say this is a test!"}],
"temperature": 0.7
}' gpt-3.5-turbo request curl http:https://0.0.0.0:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Say this is a test!"}],
"temperature": 0.7
}' claude-2 request curl http:https://0.0.0.0:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "claude-2",
"messages": [{"role": "user", "content": "Say this is a test!"}],
"temperature": 0.7
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃敄 Feature description
I think support for Azure Openai API would be great.
as so many developers and organizations use Azure to fulfill their Cloud Needs.
So adding up a support for azure Openai API will benefit them to use within their environment.
馃帳 Pitch
I think support for Azure Openai API would be great.
as so many developers and organizations use Azure to fulfill their Cloud Needs.
So adding up a support for azure Openai API will benefit them to use within their environment.
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: