Build a SIP
CallPOST /api/v1/sip/build with the user’s message:
What you get back
The response contains the SIP itself, plus details about how it was built.The SIP text
sip is a plain text string. This is exactly what your model sees when you
place it in the prompt: one line per memory, each labelled with its source.
The full response
How memory is chosen
- Only relevant memory. EDN compares the query with your stored records and keeps only those that are relevant enough.
- Only trusted sources. Records that are AI-written and unconfirmed are never included. See Provenance.
- Only current versions. Replaced and deleted records are left out.
- No model involved. No language model chooses the records, so the same question over the same memory always gives the same SIP.
- Follow-up questions. If you save messages to the session, short follow-ups like “and who approves it?” can still find the right memory.
Citations
In a project build, each citable source is numbered in the SIP:citations to show where each number came from:
Each document gets one number, even if several of its sections are used. Saved
conversations (
ROUND) can appear in the SIP as background, but are never
numbered or cited.
When nothing matches
- General build:
sipis an empty string. Call your model without memory context. - Project build:
abstainistrue, andsipcontains an instruction telling your model to answer only from the project’s sources and to say plainly that they don’t cover the question. Your model declines instead of guessing.
Next steps
Quickstart
Use a SIP with your model, step by step.
Provenance
What each source label means.
Grounding answers in documents
Projects, documents and citations end to end.
