googleapis / google-cloud-dotnet

Google Cloud Client Libraries for .NET
https://cloud.google.com/dotnet/docs/reference/
Apache License 2.0
942 stars 367 forks source link

Feature Request: Integrate Microsoft.Extensions.AI into Google.Cloud.AIPlatform #13815

Open Krzysztof318 opened 2 days ago

Krzysztof318 commented 2 days ago

Feature Request: Integrate Microsoft.Extensions.AI with Google.Cloud.AIPlatform

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

While Google Cloud SDK for .NET and specifically the Google.Cloud.AIPlatform library provide robust tools for interacting with Google AI services, the current implementations lack a unified abstraction layer compatible with Microsoft.Extensions.AI.

Describe the solution you'd like

I propose integrating Microsoft.Extensions.AI with Google.Cloud.AIPlatform (v1/v1beta). This library offers a unified API abstraction for AI services, similar to logging and dependency injection abstractions in .NET. By leveraging Microsoft.Extensions.AI, we can achieve:

Additional context

Questions to the Google Team

  1. Potential challenges: What are the potential challenges and trade-offs of adopting this approach in your repo?
  2. Preferred implementation: What would be the preferred approach for implementing this integration? Would it involve creating new project or extend existing AIPlatform projects? It would be best option to be consistent with Microsoft.Extensions.AI idea but I am open to suggestions from your side.

I'm eager to discuss this proposal further and go work on pull request when we will agree on the details.

I believe integrating Microsoft.Extensions.AI with Google.Cloud.AIPlatform would significantly benefit the .NET developer community and foster a more unified approach to AI development on Google Cloud.

cc: @stephentoub

amanda-tarafa commented 2 days ago

@Krzysztof318 thanks! We need to figure out a few things internally, so we need a couple of days. I'll keep this issue updated.