MixedResultsReceiver
class MixedResultsReceiver<Args : ToolArgs>(toolCalls: List<Pair<Tool<Args, *>, Args>>, responses: List<String>, builder: MockLLMBuilder)(source)
Represents a class responsible for handling and managing mixed tool call results based on mock responses and predefined configurations.
Parameters
Args
The type of tool arguments extending ToolArgs.
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.