RAG
13 articles on BlogLLM
- RAG vs Fine-Tuning: What's Going Wrong
My take: fine-tuning is often touted as a silver bullet for AI accuracy, but it's not a magic fix for every issue. In fact, sometimes it can make things worse. Recently, I came…
- How DoorDash Cut LLM Web Search Costs 98% Without Losing Accuracy
Turn on built-in web search in an LLM API and you get grounded answers with one flag. DoorDash's engineers found that convenience was costing them control, money and even clean…
- 1 in 5 RAG Pipelines Exposed to Indirect Prompt Injection
I was surprised to come across a post on Dev.to that highlighted the issue of indirect prompt injection with poisoned documents, a serious security risk that developers should be…
- What Is an Embedding, and Why Does Every AI App Use One?
Ask a search box for "cheap laptop" and a page that says "affordable notebook" will not match a single word. Old keyword search misses it. Almost every modern AI app, from…
- Agentic RAG in Python: Make Retrieval a Tool the Agent Decides to Call
The trip helper's model knows nothing about Casa Azul's breakfast hours or the price of a day pass in the travel guide. That information lives in a document. If the agent answers…
- Thirteen Layers of Production AI Systems
I've seen many AI projects stall due to the complexities of production AI systems. A recent post on Dev.to outlined the thirteen layers of production AI systems, and it got me…
- RAG Guardrails Are a Bottleneck
I've been reading about RAG (Request, Action, Guardrail) guardrails in the LLM community lately, and I'm starting to think they're a major pain point. Not because they're not…
- A Custom LLM Beats RAG and Fine-Tuning for Business Teams
I've been working with business teams to implement AI models, and I've noticed a common question: which approach to use? After digging through the recent research and discussions…
- Model Annealing: A Data-Efficient Learning Solution
After working on several large language models, I realized that finding ways to make them more efficient is crucial. With the amount of data we're dealing with, it's not always…
- Semantic Priors in Causal Discovery
I've been working with causal discovery algorithms for a while now, and I've seen how they can help us understand complex systems. However, when dealing with partially-identified…
- MCP vs RAG vs agent skills, the decision guide
MCP, RAG and agent skills solve three different problems. MCP connects the model to live tools. RAG gives the model facts from your documents. A skill is a written procedure that…
- RAG in plain English
RAG is answering with your own documents open in front of the model. It stands for retrieval-augmented generation. The model does not guess from memory. It looks up the answer in…
- RAG vs fine-tuning, which one do you actually need
RAG is for facts that change. Fine-tuning is for behaviour that stays the same. Most teams need RAG. Few need fine-tuning. Pick the wrong one and you pay for training when a…