-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for new OpenAI API. (#144)
* Update openai version in pyproject.toml * add OpenAiChatCompletion * Update OpenAI client and add AzureOpenAI support * Add OpenAiChatResult and OpenAiChat classes * Refactor OpenAiChat.create_model_response method signature and add docstring * Add docstring to OpenAiChat class * improve doc * Add OpenAiChat tests for error handling * Update OpenAiAzureChat class constructor * improve typing * Fix method signature in OpenAiChat class
- Loading branch information
Showing
3 changed files
with
166 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.