-
Notifications
You must be signed in to change notification settings - Fork 392
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
Azure GPT models not working #590
Comments
This is working for me right now on Azure. I think you must ensure the model name you're using matches what's in your deployment details. I'm using a different model below but the techniques should be the same. I hope this helps.
Important: if the api_version can be interpreted as a date, be sure you put it in double quotes. It’s not required here because the version has the -preview suffix. But, if the version is just a date (like many open ai models”, you must put it in quotes. I left them off when using a non preview api version and got errors. |
Thanks @PeerBoerner1! |
Hi @venkatesh3893, could you follow @PeerBoerner1's solution? |
@venkatesh3893 , since you've reacted with a thumbs up, I assume the issue has been resolved, and I proceed to close it. |
I am trying to establish guardrails setup for Azure OpenAI models. I have used the below configuration in config.yaml.
models:
-type: main
engine: azure
model: gpt-4
parameters:
azure_endpoint: ""
api_version: "2023-07-01-preview"
openai_api_version: "2023-07-01-preview"
deployment_name: gpt-4
api_key:""
I have tried multiple combinations and it just didnt work and no error was thrown.
The text was updated successfully, but these errors were encountered: