DP-800

Introduction to Retrieval-Augmented Generation in SQL

When to use RAG, preparing retrieved rows as JSON, calling a language model with sp_invoke_external_rest_endpoint and extracting its response.

  • 4 lessons
  • Module quiz

Retrieval-augmented generation grounds a language model's answers in data retrieved from the database at question time, and the whole pipeline can run in T-SQL.

What the exam expects

Questions test RAG use cases, converting rows to JSON, building prompts and calling models with sp_invoke_external_rest_endpoint, and extracting answers and structured output.

How this module is organized

RAG Use Cases and Architecture covers when and how. Converting Retrieved Data to JSON for Models, Calling a Language Model with sp_invoke_external_rest_endpoint and Extracting Language Model Responses cover each step.

  1. RAG Use Cases and Architecture Lesson 1
  2. Converting Retrieved Data to JSON for Models Lesson 2
  3. Calling a Language Model with sp_invoke_external_rest_endpoint Lesson 3
  4. Extracting Language Model Responses Lesson 4
  5. Practise and review
  6. Checkpoint Practice activities across the module
  7. Test your knowledge 5 questions