diff --git a/Modules/LlmDriver/app/Functions/GatherInfoTool.php b/Modules/LlmDriver/app/Functions/GatherInfoTool.php index 712c694a..9ea441b8 100644 --- a/Modules/LlmDriver/app/Functions/GatherInfoTool.php +++ b/Modules/LlmDriver/app/Functions/GatherInfoTool.php @@ -27,7 +27,7 @@ class GatherInfoTool extends FunctionContract protected string $name = 'gather_info_tool'; - protected string $description = 'This will look at all documents using your prompt then return the results after once more using your prompt. This is great for say Find all events from my collection of data'; + protected string $description = 'This will look at all documents using your prompt then return the results after once more using your prompt. This is great for say Find all events from my collection of data and build a list of Event Dates, Titles Grouped by Month'; protected string $response = ''; diff --git a/app/Http/Controllers/ChatController.php b/app/Http/Controllers/ChatController.php index e06eb2ac..26b1727f 100644 --- a/app/Http/Controllers/ChatController.php +++ b/app/Http/Controllers/ChatController.php @@ -82,7 +82,7 @@ public function chat(Chat $chat) 'filter' => ['nullable', 'integer'], 'persona' => ['nullable', 'integer'], 'date_range' => ['nullable', 'string'], - 'reference_collection_id' => ['required_if:tool,gather_info_tool', 'integer'], + 'reference_collection_id' => ['required_if:tool,reporting_tool'], ]); try {