Grounding and citations
Every answer that draws on your files or your landscape cites the source it came from. One that cannot ground a claim says so.
How a source is found
Files you upload are split into passages and indexed two ways at once: by meaning, and by the words they actually contain. A question runs against both and the two result lists are fused.
Two retrieval methods rather than one, because each fails where the other works. Meaning-based search finds the passage about invoice blocking when you asked about payment holds, and misses the one document that spells a part number exactly. Word-based search does the reverse. In this domain you need both: half the useful questions contain an identifier that must match literally, and the other half contain none at all.
What a citation is
A citation names the file and the passage within it, and it is a link. Clicking it opens the source, not a summary of the source.
Citations are stored with the turn that made them, so an answer from three months ago still shows what it was built on. If the underlying file is later deleted, the citation remains as a marker that records the source is gone rather than silently unlinking — an answer whose evidence has vanished is a different thing from an answer that never had any, and the record should say which.
When there is nothing to cite
The agent says so.
This is the part that is easy to promise and hard to hold, and it is worth being concrete about what it means: an answer that cannot be grounded is allowed to be given, and is required to be marked as ungrounded. The alternative designs are worse. Refusing to answer without a source makes the product useless for the many good questions whose answer is general knowledge; answering without marking it makes every answer equally trustworthy, which means none of them are.
The same discipline runs deeper than files. Facts about your landscape carry provenance, and an answer leaning on an inferred relationship says that too.
What this does not do
- It does not verify the source. A citation proves where a statement came from, not that the document was right. A wrong specification cited correctly is still wrong.
- It does not cite across organisations. Retrieval is scoped to what you can already see.
- It does not index what it cannot read. A scanned image with no text layer contributes nothing, and does so quietly — worth knowing when a document seems to be ignored.