Feature Request: Integrate Microsoft.Extensions.AI into Google.Cloud.AIPlatform
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:
- Aligned development experience: Developers can utilize familiar abstractions, streamlining the integration of Google AI services.
- Enhanced flexibility: Developers can easily switch between Google AI services and other providers with minimal code changes.
- Improved code maintainability: A consistent abstraction layer promotes the creation of modular and reusable AI components.
Additional context
- Microsoft.Extensions.AI announcement: Microsoft DevBlogs
- Real-world example: Implementation of Microsoft.Extensions.AI in AWS SDK for .NET AWS Pull Request
- Initial PR as a concept: #13814
Questions to the Google Team
- Potential challenges: What are the potential challenges and trade-offs of adopting this approach in your repo?
- 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
@Krzysztof318 thanks! We need to figure out a few things internally, so we need a couple of days. I'll keep this issue updated.
Just here to say, we are still looking into this.
@amanda-tarafa Hi, any updates?
No, I'm sorry. It's unlikely we'll have any updates before end of year.
I will share any information I can as soon as I have it.
Hello in new year, I just remind about this :)
Hello, thanks for the reminder. We have not forgotten about it!
Hello @amanda-tarafa I inderstand you are currently busy with much more important tasks but could you provide approximate date about starting this feature? I will glad to write entire code for that but first I have to know your expectations.
@Krzysztof318 I'm really sorry I cannot share a timeline for this. But this is something we are still looking closely into, and not in the least forgotten. As soon as I have details I can share I will update the issue.
@Krzysztof318 We'll be working on this in the next coming weeks to produce a prototype. Because we'll be providing ongoing maintenance, we'll do the main work ourselves, but we are happy to accept contributions to fill in the gaps, and also to have your review on PRs.
Just note, it's just a prototype for the time being.
@Krzysztof318 We'll be working on this in the next coming weeks to produce a prototype. Because we'll be providing ongoing maintenance, we'll do the main work ourselves, but we are happy to accept contributions to fill in the gaps, and also to have your review on PRs.
This is great. Please let me know if/how I can help.
@amanda-tarafa Thank you for your response. The most important thing is that we are moving forward with the project. I am looking forward to the prototype.
Hi @amanda-tarafa,
I'm on the team working on Microsoft.Extensions.AI. Just checking in if there'd been any progress on this issue.
As Stephen mentioned, let us know if / how we can help here.
Nothing to share at the moment. We'll update this issue as soon as we are able.
Would it be helpful if we submitted a draft PR showing what it would look like, and iterate from there?
@stephentoub Would you and others be up for a chat about this and some other touchpoints we share? Thinking also of https://github.com/dotnet/aspnetcore/issues/61817. Let me know and I can look into setting things up.
@Krzysztof318 and others requesting this integration, we are still looking into supporting this as soon as we are able.
Would you and others be up for a chat about this and some other touchpoints we share?
@amanda-tarafa that'd be great.
@amanda-tarafa I sent you a message through LinkedIn so that we can connect and set up a meeting about Microsoft.Extensions.AI and ASP.NET auth. /cc @jskeet.
Any updates on this?
@amanda-tarafa I sent you a message through LinkedIn so that we can connect and set up a meeting about Microsoft.Extensions.AI and ASP.NET auth. /cc @jskeet.
@jeffhandley - Can somebody share results of this meeting please?
Quick update: this is still on our backlog, but with no current ETA. It's possible that we can get it in for Q4, but that's just a possibility.
I'm sorry for the wait, it's just a matter of many competing priorities at the moment.
I will submit a PR for this once https://github.com/googleapis/google-cloud-dotnet/pull/15131 is merged.
I'm reopening, we still have some tweaking to do on our side re project generation, etc.
I'm working on some of the tweaks, aiming to release a beta at some point next week.