dotnet / extensions

This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
MIT License
2.63k stars 752 forks source link

Consider light RAG API #5578

Open pdevito3 opened 4 days ago

pdevito3 commented 4 days ago

Potentially similar to the light rag python library, it would be great if we had access to light rag capabilities with our AI extensions as well.

Here's an example of it used with ollama.

Personally not set on any particular API, but wanted to at least get this out there and see what thoughts are on adding capability at all.

stephentoub commented 3 days ago

This is the kind of library I'd love to see written on top of Microsoft.Extensions.AI and Microsoft.Extensions.VectorData, but I don't think it needs to be a core .NET library in dotnet/*. Anyone could implement it and publish it on nuget.

pdevito3 commented 3 days ago

Yeah figured it might be too granular but at the same time it's a common interaction/ask of ai functionality so there's something to be said first party support of it.

Either way, loving it so far!