Loading topic
[2] are easy to prompt for, but the model can place them loosely. A marker can sit at the end of a paragraph that mixes several facts, and you can't tell which fact it supports. This chapter covers the alternative. The model returns JSON in which each claim lists the source ids5 min read[n] markers into links and a source list that a person can read and follow. It assumes you can read Python and regular expressions, and that you have already validated markers against the supplied sources (see "Validatin5 min read[n] markers, and verify that quoted spans occur in a source. Those checks tell you the citation points at something real. They do not tell you the source says what the claim says. This chapter covers that last gap, which is cal5 min read[1], [2], and checks the markers in code. Here you will learn how those citations go wrong, which checks catch each failu6 min read