From d77a27d9cbe1c040b66f2bd588e198eda0129b3d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 26 Apr 2024 21:22:22 +0200 Subject: Add presentation --- docs/rag.html | 1839 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ docs/rag.md | 64 ++ 2 files changed, 1903 insertions(+) create mode 100644 docs/rag.html create mode 100644 docs/rag.md diff --git a/docs/rag.html b/docs/rag.html new file mode 100644 index 0000000..8294f1f --- /dev/null +++ b/docs/rag.html @@ -0,0 +1,1839 @@ + + + + + + + + + + + + + + + + + + +

Retrieval Augmented Generation

+
+ image +
+
+

The Retriever

+
+ image +
+
+
+ image +
+
+
+ image +
+
+
+ image +
+
+
+ image +

some of the snippets retrieved from the vector database are not always relevant or +of good quality, e.g. the contents pages of a book

+
+

Solution?

+

Add another LLM of course!

+
+
+
+

Reranker

+
+
+image +
+
+
+image +
+ +
+
+
+ + + + + + + + \ No newline at end of file diff --git a/docs/rag.md b/docs/rag.md new file mode 100644 index 0000000..d573f06 --- /dev/null +++ b/docs/rag.md @@ -0,0 +1,64 @@ +# Retrieval Augmented Generation + +
+ image +
+ +{pause up} + +# The Retriever + +
+ image +
+ +{pause up} + +
+ image +
+ +{pause up} + +
+ image +
+ +{pause up} + +
+ image +
+ +{pause up} + +
+ image + +some of the snippets retrieved from the vector database are not always relevant or +of good quality, e.g. the contents pages of a book + +{pause .block #solution} +> **Solution?** +> +> {pause focus-at-unpause=solution} +> Add another **LLM** of course! + +
+ +{pause up} +{the attributes} + +# Reranker + +{pause left} + +
+image +
+ +{pause up} + +
+image +
-- cgit v1.2.3-70-g09d2