Build a RAG Based LLM App in 20 Minutes! | Full Langflow Tutorial

Sdílet
Vložit
  • čas přidán 5. 08. 2024
  • In this video, I'm going to show you how to create your own AI application that uses RAG (Retrieval Augmented Generation) without writing a single line of code - in just a couple of minutes, using Langflow.
    If you want to land a developer job: techwithtim.net/dev
    🎞 Video Resources 🎞
    Langflow Docs/Install: docs.langflow.org/
    Langflow Github: dtsx.io/3vR07qO
    Build now with Astra DB: dtsx.io/3vZk6n2
    OpenAI API Key: platform.openai.com/api-keys
    Code/Flow File: github.com/techwithtim/Langfl...
    ⏳ Timestamps ⏳
    00:00 | Overview
    00:33 | Project Demo
    02:14 | Setup/Installation
    04:07 | Building a Basic Chatbot
    09:27 | OpenAI Integration
    12:33 | VectorStore Databases
    15:00 | Adding RAG
    21:35 | Testing The App
    23:02 | Additional Features
    Hashtags
    #techwithtim
    #nocodedevelopment
    #llm
    #RAG

Komentáře • 80

  • @Andrew-Tsegaye
    @Andrew-Tsegaye Před 3 měsíci +43

    Tim please please more more on AI, LLMs, LangChain, .... free APIs

    • @arshitrupani
      @arshitrupani Před 3 měsíci +1

      yes, i want more and more on ai, machine learning

  • @pritamsarkar3371
    @pritamsarkar3371 Před 3 měsíci +22

    Please make one dedicated playlist Tim, which will contain RAG, AI agent, vector db-related concepts

  • @BerkGoknil
    @BerkGoknil Před 3 měsíci +4

    Tim, I was trying to understand the RAG topic from the codes, but I was having difficulty understanding what the sequence was. It was a very clear and great video. Please don't deprive us of your knowledge. Thank you very much.

  • @rgarlinyc
    @rgarlinyc Před 3 měsíci +1

    Very helpful, very clearly explained - thanks a ton!

  • @Pyth_onist
    @Pyth_onist Před 3 měsíci +7

    Honestly I've been waiting for an intuitive tutorial on RAG and it's really nice that you have posted this video.
    Thanks @TechWithTim

  • @KumR
    @KumR Před 3 měsíci +2

    Wow .This is awesome Tim.

  • @braydenchristensen2889

    Great video! The intuitive UI from langflow helped a ton too

  • @janocamachovicente4645

    Thank you very much Tim! It is an excellent introductory video

  • @Lets_code_together_
    @Lets_code_together_ Před 3 měsíci +2

    Thanks for the knowledge tim😊

  • @purvislewies3118
    @purvislewies3118 Před měsícem

    Yes Tim this is what i need and more...blessed brother.

  • @DataStaxDon
    @DataStaxDon Před 3 měsíci +2

    This is AWEsome, TY!

  • @balramraviks
    @balramraviks Před 3 měsíci

    Thks Tim u r the best...

  • @xSPOOGEx
    @xSPOOGEx Před 2 měsíci

    that was well presented..

  • @jeffbenson3222
    @jeffbenson3222 Před měsícem

    Very intuitive and helpful. I'm left wondering if the parsing and vectorization of the PDF has to be done every time this gets fired up, or if you can bypass that if the database already exists in Astra.

  • @DanielCupakTUR
    @DanielCupakTUR Před 3 měsíci +6

    my left menu is entirely different...mine looks like the one in the docs e.g "inputs" "outputs" I have neither

  • @PrakharMishra-hl1jb
    @PrakharMishra-hl1jb Před 3 měsíci +2

    Great!
    how can we implement this in an app of our own, does langflow provide api for that?

  • @billwallace1945
    @billwallace1945 Před 2 měsíci +1

    I am using Hugging Face to run Langflow. I got to the first test run of the OpenAI connection. I have a funded account and valid secret key entered but get the following error after asking a question. Error building component error building vertex openAI: Openaimodelcomponentbuild() missing 1 required positional argument: 'openai_api_key' Any thoughts? Not much out in Stack or Git world.

  • @b.c.2177
    @b.c.2177 Před 2 měsíci

    Your explanation was excellent, thank you! Regarding the formatting of the PDF text, should it be structured as a series of questions and answers, or can I use a regular PDF ebook format and the system will be able to generate answers based on the book's content?

  • @kodiak809
    @kodiak809 Před 3 měsíci +1

    i was literally watching a 1hr course of Langchain but the video is 11months ago then i saw your video😂

  • @sinasmith7521
    @sinasmith7521 Před 3 měsíci

    Great content - can you please clarify whether the input pdf can be also some unstructured text data or code ? If not,is there a way to to do that ?

  • @seththunder2077
    @seththunder2077 Před 3 měsíci +1

    For the langflow that we build, is there a way for get the source code of it?

  • @BorisHrzenjak
    @BorisHrzenjak Před 3 měsíci +1

    I wonder, what's the real difference between Langflow and Flowise for instance? Are they just like the same thing, competing application for the same thing basically?

  • @felipeblin8616
    @felipeblin8616 Před 2 měsíci +1

    Hi Tim, great video! I wonder if it is possible to export as python code or similar instead of json ?

  • @harishchamarthi4798
    @harishchamarthi4798 Před měsícem +1

    I get below error when running the final flow - Error building node TextInput(ID:TextInput-Df6Gx): Module langflow.base.io.text not found. Please install it and try again. Please advise!

  • @muhammadarsalan7996
    @muhammadarsalan7996 Před 3 měsíci

    can we use this as a seprate microservice secondly integrate it with a hugging face llm, embeddings are cheap but q/a is expensive on opne ai

  • @user-td4pf6rr2t
    @user-td4pf6rr2t Před 3 měsíci +1

    langflow is cool

  • @SatyajitSatoDas
    @SatyajitSatoDas Před 2 měsíci

    How can one make it as a stand alone product (webapp or native) with variable input pdf?

  • @bencipherx
    @bencipherx Před 3 měsíci

    If this tool is free, then it’s a game changer

  • @thisismarmash
    @thisismarmash Před 3 měsíci

    I keep getting the error "Could not install packages due to an OSError: [WinError 5] Access is denied:" when I try to install it - pretty certain admin privileges are there throughout. Any ideas why this is happening?

  • @enochabban9454
    @enochabban9454 Před 2 měsíci

    The Split Text LangChain component (@ 17:49) is experimental on Langflow's UI. And when used raises a ValueError: Error building vertex Split Text: 'str' object is not callable.
    Which text splitter component did you guys use? Any help will be appreciated.

    • @Apumapantz
      @Apumapantz Před 2 měsíci

      As of langflow 1.0.0a44 use the Language Recursive Text Splitter instead. I set the separator type as python and it worked for me.

  • @AdandKidda
    @AdandKidda Před 2 měsíci

    Hi.
    Can we add function calling also with RAG, using Langflow.

  • @rabeemohammed5351
    @rabeemohammed5351 Před 3 měsíci +3

    Can you make a video about creating a chat program with files that will be local without the Internet?
    Thank you for your wonderful effort and excellent explanation in conveying the information.

  • @duponce
    @duponce Před 14 dny

    My vector Search module disappeared, do you know what it could be? There is no such option in the menu! : (

  • @KyleA_SEO
    @KyleA_SEO Před 3 měsíci

    Does anyone know if it is possible to run llama 3 with groq using this yet?

  • @pradeepjungkarki4510
    @pradeepjungkarki4510 Před měsícem

    always saying incorrect api key when i try to make a astra db whats the problem does it is with the region problem.?

  • @palidad1
    @palidad1 Před 3 měsíci

    Is there a way to have the bot do a greeting in the beginning?

  • @Sai151-smr
    @Sai151-smr Před 3 měsíci +2

    Hey Tim I didn't find the input option on the side bar

  • @uniqueavi91
    @uniqueavi91 Před měsícem

    I installed Langflow today, but it doesn't show the text input / output blocks err!

  • @timbarkry3046
    @timbarkry3046 Před měsícem

    File uploading doesnt work for me, do you know what could be the reason

  • @zazbhai5802
    @zazbhai5802 Před 3 měsíci +1

    Hey Tim Just A Small Request Dude Hope You See This Comment, Can You Make A Cource On Tensorflow?

  • @clt7640
    @clt7640 Před 3 měsíci +2

    Please use open LLM flow for rag. Thanks.

  • @eventsjamaicamobileapp1426

    What if the PDF has images and / or tables?

  • @stevefall5925
    @stevefall5925 Před dnem

    Good video, but hard to follow given all the different changes to the Langflow components, especially that Vector Search is not available.

  • @raymondwidmann2033
    @raymondwidmann2033 Před 3 měsíci +1

    Tim. Honestly your a beast bro!! What tips can you give me to learn python asap!!!???

  • @mostafaadam9082
    @mostafaadam9082 Před měsícem

    Hello, I keep getting this error and it's driving me crazy!
    1 validation error for ChatOutputResponse
    sender_name
    apparently there's a problem with the sender name type, it needs to be a string.
    (I am not a programmer so i'm very clueless)

    • @FOGSUser
      @FOGSUser Před 23 dny

      I fixed this my upgrading to langflow 1.0.9. Run 'pip install langflow -U' to update. The rebuild the components on your document.

  • @yameen3448
    @yameen3448 Před 2 měsíci

    How easy is this to scale??

  • @jvsmithjr
    @jvsmithjr Před 2 měsíci

    Tim, I don't see the Vector Search options. I have installed this on two different machines and it doesn't show up.

    • @AkashSiddabattula
      @AkashSiddabattula Před 17 dny

      Same issue here did you resolve

    • @stevefall5925
      @stevefall5925 Před dnem

      I have the same issue too

    • @AkashSiddabattula
      @AkashSiddabattula Před dnem

      @@stevefall5925 I noticed that astra db vector store has both database and vector search capabilities as they said.but I was not able to get the flow to work.

  • @vamshisaikrishnaarelli9182
    @vamshisaikrishnaarelli9182 Před 3 měsíci

    It would be really helpful if the app can query a database instead of the ped doc and give results in natural language...

  • @akshatchandna2780
    @akshatchandna2780 Před 3 měsíci

    hey, i cannot see the input option on the side bar, pls assist me

    • @tylertubridy3621
      @tylertubridy3621 Před 3 měsíci

      Same. I'm seeing a much longer list of items on my sidebar than the one in the video, but nothing saying 'input'.

    • @sdkfeldfwerer6751
      @sdkfeldfwerer6751 Před 3 měsíci

      Install pre-release

  • @iainhmunro
    @iainhmunro Před 17 hodinami

    Great - but what about deploying it to the internet ?

  • @AbhinavKumar-mm1ys
    @AbhinavKumar-mm1ys Před 3 měsíci +4

    "How can one add this chatbot feature to the website?"

  • @advenakash8757
    @advenakash8757 Před 3 měsíci +3

    i couldnt even able to install langflow have any one tried installing langflow its giving me so many errors

    • @DanielCupakTUR
      @DanielCupakTUR Před 3 měsíci +1

      it did give too many too but venv solved the issue

    • @advenakash8757
      @advenakash8757 Před 3 měsíci

      @@DanielCupakTUR oh that's all? Virtual environment fix all those

    • @shawn445
      @shawn445 Před 3 měsíci

      @@DanielCupakTUR I've tried it in and out of venv and it still fails spectacularly.

    • @advenakash8757
      @advenakash8757 Před 3 měsíci

      @@shawn445 no it worked actually but u have to use the exact python version 3.10 it works only on this version

  • @MarkVids768
    @MarkVids768 Před měsícem +1

    No longer works. Astra db Search does not show as a component

  • @user-nu6ns2ro9j
    @user-nu6ns2ro9j Před 3 měsíci +3

    free APIs

  • @JavierTorres-st7gt
    @JavierTorres-st7gt Před měsícem

    How to protect a company's information with technology ?

  • @SerkanHaytac
    @SerkanHaytac Před 3 měsíci

    Also what Tim is showing is the pre-release version which is quite different from the stable version (ie: you want have input block etc...). Simplest way to get this up and running on m1 mac is basically do " docker compose -f ./docker_example/pre.docker-compose.yml up` however you need to add "platform: linux/x86_64" to langflow service docker compose file ie:
    docker_example git:(dev) ✗ cat pre.docker-compose.yml
    version: "3.8"
    services:
    langflow:
    platform: linux/x86_64
    image: logspace/langflow:1.0-alpha

  • @HasimFN
    @HasimFN Před 22 dny

    Cna ir understand images in pdf

  • @luciusrex
    @luciusrex Před 17 dny

    Guest: do you pay your wait staff minimum wage
    Chat bot has logged off.

  • @dr_harrington
    @dr_harrington Před 3 měsíci +1

    a-pah-chee 🤣

  • @leonardoospina3192
    @leonardoospina3192 Před 2 měsíci

    El chiste es programarla no usar un servicio

  • @morespinach9832
    @morespinach9832 Před 2 měsíci +1

    Sadly langchain is pretty mediocre.