Commit Graph
13 Commits
Author SHA1 Message Date
bendtherules 1ff1038898 refactor(ingest): remove part and parent reference in chunk
- Remove construction of `partRef` and parent section annotations from chunk text
- Directly extract and trim text from HTML chunk using cheerio
- Streamline document creation logic without additional references.
2026-04-01 18:33:57 +05:30
bendtherules f5d3884d5a refactor: move model info to constants
- Added EMBEDDING_MODEL and RERANKER_MODEL to `constants.ts`.
- Updated imports to use these constants in `agent.ts`, `agent_tools/reranker.ts`, and `setup/ingest.ts`.
- Replaced hard‑coded model strings with the new constants for Ollama embeddings and reranker.
2026-04-01 18:31:30 +05:30
bendtherules 85d888c7ba feat(ingest): add splitter, metadata and qwen3-embedding
add HTML‑aware text splitter, raise batch size and large‑doc threshold, enhance progress spinner and error logging, rename ingestSpec to buildSpecDocuments and introduce hierarchical section processing.
2026-04-01 12:49:57 +05:30
bendtherules 3b6e9a9d8f refactor(ingest): restructure section document creation logic and add warnings for oversized documents
- Move full‑section Document creation into an `else` block so it only occurs when no sub‑documents were created.
- Remove premature return that skipped adding the full section.
- Add post‑processing loop to log a warning for any final document exceeding `LARGE_DOC_THRESHOLD`.
2026-03-31 13:54:07 +05:30
bendtherules ac518b7b77 ingest.ts - handle empty db, add loader 2026-03-31 13:46:19 +05:30
bendtherules 8bbd159224 Migrate to langchain 2026-03-31 13:06:59 +05:30
bendtherules f6fc4c652a ingest.ts - brekdown 2026-03-31 12:20:51 +05:30
bendtherules 12631949b4 setup/ingest.ts: add comments 2026-03-30 18:16:55 +05:30
bendtherules f19e5ba788 refactor(constants): move SPEC_DIR and CODE_DIR to constants 2026-03-27 17:53:16 +05:30
bendtherules d7d7dc273e fix(ingest): fix any type for index 2026-03-27 17:49:32 +05:30
bendtherules 28c26d319e chore: Type-check fixes 2026-03-27 17:48:02 +05:30
bendtherules 0f5a31137f chore: Lint fixes 2026-03-27 17:47:12 +05:30
bendtherules b6dbcfe91a build: migrate to Typescript + biome 2026-03-27 17:33:58 +05:30