MultiToolCallReceiver
class MultiToolCallReceiver<Args : ToolArgs>(toolCalls: List<Pair<Tool<Args, *>, Args>>, builder: MockLLMBuilder)(source)
Receiver class for configuring tool call responses from the LLM. This class is part of the fluent API for configuring how the LLM should respond with tool calls when it receives specific inputs.
Functions
Link copied to clipboard
Configures the system to partially match user requests containing the specified pattern. If the pattern is found within a user request, the associated tool call response will be triggered.
Link copied to clipboard
Configures the LLM to respond with a tool call when the user request exactly matches the specified pattern.