Fix tool descriptions

This commit is contained in:
Gui Vieira
2024-04-10 11:48:23 -03:00
parent be1a60554f
commit c5fd5196e2
14 changed files with 18 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ class PDFSearchTool(RagTool):
self.add(pdf)
self.description = f"A tool that can be used to semantic search a query the {pdf} PDF's content."
self.args_schema = FixedPDFSearchToolSchema
self._generate_description()
def add(
self,