Raw Data keeps memory grounded in source context.


Overview
Raw Data is not just archived input. It is the source layer behind Memind’s structured memory system. Each Raw Data record preserves a source segment, its metadata, source references, timing information, and a generated caption. That caption is important. It turns a raw source segment into a compact semantic context that can be searched, inspected, and used to understand the background behind extracted Memory Items. A Memory Item tells Memind what durable memory was extracted. Raw Data tells Memind where that memory came from and what broader context shaped it.Why Raw Data exists
Many memory systems jump directly from conversation text to extracted facts. That works for simple preferences, but it often loses the surrounding context. An agent may retrieve several correct items, but still miss the larger situation that produced them. For example, the agent might retrieve:- the user uses Java 21
- the user prefers stable tools
- the user is migrating a service
- source context before higher-level memory is extracted
- traceability from Memory Items back to observed content
- searchable captions for source-level evidence
- a way to recover broader context behind isolated items
- an inspection layer for debugging memory quality
- a stable foundation for future processing and reprocessing
Why captions matter
Raw Data captions are not just summaries. In Memind, source content can be segmented around meaningful context boundaries, such as a topic, workflow, decision, incident, or conversation shift. For conversation content, LLM-based segmentation can identify these semantic boundaries instead of relying only on arbitrary fixed-size chunks. That means a Raw Data segment can represent a coherent slice of context. The caption then becomes a compact semantic handle for that segment. This matters because Memory Items are intentionally concise. They capture durable facts, preferences, events, directives, tool experience, playbooks, or resolutions. But an item alone may not carry the full background of the conversation that produced it. Raw Data captions keep that background searchable. Instead of retrieving only scattered items, Memind can also retrieve the source-level context behind those items:Where Raw Data fits
Raw Data is created early in the memory construction flow.
Raw Data is the bridge between what happened and what Memind remembers.
Processing flow
Raw Data processing turns raw input into source-level records. At a high level, the flow is:
For streaming conversation input, Memind may first buffer messages and seal a conversation segment before Raw Data processing begins.
Raw Data records
A Raw Data record stores source-level information about one processed segment. Conceptually, it contains:
You usually do not need to manipulate these fields directly. They explain what Memind preserves so later memory layers can remain traceable.
Segments
A segment is the source unit that Raw Data persists. For conversation content, a segment may represent a range of messages. For other content types, it may represent a character range, parsed section, or processor-defined chunk. A segment can include:
Segments are important because Raw Data should preserve context at a useful granularity. A whole conversation or file may be too large to inspect or retrieve as one unit, while a single sentence may be too small to preserve meaning.
The goal is to keep source context coherent enough for later extraction, inspection, and retrieval.
Captions
Captions summarize Raw Data segments into compact semantic context. A caption does not replace the original content. It gives the segment a searchable and human-readable representation. Captions are useful because they:- make source segments easier to browse in Memind UI
- provide compact source-level retrieval text
- reduce noise when searching Raw Data
- help LLMs understand the background behind extracted items
- preserve a semantic view of the original source segment
- provide text that can be embedded for vector search
Metadata and source references
Raw Data can carry source metadata and references. This is useful when memory comes from multiple applications, agents, files, URLs, or tools. Common metadata and references include:
These fields make Raw Data useful for filtering, inspection, debugging, and downstream processing.
Vector indexing
Raw Data can be indexed for semantic search. Memind vectorizes Raw Data captions and stores the resulting vector IDs on Raw Data records. This allows source-level evidence to participate in retrieval without embedding the entire original content as the only searchable representation. Raw Data vector indexing is separate from Memory Item and Insight indexing.
This separation lets Memind retrieve at different levels of abstraction: source evidence, structured memory, and higher-level understanding.
Idempotency
Raw Data processing uses content identity to avoid duplicate work. Each raw input can produce acontentId, which acts as a fingerprint of the original content. Before processing, Memind can check whether the same content has already been stored for the same memory namespace.
If the content already exists, Memind can return the existing Raw Data instead of writing duplicate source records.
This is useful when:
- the same conversation batch is submitted more than once
- ingestion is retried after a failure
- integrations resend previously observed content
- applications want safer repeated writes
Relationship to Memory Items
Raw Data is the input evidence for Memory Item extraction. After Raw Data is created, Memind extracts structured Memory Items from it. Those items can keep references back to the Raw Data record that produced them. This relationship is important:- Memory Items provide concise durable facts.
- Raw Data captions provide the broader context behind those facts.
Inspecting Raw Data
Memind UI lets developers inspect the Raw Data layer. The Raw Data view is useful when you want to understand:- what source content was ingested
- how content was segmented
- what captions were generated
- which source client produced the data
- what metadata was attached
- what time range the source segment represents
- whether downstream memory came from the expected source
- what broader context sits behind a Memory Item

