dotnet / eShopSupport

A reference .NET application using AI for a customer support ticketing system
MIT License
342 stars 82 forks source link

Use Aspire Qdrant resource #15

Closed SteveSandersonMS closed 2 months ago

SteveSandersonMS commented 4 months ago

Currently it uses a ContainerResource but it should be possible to use Aspire.Hosting.Qdrant.

On the consuming side it would be ideal if we could use Aspire.Qdrant.Client, but that would at least require writing an adapter since it won't implement SK's IQdrantVectorDbClient.

Another option on the consuming side is to use the HTTP endpoint directly with the SK client, though you'll have to deal with auth. The key is provided by the AppHost in an environment variable.

SteveSandersonMS commented 2 months ago

Done in https://github.com/dotnet/eShopSupport/pull/27