What it looks like
<document source="traefik-3.7-routers.md">
…documentation, 40 pages…
</document>
<document source="/opt/traefik/data/traefik.yml">
…our config…
</document>
Why doesn't the memos router get a certificate?
First write out the quotes from the documents that bear on the question, in <quotes> tags,
with the source. Then answer using only them. If the quotes don't contain the answer, say so.
Why
- The question at the end — the model reads the whole document, and the question comes last, right where the answer begins. Per Anthropic’s documentation, on long requests this order improves answer quality by up to 30%, most of all with several documents.
- Quotes first — the answer has to rest on text it found. If there’s no fitting quote, you see it before the answer, not after the model has confidently answered from memory.
- A source on every document — with several documents, the answer points to a specific file, and the confusion of “is this from the config or the documentation” goes away.
How to check the answer
Take two or three quotes and look for them in the document: grep -F "entryPoints" traefik.yml. If a quote isn’t in the
document, the model assembled it, and an answer built on it isn’t to be trusted. The API has a built-in citation mode
(citations on a document): the service itself places links to exact spots in the text.