So Im looking for references on how to do function calling using Dolphin or Mistral models.

With my current prompt, I’m able to get it to choose an appropriate command for the task sometimes. But often it’ll add multiple commands in one response. But the other half of the time it produces correct commands & parameters in json format as request. Sometimes it makes up commands it want to use that doesn’t exist in the command list.

I’m just looking for hints at a more concrete prompt that will make these models effective in function calling.

Should I try whatever format OpenAI use seeing as how these smaller models are usually trained on synthetic data produced by OpenAI models?

Any guidance is appreciated 👍