RAG From Scratch: Part 3 (Retrieval)

2024 ж. 5 Ақп.
11 911 Рет қаралды

This is the third video in our series on RAG. The aim of this series is to build up an understanding of RAG from scratch, starting with the basics of indexing, retrieval, and generation. This video focuses on retrieval, covering the process of document search using an index.
Code:
github.com/langchain-ai/rag-f...
Slides:
docs.google.com/presentation/...

Пікірлер
  • Really great explanation sir. Great work from langchain team.

    @gnkbhuvan@gnkbhuvan4 күн бұрын
  • Lance is the man! love these small bites of gold.

    @mr.daniish@mr.daniishАй бұрын
  • Excellent explanations, Lance! I'm looking forward to the remaining videos.

    @bqmac43@bqmac432 ай бұрын
  • Awesome explanation to the basics

    @noordin85@noordin8513 күн бұрын
  • Many thanks Lance for this, a great service for the community. In the example, does get_relevant_documents embed the query internally before running the search?

    @Learn-it-all-Do-it-all@Learn-it-all-Do-it-all2 ай бұрын
    • Yep, when you create the vector store you input the embedding strategy

      @Orcrambo@Orcrambo2 ай бұрын
    • Thanks @Orcrambo.

      @Learn-it-all-Do-it-all@Learn-it-all-Do-it-all2 ай бұрын
  • Thank you! With CSVLoaders a document has both "page_content" and "metadata." Do both get embedded, or only page_content? If page_content alone, does the retriever uses natively (without add instructions) metadata as well?

    @jzam5426@jzam5426Ай бұрын
  • First

    @zishanahmedshaikh@zishanahmedshaikh2 ай бұрын
KZhead