Good job!
On the limitations you wrote: ``` Similarly, we also found that the most popular the Llama 2 70B model variants (even those fine-tuned for function calling) would consistently generate incorrect function calls or even hallucinate functions outside the providede schema. ```
You could use grammar-based sampling [0] to ensure that the function call is at least syntactically correct.
[0] https://github.com/ggerganov/llama.cpp/tree/master/grammars