2025-03-08 20:26:00 +08:00
|
|
|
from dotenv import load_dotenv
|
|
|
|
|
|
2025-03-16 01:11:13 +08:00
|
|
|
load_dotenv("src/.env")
|
|
|
|
|
|
2025-05-24 11:29:45 +08:00
|
|
|
from concurrent.futures import ThreadPoolExecutor # noqa: E402
|
2025-03-16 01:11:13 +08:00
|
|
|
executor = ThreadPoolExecutor()
|
|
|
|
|
|
2025-05-24 11:29:45 +08:00
|
|
|
from src.config import Config # noqa: E402
|
2025-03-16 01:11:13 +08:00
|
|
|
config = Config()
|
|
|
|
|
|
2025-05-24 11:29:45 +08:00
|
|
|
from src.core import KnowledgeBase # noqa: E402
|
2025-03-20 19:51:46 +08:00
|
|
|
knowledge_base = KnowledgeBase()
|
|
|
|
|
|
2025-05-24 11:29:45 +08:00
|
|
|
from src.core import GraphDatabase # noqa: E402
|
2025-03-20 19:51:46 +08:00
|
|
|
graph_base = GraphDatabase()
|
2025-03-16 01:11:13 +08:00
|
|
|
|
2025-05-24 11:29:45 +08:00
|
|
|
from src.core.retriever import Retriever # noqa: E402
|
|
|
|
|
retriever = Retriever()
|