just sync

This commit is contained in:
2026-02-08 15:09:39 +00:00
parent a1612864e2
commit 8d0a74e865
4 changed files with 48 additions and 71 deletions
+2 -3
View File
@@ -1,6 +1,6 @@
import sys
import dspy
# import turso
from config_loader import load_config
from experts.dnd_agent import DnDRAG
@@ -10,7 +10,6 @@ RETRIEVE_MODEL = CFG["models"]["retrieval"]
API_BASE = CFG["api"]["base_url"]
API_VERSION = CFG["api"]["api_version"]
def main():
# 1. Setup the LLM
print("🚀 Initializing Qwen-8B via LM Studio...")
@@ -18,7 +17,7 @@ def main():
dspy.configure(lm=lm)
# 2. Load the RAG System (only happens once!)
print("📚 Loading FAISS index and campaign notes...")
print("📚 Loading campaign notes...")
try:
rag_system = DnDRAG()
print("✅ Ready! Ask me anything about the campaign. (Type 'exit' or 'q' to quit)")