QuivrHQ / quivr

Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.
https://core.quivr.com
Other
36.71k stars 3.59k forks source link

Refactor `ToolRegistry` #3444

Open jacopo-chevallard opened 3 weeks ago

jacopo-chevallard commented 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.

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.

linear[bot] commented 3 weeks ago

CORE-275 Refactor `ToolRegistry`