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

[Feature Request]: Gemini API for .NET #2851

Closed
6 tasks done
hsm207 opened this issue Jun 3, 2024 · 4 comments
Closed
6 tasks done

[Feature Request]: Gemini API for .NET #2851

hsm207 opened this issue Jun 3, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@hsm207
Copy link
Collaborator

hsm207 commented Jun 3, 2024

Is your feature request related to a problem? Please describe.

I want to create agents in .NET powered by Google's Gemini API

Describe the solution you'd like

An implementation of Autogen.Gemini, like Autogen.OpenAI, I guess?

Additional context

Are there plans to build this feature?

Tasks

@hsm207 hsm207 added the enhancement New feature or request label Jun 3, 2024
@LittleLittleCloud LittleLittleCloud self-assigned this Jun 3, 2024
@LittleLittleCloud LittleLittleCloud added this to the AutoGen.Net 0.0.15 milestone Jun 3, 2024
@LittleLittleCloud
Copy link
Collaborator

Thanks for creating the request, we will support it in the next release

@hsm207
Copy link
Collaborator Author

hsm207 commented Jun 3, 2024

@LittleLittleCloud Is there a tentative date for when AutoGen.Net 0.0.15 will be released?

@LittleLittleCloud
Copy link
Collaborator

@hsm207 we ship a new package about every two weeks. You can consume the gemini package from nightly build once it's ready though

@LittleLittleCloud
Copy link
Collaborator

Currently, there are two ways to consume Gemini model

  • Google AI
  • Vertex AI

The detailed difference between those two can be found here. The main difference are authentication and library support, where Google AI uses api-key to authenticate the request and doesn't have an official dotnet library while Vertex AI use IAM to auth (other authentication methods also support, but using api-key from Google AI is not one of them) and has an official dotnet library Google.Cloud.AIPlatform.V1.

To support Gemini in AutoGen.Net, we can support consuming from Vertex AI first because it seems to be a quick win given that the official library is there. The support for Google AI will come later which might require manually crafting a Gemini client from rest api first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants