-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 Azure OpenAI support #304
base: main
Are you sure you want to change the base?
Conversation
@microsoft-github-policy-service agree |
Hi all, Traceback (most recent call last): what other environment variable should I set? |
@amessina71 did you set the deployment name? please refer to the README change is the PR, and set the
This env param will be processed in my modified visual_chatgpt.py and pass to |
I like this idea, it works well, thanks! |
I set the OPENAI_API_AZURE_DEPLOYMENT but still get openai.error.InvalidRequestError: Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.completion.Completion'> |
hello @g928274266 , Azure OpenAI is already supported in main branch by other contributor's commit, suggest to use that one. This commit may not compatible with latest visgpt/langchain. |
你好 ,老哥,你用Azure的key成功了吗,我的问题跟你一样的,用不起来 |
This PR add support to using Azure OpenAI service.
According to the documents of
langchain
, user can use Azure OpenAI service instead of origin OpenAI by setting some env config.