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 CodeDocsSearchTool(RagTool):
self.docs_url = 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 _run(
self,