project-nomad/admin
brian dc7abfd41a feat(rag): add EPUB file support for Knowledge Base uploads
EPUBs are ZIP archives containing structured XHTML content with semantic
chapter/section markup, making them well-suited for RAG text extraction
and chunking.

Changes:
- Add 'epub' to determineFileType() in utils/fs.ts
- Add processEPUBFile() method in rag_service.ts that:
  - Reads container.xml to locate the OPF manifest
  - Parses the OPF spine for correct reading order
  - Extracts text from each XHTML content document using cheerio
  - Falls back to all manifest items if no spine is found
- Wire epub case into processAndEmbedFile() switch
- Add jszip dependency for ZIP archive reading (cheerio already present)

Closes #253-adjacent (epub is a common format for Project Gutenberg
content and technical reference books)
2026-03-13 13:25:01 -04:00
..
app feat(rag): add EPUB file support for Knowledge Base uploads 2026-03-13 13:25:01 -04:00
bin feat: curated content system overhaul 2026-02-11 15:44:46 -08:00
commands feat: support for updating services 2026-03-11 14:08:09 -07:00
config feat(AI Assistant): custom name option for AI Assistant 2026-03-04 20:05:14 -08:00
constants feat(AI Assistant): performance improvements and smarter RAG context usage 2026-03-11 14:08:09 -07:00
database feat: support for updating services 2026-03-11 14:08:09 -07:00
docs docs(release): finalize v1.29.0 release notes [skip ci] 2026-03-11 21:09:53 +00:00
inertia fix(UI): replace WikiHow reference with DIY repair guides 2026-03-11 14:08:09 -07:00
providers fix(Maps): static path resolution 2026-01-23 14:17:25 -08:00
public feat(docs): polish docs rendering with desert-themed components 2026-02-06 14:41:30 -08:00
resources/views fix(admin): add favicons 2026-01-13 06:58:05 -08:00
start feat: support for updating services 2026-03-11 14:08:09 -07:00
tests feat: initial commit 2025-06-29 15:51:08 -07:00
types feat(AI Assistant): performance improvements and smarter RAG context usage 2026-03-11 14:08:09 -07:00
util feat: display model download progress 2026-02-06 16:22:23 -08:00
views feat: initial commit 2025-06-29 15:51:08 -07:00
.editorconfig feat: initial commit 2025-06-29 15:51:08 -07:00
.env.example feat: Add Windows Docker Desktop support for local development 2026-01-19 10:29:24 -08:00
ace.js feat: initial commit 2025-06-29 15:51:08 -07:00
adonisrc.ts feat: background job overhaul with bullmq 2025-12-06 23:59:01 -08:00
eslint.config.js feat: openwebui+ollama and zim management 2025-07-09 09:08:21 -07:00
package-lock.json build(deps): bump tar from 7.5.9 to 7.5.10 in /admin 2026-03-11 14:08:09 -07:00
package.json feat(rag): add EPUB file support for Knowledge Base uploads 2026-03-13 13:25:01 -04:00
tailwind.config.ts feat: initial commit 2025-06-29 15:51:08 -07:00
tsconfig.json feat: initial commit 2025-06-29 15:51:08 -07:00
vite.config.ts feat: initial commit 2025-06-29 15:51:08 -07:00