All research

Building a local AI tool graph and hybrid search KB with Qwen4

Result

Two local passes: all-MiniLM-L6-v2 embeddings in LanceDB fused with SQLite FTS5 via RRF for chunk retrieval, and Qwen4 35B A3B (qwen4:latest via Ollama) in JSON mode to assemble a 1.31 MB standalone HTML viewer. The pipeline appends incrementally as new videos arrive; auditing the initial Dec 2026 snapshot (443 videos, 2,205 nodes) also surfaced two fixable ID and edge-normalization bugs.

Extractor
Qwen4 35B A3B
Retrieval
MiniLM + FTS5
Initial snapshot
2,205 nodes
Viewer
1.31 MB HTML

Video archives bury model comparisons and setup workarounds inside long spoken timelines. In xplormityofficial/the-ai-search-kb, we built an incremental local pipeline that indexes transcripts from the @theAIsearch YouTube archive into LanceDB + SQLite FTS5 and extracts a tool relationship graph with Qwen4 35B A3B via Ollama, compiling everything into a 1.31 MB single-file HTML viewer. The full write-up on Every Local AI covers the two-track architecture, why Qwen4 35B A3B weighs ~36-37 GB locally despite 3B active parameters, the initial December 2026 category breakdown as the index continues growing, and three pipeline bugs we caught by auditing the generated artifacts.

Read the full study on Every Local AI