From ee4384cec384f10fe3118c829c6b27e4c117d08f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 26 Apr 2024 00:50:47 +0200 Subject: Add rag --- static/rag.html | 1839 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1839 insertions(+) create mode 100644 static/rag.html (limited to 'static/rag.html') diff --git a/static/rag.html b/static/rag.html new file mode 100644 index 0000000..8294f1f --- /dev/null +++ b/static/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 -- cgit v1.2.3-70-g09d2