You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ Each demo is a standalone app that showcases a real-world use case: extracting d
6
6
7
7
## Demos
8
8
9
-
### [`rag/`](./rag) — Document RAG with Citations
9
+
### [`rag/`](./rag) — DocRAG
10
10
11
-
Ask questions across multiple `.docx` files. The AI answers with citations that scroll to the exact paragraph, comment, or tracked change in the source document.
11
+
Ask your documents. Get cited answers. Upload `.docx` files and get AI-powered answers with citations that scroll to the exact paragraph, comment, or tracked change in the source document.
Copy file name to clipboardExpand all lines: rag/README.md
+17-29Lines changed: 17 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
-
# Document RAG with SuperDoc
1
+
# DocRAG
2
2
3
-
Ask questions across multiple `.docx` files. Get answers with citations that navigate to the exact paragraph, comment, or tracked change in the source document.
3
+
Ask your documents. Get cited answers.
4
+
5
+
Upload `.docx` files, ask questions in natural language, and get answers with citations that navigate to the exact paragraph, comment, or tracked change in the source document. Powered by [SuperDoc](https://superdoc.dev).
4
6
5
7
## How it Works
6
8
7
-
1.**Upload**`.docx` files through the UI or CLI
9
+
1.**Upload**`.docx` files through the UI
8
10
2.**Extract** text, comments, and tracked changes using the [SuperDoc SDK](https://docs.superdoc.dev)
9
11
3.**Chunk** each paragraph with its stable node ID, embed with OpenAI
10
12
4.**Store** chunks in Cloudflare Vectorize, metadata in D1, files in R2
11
-
5.**Query** — user asks a question, relevant chunks are retrieved via vector search
13
+
5.**Query** — ask a question, relevant chunks are retrieved via vector search
12
14
6.**Answer** — Claude generates a response with `[cite:ID]` references
13
15
7.**Navigate** — click a citation to scroll to the source in the SuperDoc viewer
14
16
@@ -18,11 +20,10 @@ Ask questions across multiple `.docx` files. Get answers with citations that nav
0 commit comments