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

Add support for Azure OpenAI GPT4 #457

Merged
merged 1 commit into from
Nov 11, 2023
Merged

Conversation

TidesOfMemories
Copy link
Contributor

@TidesOfMemories TidesOfMemories commented Sep 28, 2023

Description:
Issue: #401

  • Azure's GPT4 model response doesn't seem to contain the delta field in each choice, add null check to ignore the empty content
  • Add Azure OpenAI GPT 4 models for building API endpoint

- Azure's GPT4 model response doesn't seem to contain the `delta` field in each `choice`, add null check to ignore the empty content
- Add Azure OpenAI GPT 4 models for building API endpoint
Copy link
Contributor

@othmanelhoufi othmanelhoufi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good variable mapping, thanks

@TidesOfMemories
Copy link
Contributor Author

@ayaka14732 Hi, could you please check if this PR can be merged? Thanks!

@ztjhz
Copy link
Owner

ztjhz commented Nov 11, 2023

Thank you for your contribution! @pp5311006 🎉

@ztjhz ztjhz merged commit 914ab69 into ztjhz:main Nov 11, 2023
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.

4 participants