dotnet-smartcomponents / smartcomponents

Experimental, end-to-end AI features for .NET apps
655 stars 54 forks source link

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

Open satish10105 opened 1 week ago

satish10105 commented 1 week ago

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)

satish10105 commented 1 week ago

image

Mimisss commented 4 days ago

How did you configure it?

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