Add document embedding and retrieval via a dedicated embedding model #10
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-deep-research-max-turns-report"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
--doc <PATH>(repeatable, file or directory — directories are scanned one level deep) lets the researcher draw on user-supplied documents alongside the websrc/documents.rsresolves paths into embeddable text;src/retrieval.rsembeds them with a dedicated embedding model (nomic-embed-text, kept separate from the chat models used elsewhere) into an in-memory vector index and retrieves the excerpts most relevant to the topic once up frontsrc/researcher.rsfolds retrieved excerpts into the researcher's task under the same footnote-citation scheme already used for web sources-lmodeTest plan
cargo build/cargo test(24 passed, 1 ignored) /cargo clippy --all-targets -- -D warnings/cargo fmt -- --checknomic-embed-textpull and a real research round: a planted fact sheet was correctly ranked as the most relevant of several embedded documents and appeared in the researcher's task before its first turn