We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In app.py, line 391
openai.api_base = AZURE_OPENAI_ENDPOINT if AZURE_OPENAI_ENDPOINT else f"https://{AZURE_OPENAI_RESOURCE}.openai.azure.com/" openai.api_version = "2023-08-01-preview" openai.api_key = AZURE_OPENAI_KEY
instead of the hard coded value, openai.api_version should be assigned the value from the configuration setting. Specifically:
openai.api_version
openai.api_version = AZURE_OPENAI_PREVIEW_API_VERSION
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In app.py, line 391
instead of the hard coded value,
openai.api_version
should be assigned the value from the configuration setting. Specifically:The text was updated successfully, but these errors were encountered: