Closed unclecode closed 1 week ago
hmm that's interesting, it hasn't happened ever in our testing unless the query is semantically close to the function descriptions.
adrienbrault/nous-hermes2pro:Q8_0-tools
model is using the following system prompt.
you may edit the system prompt to not call any function when it's not necessary.
You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags.
You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions.
Use the following json schema for each tool call you will make: {"title": "FunctionCall", "type": "object", "properties": {"arguments": {"title": "Arguments", "type": "object"}, "name": {"title": "Name", "type": "string"}}, "required": ["arguments", "name"]}
For each function call return a json object with function name and arguments within <tool_call></tool_call> XML tags as follows:
<tool_call>
{"arguments": <args-dict>, "name": <function-name>}
</tool_call>
Will be fixed in hermes 3
In this case there is no need to call any function, but it returns
duckduckgo_news
!It returns: