Adding new description generator

This commit is contained in:
João Moura
2024-02-29 03:09:48 -03:00
parent 640b5a9461
commit ec97e15a3a
19 changed files with 53 additions and 10 deletions

View File

@@ -28,6 +28,7 @@ class JSONSearchTool(RagTool):
self.json_path = json_path
self.description = f"A tool that can be used to semantic search a query the {json} JSON's content."
self.args_schema = FixedJSONSearchToolSchema
self._generate_description()
def _run(
self,