Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update rag.md

Omar Khattabaecc8bf7c4e7
diff --git a/docs/tutorials/rag.md b/docs/tutorials/rag.md
index 7adbd9df2..aba461a5b 100644
--- a/docs/tutorials/rag.md
+++ b/docs/tutorials/rag.md
@@ -2,7 +2,7 @@
sidebar_position: 1
---
-# RAG: A Step-by-Step Guide
+# [Tutorial 01] RAG: A Step-by-Step Guide
Retrieval-augmented generation (RAG) is an approach that allows LLMs to tap into a large corpus of knowledge from sources and query its knowledge store to find relevant passages/content and produce a well-refined response.
@@ -216,4 +216,4 @@ Average Metric: 13 / 50 (26.0): 100%|██████████| 50/50 [00:
Although this simple `compiled_rag` program is able to answer a decent fraction of the questions correctly (on this tiny set, over 40%), the quality of retrieval is much lower.
-This potentially suggests that the LM is often relying on the knowledge it memorized during training to answer questions. To address this weak retrieval, let's explore a second program that involves more advanced search behavior.
\ No newline at end of file
+This potentially suggests that the LM is often relying on the knowledge it memorized during training to answer questions. To address this weak retrieval, let's explore a second program that involves more advanced search behavior.