Commit 434a1f7
committed
- Refactor: Add document parsing and secure RAG creation
This commit introduces significant new features for creating and managing Retrieval-Augmented Generation (RAG) sources, focusing on document parsing and enhanced security.
- **feat(rag): Add secure RAG creation screen**
- New UI for creating encrypted and password-protected RAGs.
- Supports admin and read-only user credentials.
- Allows configuration of loading modes (Embedded vs. Transient).
- **feat(parser): Implement multi-format document parser**
- Adds a `DocumentParser` utility to extract text from various file types.
- Supported formats include PDF, DOC, DOCX, XLS, XLSX, EPUB, and TXT.
- Integrates Apache POI, PDFBox-Android, and Epublib libraries.
- **feat(rag): Add RAG data viewer**
- Introduces `RagDataReaderActivity` to inspect the contents and structure of a RAG file.
- Provides a view of nodes, their content, metadata, and connections.
- Supports viewing both encrypted and unencrypted RAGs.
- **feat(math): Greatly expand LaTeX/Typst rendering**
- Adds over 200 new mathematical symbols to the Markdown renderer for improved LaTeX/Typst support.
- Implements rendering for `\mathbb` (blackboard bold), `\mathcal` (calligraphic), accents (`\hat`, `\vec`), and spacing commands.
- Extends superscript and subscript character mappings.
- **refactor(ui): Improve RAG management UI/UX**
- Redesigns RAG list items with clearer action buttons (`Load`, `Unload`, `Share`, `Delete`, `View Data`).
- Standardizes button styles across the RAG management and creation screens using `FilledTonalButton` and custom `ActionButton` components.
- Adds an "Import Neuron Package" button directly to the main RAG screen.
- **build: Add document parsing dependencies and ProGuard rules**
- Includes dependencies for Apache POI, PDFBox-Android, and Epublib.
- Updates ProGuard rules to retain necessary classes for the new libraries.1 parent 1404bd3 commit 434a1f7
File tree
4 files changed
+20
-8
lines changed- app
- memory-vault
- neuron-packet
4 files changed
+20
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
145 | 153 | | |
146 | 154 | | |
147 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 58 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 69 | | |
0 commit comments