Ioannis Papapanagiotou retweeted
An overview of how we're integrating AI in the reliability tech and practices - sre.google/resources/practic… credit: @ipapapa
Benchmarked: H100 vs Gemini Flash. Result: H100 choked on prefill. Gemini flew. Without complex disaggregation, a single H100 is just an expensive heater. ioannisp.medium.com/the-real…
Choosing a text splitter for RAG?
📏 Character: Splits by count (e.g. 2000 chars)
→ Simple, predictable
→ Cuts mid-sentence, mid-table
🔢 Token (TikToken): Splits by LLM tokens
→ Better for context planning
→ Still arbitrary cuts
I've been recommending RAG to save costs. Time to reconsider. Testing Gemini Flash 3 with 22 technical manuals + implicit caching (75% off repeated prefixes):
Full documents as system prompt became:
→ Cost-competitive with RAG
→ Higher quality responses
The trade-off isn't cost vs quality anymore. It's:
• Cold start cost (Full Docs higher)
• Query volume (Full Docs wins at scale)
• Context stability (Full Docs needs consistent prefix)
RAG retrieves fragments. Full Docs preserves relationships.
Running a high-performance multilingual reranker on a 1 vCPU instance is a recipe for latency. The local ms-marco model was "good enough," but I needed "perfect" handling of foreign technical terminology without crashing the server.
The new reranker is so effective it retrieved too many similar manuals. I countered this with a System Prompt "Phase Filter"—explicitly instructing the LLM to verify requirements against the retrieved specs.
The LLM kept "lazy-loading" generic definitions from general category files instead of reading the specific manuals. I injected a "Critical Instruction" into the System Prompt. Result: It now ignores the easy answer and digs for the specific brands.
Model: Gemini 3.0 Pro (Preview)
Embeddings: gemini-embedding-001
Reranker: ms-marco-MiniLM (Local)
The accuracy difference is night and day. If you aren't reranking, you aren't really searching. 🚀
#AI #RAG #Engineering #Gemini #LLMs
This work on Program of Thoughts (PoT) presents a compelling method for enhancing LLM performance on numerical reasoning tasks. By having the model generate a program to be executed, it effectively disentangles the reasoning and computational steps. arxiv.org/abs/2211.12588

