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

.Net: Google connector API version selection #5750

Merged
merged 17 commits into from
Apr 23, 2024

Conversation

Krzysztof318
Copy link
Contributor

Motivation and Context

Closes #5659

Description

The update introduces support for different versions of the Google API in various services and clients. A new enum, 'GoogleApiVersion', has been added to represent stable and beta versions of the Google API. Affected classes have been updated to accept this new parameter, and use its value when constructing API endpoints.

GoogleAI endpoints currently support only BETA.

cc: @RogerBarreto

Contribution Checklist

The update introduces support for different versions of the Google API in various services and clients. A new enum, 'GoogleApiVersion', has been added to represent stable and beta versions of the Google API. Affected classes have been updated to accept this new parameter, and use its value when constructing API endpoints.
@Krzysztof318 Krzysztof318 requested a review from a team as a code owner April 3, 2024 14:59
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Apr 3, 2024
@github-actions github-actions bot changed the title Google connector API version selection .Net: Google connector API version selection Apr 3, 2024
@RogerBarreto RogerBarreto self-assigned this Apr 3, 2024
Krzysztof318 and others added 7 commits April 14, 2024 12:12
Renamed GoogleApiVersion class to GoogleAIVersion and created a new VertexAIVersion enum. Updated various client methods to use these new enums instead of the previous unified GoogleApiVersion enum. These changes organize the API versions more appropriately for the differing APIs and prepare for any future differing version requirements for Google AI and Vertex AI APIs.
@RogerBarreto RogerBarreto added this pull request to the merge queue Apr 23, 2024
Merged via the queue into microsoft:main with commit 875477e Apr 23, 2024
15 checks passed
@Krzysztof318 Krzysztof318 deleted the gemini-api-version branch April 24, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

.Net Gemini Connector - Allow Version Selection and Base Url overriding.
4 participants