Making an AI agent cite a source for every claim
TL;DR:
For each candidate identity the server does this, simplified from our code: In our code a source is an entry in the dossier's source list with the http or https address of a public host.
Longer Read:
We kept the instruction in the prompt and moved the decision into code that runs after the model has answered. Where the code can't tell for sure where a sentence ends, as with "Example Inc. From version 1.110.0, when the model left a fact without a source, the server attached one itself, taking the page from the scan that shared the most words with the fact.
Related Skills:
Software Design
💬 0 comments