-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added preliminary support for OpenAI Functions (#35748)
* Added preliminary support for OpenAI Functions * WIP: serialization still fails * Tests are passing, requests go through to nonAzure OAI * Moved gened classes with polymorphism to impl package * Added assertion for function call * Added test for usage of function not supplied in the request * Renamed test for clarity * Addressed most of the PR comments * Added sync version of the tests * Renamed runner method * Added Azure sync/async tests * Added docs for FunctionCall * Removed unused files from samples package * Preparing release notes * Renamed static member * Moved the exception handling one level up in the call stack * code regened * Moved custom models under their own package * Updated test records * Addressed most of the style checks * removed unused import * Renamed type * Added spell checker exception for DALL-E * Updated commit hash and re-ran code gen
- Loading branch information
1 parent
caa742a
commit 69d4813
Showing
32 changed files
with
1,211 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -243,6 +243,7 @@ | |
"creds", | ||
"credscan", | ||
"curr", | ||
"DALL-E", | ||
"databind", | ||
"databricks", | ||
"DAZURE", | ||
|
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
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
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.