You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling AddOllamaChatCompletion and AddOllamaTextEmbeddingGeneration require a registration for OllamaApiClient to be available. However, an instance of OllamaApiClient can only be associated with one model at a time.
Please add support for consuming keyed registrations of OllamaApiClient. Then we would be able to consume registrations like the ones from the OllamaSharp package in the Aspire Community Toolkit.
The text was updated successfully, but these errors were encountered:
cecilphillip
changed the title
.NET: Ollama Dependency Injection
.NET: Ollama Dependency Injection update
Feb 24, 2025
Calling
AddOllamaChatCompletion
andAddOllamaTextEmbeddingGeneration
require a registration forOllamaApiClient
to be available. However, an instance ofOllamaApiClient
can only be associated with one model at a time.Please add support for consuming keyed registrations of
OllamaApiClient
. Then we would be able to consume registrations like the ones from the OllamaSharp package in the Aspire Community Toolkit.The text was updated successfully, but these errors were encountered: