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

Azure OpenAI support #912

Merged
merged 13 commits into from
Jan 31, 2024
Merged

Azure OpenAI support #912

merged 13 commits into from
Jan 31, 2024

Conversation

lgrammel
Copy link
Collaborator

@lgrammel lgrammel commented Jan 11, 2024

Summary

  • Added Azure support to OpenAIStream
  • Added test case
  • Added Azure docs

Closes #618 and #945

@lgrammel lgrammel self-assigned this Jan 11, 2024
@lgrammel lgrammel changed the title [WIP] Azure OpenAI support Azure OpenAI support Jan 15, 2024
@lgrammel lgrammel marked this pull request as ready for review January 15, 2024 14:20
@@ -104,7 +104,7 @@ We've written some code to get you started — follow the instructions below to

// Ask OpenAI for a streaming chat completion given the prompt
const response = await openai.chat.completions.create({
model: 'gpt-3.5-turbo',
model: 'gpt-3.5-turbo',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Prettier fix (broken on main)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

First class support for @azure/openai library
2 participants