Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,11 @@ This document tracks the active expansion phases for the AnalyticsBot pipeline.
**Goal:** Allow the bot to monitor a directory and update analytics dynamically.
- [x] Install filesystem watcher (`npm install chokidar`).
- [x] Implement a `--watch` flag in the CLI orchestrator.
- [x] Hook `chokidar` file events (add, change, unlink) into the `pipeline.js` to update the corpus index without full application restarts.
- [x] Hook `chokidar` file events (add, change, unlink) into the `pipeline.js` to update the corpus index without full application restarts.

## Stage 5: Advanced PDF & Structural Analysis
**Goal:** Improve PDF ingestion by preserving page-level context and metadata.
- [x] Refactor `readFileData` to support page-based text content extraction.
- [x] Implement PDF metadata extraction (Author, CreationDate) to augment `Metadata Extractor`.
- [x] Update `test/pipeline.test.js` with a mock PDF fixture to validate multi-page parsing.
- [x] Test Resulting in successfull pdf file ingestion, parse and output.
226 changes: 8 additions & 218 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dependencies": {
"chokidar": "^5.0.0",
"compromise": "^14.15.1",
"mupdf": "^1.27.0",
"pdf-parse": "^2.4.5",
"tesseract.js": "^7.0.0"
}
Expand Down
Loading
Loading