meta-llama / llama-stack

Composable building blocks to build Llama Apps
MIT License
4.73k stars 614 forks source link

LLM hallucinating while tool calling #124

Open cheesecake100201 opened 2 months ago

cheesecake100201 commented 2 months ago

image The tool call shows something called as brary search which neither I have passed nor exists. I have only passed inbuilt tools which are brave_Search, wolfram alpha and code interpreter. I am using the llama-3.1-405b-instruct model for testing through the fireworks inference API. I have added debug statements to check the tools being passed before and after the chat completion API is called and it shows that the tools being passed are accurate and as in the jupyter notebook.

TurboMa commented 3 weeks ago

Do you use the native tool calling capability from the model itself?