feat: 🔒Starting the refactor

This commit is contained in:
2026-03-22 08:18:49 +00:00
parent 90c88b068b
commit 986c8103c4
10 changed files with 375 additions and 86 deletions
+8 -3
View File
@@ -12,9 +12,10 @@ models:
# --- Ingestion Settings ---
ingestion:
data_dir: "/home/jake/DnD"
data_dir: "/home/jake/dnd_test/"
db_path: "./data/"
db_name: "dmv.db"
toon_dir: "./data/toon_files"
active_llms: 2
parallel_requests_per_llm: 2
chunk_size: 800
@@ -29,8 +30,12 @@ ingestion_agent:
Analyze the provided notes and extract a concise synopsis and relevant metadata.
synopsis = A one-sentence summary of the document.
tags = Relevant tags (NPCs, Locations, Items, Plot Points).
entities = a list of Key names of people, places, or factions.
"note -> synopsis:str, tags: list[str], entities: list[str]"
entities = A list of Key names of people, places, or factions found in the document.
relationships = A list of object relationships between entities. For each pair of entities that appear together,
specify their relationship type (ally, enemy, mentor, servant, family, business_partner, etc.)
and connection strength (1-5 based on how often they appear together).
Format: [{"entity1": "Name", "entity2": "Name", "type": "relationship_type", "strength": int}, ...]
Output ONLY the metadata dictionary with these keys.
retrieval_agent:
retrieval_signature: |