just sync
This commit is contained in:
+2
-3
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user