RAG

Methods to Select the 5 Most Relevant Documents for AI Search

, I discuss a selected step of the RAG pipeline: The document retrieval step. This step is critical for any RAG system’s performance, considering that without fetching essentially the most relevant documents, it’s difficult...

RAG Explained: Understanding Embeddings, Similarity, and Retrieval

, I walked through constructing an easy RAG pipeline using OpenAI’s API, LangChain, and native files, in addition to effectively chunking large text files. These posts cover the fundamentals of organising a RAG pipeline...

Why Context Is the Latest Currency in AI: From RAG to Context Engineering

, I saw our production system fail spectacularly. Not a code bug, not an infrastructure error, but simply misunderstanding the optimization goals of our AI system. We built what we thought was a elaborate...

The best way to Context Engineer to Optimize Query Answering Pipelines

engineering is some of the relevant topics in machine learning today, which is why I’m writing my third article on the subject. My goal is to each broaden my understanding of engineering contexts...

Hitchhiker’s Guide to RAG: From Tiny Files to Tolstoy with OpenAI’s API and LangChain

, I walked you thru organising a quite simple RAG pipeline in Python, using OpenAI’s API, LangChain, and your local files. In that post, I cover the very basics of making embeddings out of...

Methods to Train a Chatbot Using RAG and Custom Data

? RAG, which stands for Retrieval-Augmented Generation, describes a process by which an LLM (Large Language Model) could be optimized by training it to tug from a more specific, smaller knowledge base relatively than its...

Hitchhiker’s Guide to RAG with ChatGPT API and LangChain

generate tons of words and responses based on general knowledge, but what happens when we'd like answers requiring accurate and specific knowledge? Solely generative models often struggle to offer answers on domain specific...

Construct an MCQ App

I explain find out how to construct an app that generates multiple alternative questions (MCQs) on any user-defined subject. The app is extracting Wikipedia articles which are related to the user’s request and...

Recent posts

Popular categories

ASK ANA