-
Notifications
You must be signed in to change notification settings - Fork 207
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
[C#] bump: Migrate to OpenAI's official .NET SDK #1858
Merged
Merged
Conversation
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
Azure.AI.OpenAI
to v2 beta and migrate core client sdk to openai's official .NET sdk.
aacebo
reviewed
Jul 22, 2024
dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/OpenAISdkChatMessageExensions.cs
Outdated
Show resolved
Hide resolved
…ams-ai into migrate-aoai-client
aacebo
approved these changes
Jul 25, 2024
singhk97
added a commit
that referenced
this pull request
Aug 5, 2024
## Linked issues closes: #minor (issue number) ## Details Changes: * #1820 * #1858 * #1869 * #1887 * Bump samples to use v1.5.0 ## Attestation Checklist - [x] My code follows the style guidelines of this project - I have checked for/fixed spelling, linting, and other errors - I have commented my code for clarity - I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient) - My changes generate no new warnings - I have added tests that validates my changes, and provides sufficient test coverage. I have tested with: - Local testing - E2E testing in Teams - New and existing unit tests pass locally with my changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Linked issues
closes: #1821 (issue number)
Details
Azure.AI.OpenAI
to openai's official .NET sdkOpenAI
.Change details
/completions
completions endpoint support for both OpenAI & AzureOpenAI. It was deprecated by OpenAI June 2023 and virtually no one uses it./chat
endpoint.2024-06-01
.2024-04-01-preview
. This is a consequence of using the openai's dotnet sdkOpenAI
.OpenAIModel
&OpenAIEmbeddings
class' underlying clients.Attestation Checklist
My code follows the style guidelines of this project
I have checked for/fixed spelling, linting, and other errors
I have commented my code for clarity
I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient)
My changes generate no new warnings
I have added tests that validates my changes, and provides sufficient test coverage. I have tested with:
New and existing unit tests pass locally with my changes
Additional information