Lesson 4.1

Grounding answers with citations

An answer the user can verify is worth far more than a confident one. Carry identifiers through retrieval so every claim can point back to a source.

7mAdvanced4,885 students
Video thumbnail for Grounding answers with citations

Sign in to watch this lesson

Browsing is free. Create an account to play videos and track your progress.

Overview

An answer the user can verify is worth far more than a confident one. Carry identifiers through retrieval so every claim can point back to a source.

What this lesson covers

  • Instruct the model to answer only from context
  • Thread source ids through to the rendered answer
  • Make citations clickable back to the original

This lesson sits in Grounded Generation, part of Retrieval-Augmented Generation from Scratch. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will:

  • Instruct the model to answer only from context
  • Thread source ids through to the rendered answer
  • Make citations clickable back to the original
Grounding answers with citations — Skiply