GPT 4: Superpower results with search

From the creator

GPT-4 is pretty incredible, but like its predecessors, it has problems. Hallucinations and the lack of up-to-date information are typical of Large Language Models (LLMs), from PaLM and LLaMa, to ChatGPT (gpt-3.5-turbo) and GPT 4. In this video, we'll demonstrate how to supercharge GPT4 (and other language models) using OpenAI's ChatCompletion endpoint with the latest gpt-4 model and the Pinecone vector database. Augmenting the knowledge and abilities of GPT4 with up-to-date information about the LangChain Python library. 🔗 Code notebook: https://github.com/pinecone-io/examples/blob/master/learn/generation/openai/gpt-4-langchain-docs.ipynb 👾 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 00:00 Why GPT-4 can fail - hallucinations 01:50 What we can do with retrieval augmentation 02:16 How retrieval augmentation works 07:41 Scraping docs for LLMs 10:01 Preprocessing and chunking text for GPT4 13:24 Creating embeddings with text-embedding-ada-002 14:58 Creating the Pinecone vector database 19:24 Retrieving relevant docs with semantic search 20:23 GPT-4 generated answers 23:44 GPT-4 with augmentation vs. GPT-4 without 25:34 Building powerful tools is almost too easy #artificialintelligence #gpt4 #openai #nlp #vectorsearch

Choose to Build with AI
Matched to Hugging Face

AI Maker Residence 3

The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code. Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.

◆ Fri 09 Oct 2026 ◆ KOKO Cafe, London ◆ With Nick Sarafa
AI Maker Residence 3
Live event
AI Maker Residence 3
Fri 09 Oct 2026

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.