rag method

Future<AgentMessage> rag({
  1. ToolSchema? responseFormat,
  2. List<Tool> tools = const [],
  3. int maxRecursiveToolCalls = 1,
})

Implementation

Future<AgentMessage> rag({
  ToolSchema? responseFormat,
  List<Tool> tools = const [],
  int maxRecursiveToolCalls = 1,
}) => call(
  responseFormat: responseFormat,
  tools: [getQueryTool(), ...tools],
  maxRecursiveToolCalls: maxRecursiveToolCalls,
);