forked from 0xMassi/webclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
feat(noxa-68r): noxa-rag RAG pipeline crate #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
62554b8
feat(noxa-68r.1): crate scaffold, traits, and core types
jmagar 20e880e
feat(noxa-68r.2,noxa-68r.3,noxa-68r.4): chunker, TEI provider, Qdrant…
jmagar d66522b
feat(noxa-68r.6): factory and TOML config
jmagar 9cde0d6
feat(noxa-68r.7): filesystem watcher pipeline
jmagar 5217b99
feat(noxa-68r.8): daemon binary + README
jmagar 2e43439
fix(noxa-68r.4): replace qdrant-client with plain reqwest REST calls
jmagar 23f3922
fix(noxa-rag): address P0/P1 review comments from Copilot
jmagar 31cb9d8
fix(noxa-rag): address remaining PR review comments
jmagar 4ceb218
fix(noxa-rag): address PR #4 review comments
jmagar 26347ab
fix(noxa-rag): address new coderabbitai review comments
jmagar b398294
Update Cargo.lock
jmagar b6a8d68
fix(noxa-rag): harden TEI and Qdrant error handling
jmagar 0ed3c03
fix(noxa-rag): address remaining PR review feedback
jmagar 9bd72fe
feat(noxa-ut9): expand Metadata + add IngestionContext, extend Search…
jmagar ad298d5
feat(noxa-cz5): expand PointPayload with full metadata, update upsert…
jmagar 65073e5
feat(noxa-xn0): add 4 keyword indexes to create_collection; fix Metad…
jmagar d8f0334
feat(observability): per-step timing, session summary, heartbeat, del…
jmagar 9c37510
feat(noxa-bvr): add TEI batch/retry/413 structured logging with error…
jmagar afa4d16
feat(noxa-bzn): add embed_tokens_per_sec to indexed/reindexed log line
jmagar 09a8f29
feat(noxa-s5r): add noxa-pdf, zip, quick-xml, strip-ansi-escapes deps…
jmagar 2f62198
feat(noxa-cl1,noxa-9ww): expand indexable formats, file:// support, p…
jmagar 8a2b6fe
feat(noxa-rag): startup scan delta detection, multi-format parse_file…
jmagar a4d415f
test(noxa-7wn): add 20 unit tests covering all ingested format paths
jmagar 5e66173
feat(noxa-7bi): replace bare JSON retry with schema-error correction …
jmagar d8f5378
fix(noxa-rag): address PR #4 review comments (rounds 3)
jmagar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| [package] | ||
| name = "noxa-rag" | ||
| description = "RAG pipeline for noxa — TEI embeddings + Qdrant vector store" | ||
| version.workspace = true | ||
| edition.workspace = true | ||
| license.workspace = true | ||
|
|
||
| [[bin]] | ||
| name = "noxa-rag-daemon" | ||
| path = "src/bin/noxa-rag-daemon.rs" | ||
|
|
||
| [dependencies] | ||
| noxa-core = { workspace = true } | ||
| noxa-pdf = { path = "../noxa-pdf" } | ||
| # noxa-fetch provides extract_document() for DOCX/XLSX/CSV — reused rather than re-implemented. | ||
| noxa-fetch = { workspace = true } | ||
|
|
||
| # Multi-format ingestion | ||
| zip = "2" # DOCX, ODT, PPTX (ZIP archives) — matches noxa-fetch version | ||
| quick-xml = "0.37" # XML/OPML/RSS and DOCX word/document.xml — matches noxa-fetch version | ||
| strip-ansi-escapes = "0.2" # .log file preprocessing | ||
|
|
||
| # Async runtime | ||
| tokio = { workspace = true } | ||
|
|
||
| # Serialization | ||
| serde = { workspace = true } | ||
| serde_json = { workspace = true } | ||
| toml = "0.8" | ||
|
|
||
| # Error handling | ||
| thiserror = { workspace = true } | ||
|
|
||
| # Tracing | ||
| tracing = { workspace = true } | ||
| tracing-subscriber = { workspace = true } | ||
|
|
||
| # Async traits | ||
| async-trait = "0.1" | ||
|
|
||
| # HTTP client (plain reqwest — no primp patches needed for TEI/Qdrant) | ||
| reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } | ||
|
|
||
| # No qdrant-client crate — REST calls via plain reqwest (no protoc/gRPC dependency) | ||
|
|
||
| # Chunking | ||
| text-splitter = { version = "0.25", features = ["markdown", "tokenizers"] } | ||
| tokenizers = "0.21" | ||
|
|
||
| # UUID v5 for deterministic point IDs | ||
| uuid = { version = "1", features = ["v5", "serde"] } | ||
|
|
||
| # SHA-256 for startup scan delta detection (file content hashing) | ||
| sha2 = "0.10" | ||
|
|
||
| # Filesystem watcher | ||
| notify = "6" | ||
| notify-debouncer-mini = "0.4" | ||
|
|
||
| # Concurrent data structures | ||
| dashmap = "6" | ||
|
|
||
| # URL parsing | ||
| url = "2" | ||
|
|
||
| # CLI args | ||
| clap = { workspace = true } | ||
|
|
||
| # Date/time for failed-jobs log | ||
| chrono = { version = "0.4", features = ["serde"] } | ||
|
|
||
| # CancellationToken for coordinated shutdown | ||
| tokio-util = { version = "0.7", features = ["io"] } | ||
|
|
||
| [dev-dependencies] | ||
| tokio = { workspace = true } | ||
| tempfile = "3" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.