The Ingestion Pipeline
The ingestion process is the “write” side of the architecture. It transforms raw, unstructured data into a structured memory graph. The entry point is the PersonaAdapter, a unified interface that handles data from any source—whether it’s a chat log, a note, or an email. When content enters the pipeline, it passes through the IngestionService, which uses a Large Language Model to perform extraction. The LLM analyzes the text to identify three distinct types of memory:- Episodes: The narrative record of what happened.
- Psyche: Traits, preferences, and values that define the user’s identity.
- Goals: Actionable tasks or long-term objectives.
PREVIOUS/NEXT) to chain episodes together in time, and semantic links (derived_from) to connect psyche traits and goals back to the episodes where they originated.