#computer-science
The Dark Art of Context Truncation & Dynamic Prompt Compaction in Production RAG
Jul 22, 2024
Truncation, packing, and query-conditioned compaction when production RAG outgrows the context window.
Hyper-Specific Infrastructure Bottlenecks
Mar 14, 2023
Why average capacity metrics miss the links that actually fail, and how to find strong vs weak bottlenecks.
Positions Are Ids, Not Integers
Dec 10, 2020
Why insert-at-index loses the other person's sentence, and the merge rules plus Yjs setup that stopped doing it.
Indexing Dense Embeddings Without Fooling Yourself
Sep 16, 2020
TF-IDF still wins on exact tokens. Skip-gram and BERT vectors need a normalized index, an over-fetch, and a filter that the index itself does not apply.