dotnet-smartcomponents/smartcomponents

Implement Ollama Endpont based Smart TextArea what need to configure in Program.cs in the place of OpenAIInferenceBackend

Opened this issue · 2 comments

Hi Everyone ,
Am getting an error message with the Smart TextArea.
i configure the Ollama with "DeploymentName": "mistral:7b"

am trying to run am getting an error message like : Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
Azure.RequestFailedException: model 'mistral:7b' not found, try pulling it first
Status: 404 (Not Found)

How did you configure it?

The error message suggests that you are trying to use Azure OpenAI.