addLLMAnswerPartialPattern
Adds a partial pattern match for an LLM answer that triggers a tool call.
Parameters
The exact input string to match
The tool to be called when the input matches
The arguments to pass to the tool
Adds a partial pattern match for an LLM answer that triggers a set of tool calls.
Parameters
The substring pattern to partially match in the user request.
A list of pairs, where each pair consists of a tool and the arguments to pass to the tool. These tool calls will be triggered when the input matches the pattern.
Adds a partial pattern match for an LLM answer that triggers a set of tool calls with predefined responses.
Parameters
The substring pattern to partially match in the user request.
A list of tool call and argument pairs to be triggered when the input matches.
A list of response strings corresponding to each tool call.