Fixing LLM Hallucinations with Retrieval Augmentation in LangChain #6

From the creator

Large Language Models (LLMs) have a data freshness problem. Even some of the most powerful models, like ChatGPT's gpt-3.5-turbo and GPT-4, have no idea about recent events. The world, according to LLMs, is frozen in time. They only know the world as it appeared through their training data. So, how do we handle this problem? We can use retrieval augmentation. This technique allows us to retrieve relevant information from an external knowledge base and give that information to our LLM. The external knowledge base is our "window" into the world beyond the LLM's training data. In this video, we will learn all about implementing retrieval augmentation for LLMs using LangChain and the Pinecone vector database. 🌲 Pinecone article: https://pinecone.io/learn/langchain-retrieval-augmentation 📌 Code notebook: https://github.com/pinecone-io/examples/blob/master/learn/generation/langchain/handbook/05-langchain-retrieval-augmentation.ipynb 👋🏼 NLP + LLM Consulting: https://aurelio.ai 👾 Discord: https://discord.gg/c5QtDB9RAP 🎙️ Support me on Patreon: https://patreon.com/JamesBriggs 🤖 70% Discount on the NLP With Transformers in Python course: https://bit.ly/3DFvvY5 🎉 Subscribe for Article and Video Updates! https://jamescalam.medium.com/subscribe https://medium.com/@jamescalam/membership 00:00 Hallucination in LLMs 01:32 Types of LLM Knowledge 03:08 Data Preprocessing with LangChain 09:54 Creating Embeddings with OpenAI's Ada 002 13:14 Creating the Pinecone Vector Database 16:57 Indexing Data into Our Database 20:27 Querying with LangChain 23:07 Generative Question-Answering with LangChain 25:27 Adding Citations to Generated Answers 28:42 Summary of Retrieval Augmentation in LangChain #artificialintelligence #langchain #nlp #openai #deeplearning #chatgpt

Stop watching · start building
Matched to Semantic Search

Makers residency 4th edition

Your idea can be anything. At our last workshops, people built plant-based nutrition businesses, a way to measure planetary resilience, crochet headwear and a way to connect lonely people living in the same building. An asset manager went on to raise an additional £25M on their fund within nine months. The fourth workshop is a full day at KOKO with Nick Sarafa, learning to build with Claude Code. Bring the thing you keep meaning to start. We’ll bring the pizza.

◆ Fri 13 Nov 2026 ◆ KOKO, London
Makers residency 4th edition
Live event
Makers residency 4th edition
Fri 13 Nov 2026
Find a job · 1 live role

Jobs in AI.
Apply now.

Apply once › get screened › meet the company

See all roles

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.