Palace turns captured knowledge into connected memory by linking ready items, scoring how strongly they relate, and showing the map without exposing deleted or cross-tenant material.
5similar candidates
0.5+stored confidence
200node view limit
500edge view limit
01
1Capture
LIVE
Prepare the Memory
A graph edge only starts after an item is fully processed, tenant-scoped, and ready for retrieval.
Ingested item becomes a node
IT
Item record
Notes, webpages, documents, images, and media land as tenant-owned items with titles, source types, tags, summaries, and status.
EM
Embeddings
The item is split into searchable chunks so Palace can compare the new memory against older material by meaning, not only by words.
JOB
Worker handoff
Normal ingest queues relationship extraction after processing, while bulk memory writes can defer it and backfill later.
OK
Ready only Failed, deleted, or incomplete items stay out of the visible graph.
ID
Tenant scoped Every graph query is filtered to the authenticated tenant before nodes or edges are returned.
02
2Connect
Find Real Links
Palace narrows the search with vector similarity, then asks the model to name the relationship.
1
Need a summary
Items without summaries are skipped before relationship work starts.
SKIP
2
Need at least two ready items
The source item needs at least one ready neighbor in the same tenant.
SKIP
3
Compare centroid embeddings
The service averages chunk embeddings and pulls the top 5 closest existing items.
FIND
4
Classify with the LLM
Valid labels are related_to, expands_on, contradicts, prerequisite_of, example_of, or none.
LABEL
5
Store only confident edges
Relationships below 0.5 confidence, or labeled none, are ignored.
STORE
OK stored
The edge is upserted with its relationship type and confidence.
NO edge
Low confidence, missing endpoints, or tenant mismatch leaves no link behind.
03
3Inspect
LIVE
Use the Map
The stored edges power the graph view, item detail connections, graph health signals, and optional retrieval expansion.
What users and agents see
API
Bounded graph endpoint
GET /api/v1/graph returns ready nodes, scored edges, and the count of unlinked ready items.
3D
Interactive canvas
The React page renders a 3D force graph with source filters, tag filters, title dimming, and selected-node details.
RET
Retrieval boost
When enabled, search can fan out from strong seed results to relationship neighbors and add a graph score.
Guardrails
readyvisible items only
tenantsame-tenant endpoints
200/500default view bounds
No deletesgraph read tools inspect state; they do not purge it
Gap00
Unlinked ready item
Dashboard and graph metadata report memories that still need relationship enrichment.
BulkBF
Deferred memory import
Operators can queue a bounded backfill job instead of forcing every import to classify links immediately.