Describe the bug
Tool Calling parameters
To Reproduce
I use Ollama
var kernel = Kernel.CreateBuilder()
.AddOpenAIChatCompletion(
modelId: modelId,
apiKey: null,
endpoint: new Uri(url))
.Build();
I used this model
https://ollama.com/library/llama3-groq-tool-use
and Im doung function calling (for gpt4o this code works perfectly)
But I see this as text asnwer from model.
<tool_call> {“id”: 0, “name”: “createReservation-Answer”, “arguments”: {“amount”: 1, “roomName”: “Single Room”, “startDate”: “2024-07-21”, “endDate”: “2024-07-23”}} </tool_call>
and the function doesn't work.
Expected behavior
I expected my function will called.
Platform
- OS: [Mac]
- IDE: [Rider]
- Language: [C#]
- Source: [1.16.0]
Describe the bug
Tool Calling parameters
To Reproduce
I use Ollama
I used this model
https://ollama.com/library/llama3-groq-tool-use
and Im doung function calling (for gpt4o this code works perfectly)
But I see this as text asnwer from model.
and the function doesn't work.
Expected behavior
I expected my function will called.
Platform