Open jacopo-chevallard opened 3 weeks ago
Currently, we deal with tools as in core/quivr_core/llm_tools/web_search_tools.py.
We should rather define our own QuivrToolBase class where tools inherit from, e.g.
QuivrToolBase
class TavilyTool(BaseTool)
We can then use a ProxyMapping as a registry to the tools. We could create tools (as classes or objects) and retrieve them.
CORE-275 Refactor `ToolRegistry`
Currently, we deal with tools as in core/quivr_core/llm_tools/web_search_tools.py.
We should rather define our own
QuivrToolBase
class where tools inherit from, e.g.class TavilyTool(BaseTool)
We can then use a ProxyMapping as a registry to the tools. We could create tools (as classes or objects) and retrieve them.