Build an interactive RAG application with Gemini : A Step-by-Step Guide

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • Hello everyone! In today's video, I'll guide you through the process of creating a RAG application using the Gemini model, all with the free version of the API. This tutorial is designed with two main sections. In the first part, we'll explore a notebook I've created to demonstrate how to use ChromaDB as a vector database. This will help you store domain-specific datasets and enable Gemini to provide answers based on relevant passages stored in the vector database.
    Moving on to the second part, we'll see how to build a cool looking interface. This part is all about interacting with the model.
    Note : We are using python to interact with the Gemini API
    By the end of this tutorial, you'll gain insights into:
    • Extracting data from a JSON or a PDF file.
    • Storing the vector representation of the data into ChromaDB.
    • Using the embedding model to embed data chunks.
    • Using LangChain to efficiently split large texts into manageable chunks.
    • Creating a user-friendly interface using Chainlit.
    Have a look at the project on this repository :
    github.com/ImadSaddik/RAG_Wit...
    Get the API key from here :
    makersuite.google.com/app/apikey
    Support us at:
    / 3codecamp
    ⭐️ Contents ⭐️
    (00:00) Introduction
    (01:16) Part 1 : The notebook
    (17:34) Part 2 : The interface
    (35:04) The End
    #rag #gemini_api #3_code_campers

Комментарии • 6

  • @trinath-n6c
    @trinath-n6c 13 дней назад

    hi Imad Saddik can u please help me with the dataset you used for this .thnxs in advance.

    • @3CodeCampers
      @3CodeCampers  12 дней назад

      @@trinath-n6c Hello, yes. Tell me what you want me to help you with ?

    • @trinath-n6c
      @trinath-n6c 12 дней назад

      @@3CodeCampers thanxs i figured out:).
      btw i am really thankfull to your videos.

    • @3CodeCampers
      @3CodeCampers  11 дней назад

      @@trinath-n6c Thank you

  • @xeno7828
    @xeno7828 5 дней назад

    thx
    but next time please translate the texts to english .. it makes hard to understand properly

    • @3CodeCampers
      @3CodeCampers  4 дня назад

      Thank you for the comment. I will try to keep things in English next time 😉