.Net: Running Semantic Kernel to call the OpenAPI schema failed with the Ollama using mistral:7b. #7026
Labels
bug
Something isn't working
.NET
Issue or Pull requests regarding .NET code
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Discussed in #6959
Originally posted by tungyi June 25, 2024
I am trying to call the plugin using the Semantic Kernel. The model in use is mistral:7b with the local Ollama. Both the native plugin and the semantic plugin are working fine, and it appears that mistral:7b is correctly calling my plugin.
However, when I try to call the APIs in the OpenAPI schema with mistral:7b, it failed. Here is the sample code snippet:
result.FinalAnswer is empty. Looking at result.ChatHistory, I see that mistral:7b doesn't call any restfulAPI in swagger.json for me.
So, I switched the model to Azure Open AI's gpt-4o and found that it successfully called the correct RESTful APIs without any issues!"
I just replace the kernel with the following code:
Is it possible for mistral:7b or any other models to support OpenAPI Schema like gpt-4o?
The text was updated successfully, but these errors were encountered: