We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Tools and RAG
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc request On the chat template documentation, on the Tools section, there is missing information of how to trigger the function.
Tools and RAG Here, before calling the model to read the chat template:
tool_call = {"name": "get_current_temperature", "arguments": {"location": "Paris, France", "unit": "celsius"}} messages.append({"role": "assistant", "tool_calls": [{"type": "function", "function": tool_call}]}) # missing line: messages.append({"role": "tool", "name": "get_current_temperature", "content": "22.0"})
I had to go to the Hermes 2 model in order to make the "call" of the function.
Additional context They have a Jupyter Notebook on their Github that uses Function Calling implementation. Link
Here, they don't hardcode the tool_call and message.append(), instead they do it dynamically.
tool_call
message.append()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Doc request
On the chat template documentation, on the Tools section, there is missing information of how to trigger the function.
Tools and RAG
Here, before calling the model to read the chat template:
I had to go to the Hermes 2 model in order to make the "call" of the function.
Additional context
They have a Jupyter Notebook on their Github that uses Function Calling implementation. Link
Here, they don't hardcode the
tool_call
andmessage.append()
, instead they do it dynamically.The text was updated successfully, but these errors were encountered: