Loading...
Here are some docs:
{{docs}}
When does the free trial end?<doc id="1">{{doc1}}</doc>
<doc id="2">{{doc2}}</doc>
Answer only from the docs above and cite ids like [1].
If the docs do not contain the answer, say so.
Question: When does the free trial end?Ids make citations checkable, and the explicit rule stops the model from filling gaps from memory.
RAG is one way to ground answers: it retrieves sources and adds them to the prompt. Grounding also covers tool results, web search and documents the user provides.
No. The model can still misread or misquote a source, so check citations against the retrieved text.
Current, authoritative text that directly covers the question, with a clear id or URL the answer can cite.