From a96d1a533f530b916969e494839c42565426137d Mon Sep 17 00:00:00 2001 From: vedantsahai18 Date: Wed, 9 Oct 2024 18:41:58 -0400 Subject: [PATCH] feat(cookbook): 10 sys_tool bug fixed --- cookbooks/10-Document_Management_and_Search.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cookbooks/10-Document_Management_and_Search.py b/cookbooks/10-Document_Management_and_Search.py index 9ff396bf3..70db82d3f 100644 --- a/cookbooks/10-Document_Management_and_Search.py +++ b/cookbooks/10-Document_Management_and_Search.py @@ -65,6 +65,7 @@ tool: document_upload arguments: agent_id: "'{agent.id}'" + title: _.title content: _.content metadata: _.metadata @@ -105,8 +106,8 @@ - tool: document_search arguments: agent_id: "'{agent.id}'" - query: inputs[0].query - filters: inputs[0].filters + text: inputs[0].query + metadata_filters: inputs[0].filters - prompt: - role: system