AI & LLM
RAG
Answers grounded in your own documents: retrieve passages and put them into the prompt.
Article
RAG: answers grounded in your own documents
Retrieval-Augmented Generation from basics to production – chunking, hybrid search with BM25 and RRF, reranking, cited answers with Claude, evaluation and the cases where RAG is unnecessary.
Related articles
- Embeddings and vector databases: searching by meaning
What an embedding is, how to compute cosine similarity, which model to pick and how to store millions of vectors in pgvector, Qdrant or Chroma – with code in Python, TypeScript, C#, Java and Go.
- AI in Python: Anthropic SDK, Pydantic, LangChain, LlamaIndex and FastAPI in practice
A map of the richest AI ecosystem – when the provider SDK with Pydantic is enough and when LangChain or LlamaIndex pay off – plus streaming, tools, RAG with sentence-transformers and Qdrant, an MCP…
- AI in Java: the official SDK, Spring AI and LangChain4j in practice
A map of the AI ecosystem on the JVM – when the official Anthropic SDK is enough, when Spring AI and when LangChain4j – plus streaming, structured responses in records, tools, RAG with pgvector and…
- LLM fundamentals: tokens, context windows and next-token prediction
How a large language model really works – from tokenization and the transformer, through context windows and sampling, to costs, hallucinations and a first API call in five languages.
- Fine-tuning language models: when it pays off, LoRA and QLoRA in practice
How fine-tuning differs from prompting and RAG, when it really makes sense, how to prepare data, how LoRA and QLoRA work and how to measure whether the tuned model is better – with code in Python,…
- Evaluating LLM applications (evals): tests for systems that are not deterministic
How to build an evaluation set, combine code checks with LLM-as-judge, count results honestly and stop regressions in CI – using a pierogi restaurant assistant, with code in Python, TypeScript and C#.
- AI in Go: the official SDK, LangChainGo and MCP in fast services
A map of the AI ecosystem in Go – the official Anthropic SDK, LangChainGo, the MCP Go SDK, pgvector and Ollama – plus SSE streaming with cancellation through context, structured responses, the tool…
Around the topic
- NirDiamant/RAG_Techniques repo · github · NirDiamant
- Retrieval-Augmented Generation (RAG) | Pinecone article · web · Pinecone
- microsoft/graphrag repo · github · microsoft
- run-llama/llama_index repo · github · run-llama
- Ragas article · web · Ragas
- Contextual retrieval in AI systems article · web · Anthropic
- Abhinav Kimothi on Retrieval-Augmented Generation podcast · apple-podcasts · Software Engineering Radio - the podcast for professional software developers
- HKUDS/RAG-Anything repo · github · HKUDS
- RAG Is A Hack - with Jerry Liu from LlamaIndex podcast · apple-podcasts · Latent Space: The AI Engineer Podcast
- Production RAG: what I learned from processing 5M+ documents article · web · blog.abdellatif.io
- RAG Is Simpler Than You Think article · web · Rafael Pierre
- Sam Partee on Retrieval Augmented Generation (RAG) podcast · apple-podcasts · The InfoQ Podcast
- Meta Superintelligence Labs' first paper is about RAG article · web · rudyl.ai
- How to Evaluate RAG Systems When Ground Truth Keeps Changing podcast · apple-podcasts · AI Engineering Podcast
- Modular RAG Architectures with Java and Spring AI presentation · web · Thomas Vitale
- What Most Enterprises Get WRONG About RAG & AI Agents video · youtube · InfoQ
- Azamat Omuraliev - When RAG is not enough: Architecting for 10M+ context windows video · youtube · PyData
- Skills vs MCP vs RAG vs Memory: What AI Agents Need to Know video · youtube · IBM Technology
- MCP vs. RAG: How AI Agents & LLMs Connect to Data video · youtube · IBM Technology
- RAG on your data with .NET, AI and Azure SQL video · youtube · dotnet
- Practical Samples - Chat with Your Data (RAG) video · youtube · dotnet
- Building Generative AI apps with your data in Azure Cosmos DB video · youtube · dotnet
- Core GenAI Techniques - Retrieval Augmented Generation video · youtube · dotnet