Build source-aware AI answers by assigning stable source and document IDs during ingestion, retaining location metadata on chunks, returning metadata with retrieval results, requiring the model to cite only supplied evidence, and validating every citation before display.
Provenance begins at ingestion
Keep connector identity, external document ID, canonical path, title, modification time and a content fingerprint. When content is split, every retrieval unit should inherit parent identity and enough location information to reconstruct its origin.
Do not use a mutable title as the only identifier. Titles collide and change; stable IDs let the interface show a human label while the system verifies the artifact.
Return evidence as data
Pair text with provenance instead of flattening everything into a prompt string. The answer can cite a document ID, and the application can render its trusted title and link without accepting generated URLs.
{ "document_id": "doc_…", "title": "Security handbook", "location": "Access control / page 14", "text": "…" }
Validate, then render
- Require claims to reference evidence IDs.
- Reject IDs absent from retrieval.
- Check that the passage supports the claim.
- Render links from trusted application metadata.
- Show uncertainty when evidence conflicts or is incomplete.
A source can be real but irrelevant; a claim can be helpful but unsupported.
Design for verification
Give users a title, excerpt and source location. For sensitive workflows, record the retrieval query, source versions and evidence IDs used.
SPYN3 search returns document and connector identity, relevance score and snippet. See the source-aware response guide for current fields.
Built for the next step
Make every answer inspectable
Use one workspace layer that returns source identity with the context an application or agent consumes.
See citation fieldsSPYN3 is AI-ready data infrastructure for technical solopreneurs and AI builders. It connects business data into a workspace-isolated knowledge layer and exposes it through a unified REST API and hosted MCP server, with permission-scoped access and source-aware returns. SPYN3 is currently in private beta; current capabilities and product direction are documented on the product facts page.
Sources
- Saad-Falcon et al.: ARES — context relevance, faithfulness and answer relevance. Verified 13 Sep 2026
- RAG evaluation survey — evaluation dimensions for retrieval-augmented generation. Verified 13 Sep 2026
- Anthropic: contextual retrieval — adding chunk-specific context before indexing. Verified 13 Sep 2026
