Tagged “Rag”
9 articles with this tag.
- Advanced retrievalThe techniques that turn a prototype RAG into a production one: hybrid search with RRF, cross-encoder reranking, query rewriting, multi-query, HyDE, decomposition, contextual retrieval, context compression, routing, corrective and self-RAG, and agentic RAG.
- Chunking & embeddingsHow to split documents into chunks (fixed, recursive, structure-aware, semantic, parent-child, late chunking), what embeddings are, similarity metrics, choosing an embedding model, and document parsing.
- RAG evaluationHow to measure AI quality: golden datasets, retrieval metrics (recall@k, precision@k, MRR, nDCG), generation metrics (faithfulness, answer relevance, context precision and recall), LLM-as-judge, RAGAS-style frameworks, human review, and evaluation in CI and production.
- GraphRAGWhy vector RAG struggles with multi-hop and global questions, what knowledge graphs add, how GraphRAG is built (entity extraction, communities, summaries), local vs global search, hybrid graph-vector retrieval, and when it is worth the cost.
- Prompting vs RAG vs fine-tuningThe three ways to adapt an LLM to your enterprise — what each changes, what each costs, when to use which, and how LoRA, PEFT and distillation fit in. With a decision tree.
- RAG fundamentalsWhat RAG is, why enterprises use it, the ingestion and query pipelines step by step, naive vs advanced vs modular RAG, failure points and how to design a first RAG system.
- Spring AI RAGImplementing RAG in Java with Spring AI 2.0: the ETL pipeline (DocumentReader, TokenTextSplitter, metadata enrichers, VectorStore), pgvector configuration, QuestionAnswerAdvisor, modular RetrievalAugmentationAdvisor with query rewriting, metadata and permission filters, and testing.
- Case study: knowledge assistantA complete system design for an enterprise RAG assistant serving 50,000 employees: requirements, capacity estimates, architecture, ingestion and query flows, permissions, data model, scaling, reliability, security, evaluation and trade-offs.
- Vector databasesHow vector databases work: exact vs approximate nearest-neighbour search, HNSW, IVF and product quantization, metadata filtering, hybrid search, scaling, multi-tenancy, and how to choose between pgvector, OpenSearch, Pinecone, Milvus, Qdrant, Weaviate and others.