This commit is contained in:
2026-05-15 08:48:35 +00:00
parent 31591daa80
commit e185b4d6cf
+2 -2
View File
@@ -1,8 +1,8 @@
from langchain.tools import tool from langchain.tools import tool
from vector_store import QdrantStore from vector_store import ChromaStore
from chunker import get_chunks from chunker import get_chunks
store = QdrantStore() store = ChromaStore()
@tool @tool
def search_knowledge_base(query: str, max_results: int = 5) -> str: def search_knowledge_base(query: str, max_results: int = 5) -> str: