RAG From Scratch: Part 1 (Overview)

LLMs are a powerful new platform, but they are not always trained on data that is relevant for our tasks. This is where retrieval augmented generation (or RAG) comes in: RAG is a general methodology for connecting LLMs with external data sources such as private or recent data. It allows LLMs to use external data in generation of their output. This video series will build up an understanding of RAG from scratch, starting with the basics of indexing, retrieval, and generation. It will build up to more advanced techniques to address edge cases or challenges in RAG.
Code:
github.com/langchain-ai/rag-f...
Slides:
docs.google.com/presentation/...

Пікірлер: 32

  • @ZivRivkis
    @ZivRivkis4 ай бұрын

    Great walkthrough. Thank you for taking the time to put this together.

  • @anonymous6666
    @anonymous66664 ай бұрын

    Having more, shorter videos is really helpful and makes the content far easier to consume and learn from. Thanks for teaching us! Please keep making tutorial playlists with shorter videos.

  • @Arvolve
    @Arvolve4 ай бұрын

    Nice walkthrough. thanks!

  • @newchaoz
    @newchaozАй бұрын

    Thanks so much for the hands on tutorial! Very nicely made.

  • @bramd_
    @bramd_3 ай бұрын

    Great tutorial. 2 small fixes to get the code running. (1) add bs4 to ! pip install (2) and the os.environ['OPENAI_API_KEY'] = 'Your key' to import os. Have fun!

  • @mori-hosseini
    @mori-hosseini4 ай бұрын

    Great playlist!

  • @efru1
    @efru13 ай бұрын

    Would love a video series going over using langchain in combination with your own local SQL data.

  • @micbab-vg2mu
    @micbab-vg2mu4 ай бұрын

    Great video :) thank you

  • @slipthetrap
    @slipthetrap4 ай бұрын

    Very nice, thanks! It would be great to see a RAG tutorial that was totally off the internet, well, except for installation and downloading. I can't find any such demo's; there's always an API of some sort. In a way, I get it, but still it would be nice to see a RAG with WiFi off and no internet ... just once. Thanks as I've learned a bit more.

  • @r.lancemartin7992

    @r.lancemartin7992

    3 ай бұрын

    (This is Lance from the video.) I did one on local RAG. It shows how to set up local LLM and embedding model w/ Ollama and Nomic: kzread.info/dash/bejne/d2anytOsidrek84.html

  • @hxxzxtf
    @hxxzxtf6 күн бұрын

    🎯 Key points for quick navigation: 00:03 *📹 The "RAG from Scratch" series will cover basic principles and advanced topics for building LLM applications with LangChain.* 00:15 *🔒 LLMs haven't seen all data, including private or recent data, due to limited pre-training runs.* 00:44 *📊 LLMs have context windows that are increasing in size, representing dozens to hundreds of pages of information.* 01:10 *💻 Retrieval-Augmented Generation (RAG) is a popular paradigm for connecting LLMs to external data, involving three stages: indexing, retrieval, and generation.* 02:06 *📝 Future videos will explore methods and tricks for RAG's three basic components in detail.* Made with HARPA AI

  • @user-yj2yl8en3i
    @user-yj2yl8en3i4 ай бұрын

    Hoping that too have production ready checklists, Hoping to do the same with JavaScript

  • @OccamsPlasmaGun
    @OccamsPlasmaGun4 ай бұрын

    Can you use a higher resolution for your videos? At least 1080p for anything with text.

  • @r.lancemartin7992

    @r.lancemartin7992

    3 ай бұрын

    (Lance is Lance from the video.) Yes, will do. It was a problem w/ Loom. Apologies.

  • @aravindanpe3634
    @aravindanpe36343 ай бұрын

    Hi, Great tutorial series here. A quick question as I am not able to find the right documentation for this. Can you tell me how rag_chain = ( | ).invoke snippet works. Per my understanding we are piping one result to another as we would with grep. is it similar?

  • @jollojakar8995
    @jollojakar89954 ай бұрын

    So RAG builds the prompt and this can scale with context window size?

  • @salilmandal872
    @salilmandal8724 ай бұрын

    Hi, how are you bypassing rate limit error of openAi

  • @daspradeep
    @daspradeep4 ай бұрын

    anything beyond "frozen" rag?

  • @rohanbsahu3651
    @rohanbsahu36514 ай бұрын

    great start. but the code link is broken. 404 error.

  • @JuneRay-tg3gd
    @JuneRay-tg3gd2 ай бұрын

    Could you provide the code demo? Thanks!

  • @____2080_____
    @____2080_____4 ай бұрын

    Guest We're too early for the Notebook to be ready. #timeofcomment

  • @peterbliznak8652

    @peterbliznak8652

    4 ай бұрын

    ok np

  • @kalkal0099
    @kalkal00994 ай бұрын

    Great video, but please fix the code link.

  • @blaaarp4u
    @blaaarp4uАй бұрын

    How can I run those Jupiter notebook locally, i've clone them now what?

  • @laoyeexuan5346
    @laoyeexuan53462 ай бұрын

    why 720p?

  • @xianwang5183
    @xianwang51832 ай бұрын

    unfortunately, under 720P resolution, some text in the slides are very difficult to see clearly. I will be much better, if we can get 1080p or even higher resolution.

  • @nellatara

    @nellatara

    2 ай бұрын

    There is a link to the slides in the description.

  • @xianwang5183

    @xianwang5183

    2 ай бұрын

    @@nellatara many thanks to your help

  • @peterbliznak8652
    @peterbliznak86524 ай бұрын

    code URL == 404

  • @antoniome5278

    @antoniome5278

    4 ай бұрын

    Yes, It would be great to have access

  • @amallukose3763
    @amallukose37634 ай бұрын

    gemini 1.5