diff --git "a/index.html" "b/index.html" --- "a/index.html" +++ "b/index.html" @@ -1,50 +1,1506 @@ -function renderRet(items, lid, rr = false) { - const el = $(lid); - el.innerHTML = ''; - if (!items?.length) { - el.innerHTML = `
${rr ? 'πŸ”„' : 'πŸ“š'}
No results
`; - return; + + + + + +RAG Pipeline Visualizer + + + + + + + + + + +
+
πŸ“Query
+ +
πŸ”’Embed
+ +
πŸ—„οΈSearch
+ +
πŸ“ŠTop-K
+ +
πŸ”„Rerank
+ +
πŸ€–LLM
+ +
βœ‚οΈToken
+ +
πŸ’¬Answer
+
+ + +
+ +
+
+
+ + Chat + no models + + +
+
+
+
πŸ€–
Click "Load Models" above to get started.
The full UI is ready β€” models load on demand.
+
+
+
+ + +
+ + +
+
+
+
+
+
+
+ + Retrieval + idle + + +
+
+
+
Retrieved (Top-K)
+
πŸ“š
Retrieved chunks appear here
+
+
+
+
+
+
+ + Reranking + + + +
+
+
+
After Reranking
+
πŸ”„
Reranked context appears here
+
+
+
+
+
+
+ + Tokenizer + + +
+
+
+
Tokenizer
+
+
+
+
+
Tokens
+
β€”
+
no model
+
+
+
Characters
+
β€”
+
total input
+
+
+
Words
+
β€”
+
approx
+
+
+
Chars/Token
+
β€”
+
efficiency
+
+
+
+
+ + + +
+
+
+
+
βœ‚οΈ
+ Load models and type in the chat
to see real-time tokenization
+
+
+
+
+
+
+
+
+ + Vector DB + 0 entries + + +
+
+
+
+
πŸ“­
+ No entries in vector database +
+
+
+
+
+
+
+ + + + + + + + + + + + + + + +
+ + + \ No newline at end of file