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

@@ -34,6 +34,7 @@ class CodeDocsSearchTool(RagTool):
self.add(docs_url)
self.description = f"A tool that can be used to semantic search a query the {docs_url} Code Docs content."
self.args_schema = FixedCodeDocsSearchToolSchema
self._generate_description()
def add(
self,