Skip to content

Commit

Permalink
feat(cookbook): 10 sys_tool bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedantsahai18 committed Oct 9, 2024
1 parent 6bb5c0f commit a96d1a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cookbooks/10-Document_Management_and_Search.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
tool: document_upload
arguments:
agent_id: "'{agent.id}'"
title: _.title
content: _.content
metadata: _.metadata
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a96d1a5

Please sign in to comment.