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

feat: add support for Azure OpenAI deployment #293

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

jackyu1996
Copy link
Contributor

By setting several environment variables, this change allows the use of OpenAI service provided by Azure. It might solve #212.

@jackyu1996
Copy link
Contributor Author

jackyu1996 commented Oct 9, 2023

@jackMort Hi, thank you for such a wonderful project. I have corrected the style noncompliance few days ago. Would you be so kind as to approve the workflow and see whether this fork works? I have tried and it seems OK for Azure OpenAI API. Since I don't have access to the official OpenAI API, could you please have some tests on it? Thank you so much!

I referenced this script but haven't thoroughly tested the new line conversion and streaming mechanism. I might need to use my fork more often to validate it.

@jackMort jackMort merged commit aa8a969 into jackMort:main Oct 10, 2023
benelan pushed a commit to benelan/ChatGPT.nvim that referenced this pull request Oct 11, 2023
@singular0
Copy link
Contributor

@jackMort This MR essentially broke the plugin. Please consider approving #299 to fix it.

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

Successfully merging this pull request may close these issues.

3 participants