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

Поділитися
Вставка
  • Опубліковано 14 лип 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

КОМЕНТАРІ • 71

  • @Andrew-Tsegaye
    @Andrew-Tsegaye 2 місяці тому +41

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

    • @arshitrupani
      @arshitrupani 2 місяці тому +1

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

  • @pritamsarkar3371
    @pritamsarkar3371 2 місяці тому +20

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

  • @BerkGoknil
    @BerkGoknil 2 місяці тому +2

    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.

  • @KumR
    @KumR 2 місяці тому +2

    Wow .This is awesome Tim.

  • @Pyth_onist
    @Pyth_onist 2 місяці тому +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

  • @rgarlinyc
    @rgarlinyc 2 місяці тому +1

    Very helpful, very clearly explained - thanks a ton!

  • @Lets_code_together_
    @Lets_code_together_ 2 місяці тому +2

    Thanks for the knowledge tim😊

  • @janocamachovicente4645
    @janocamachovicente4645 10 годин тому

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

  • @DataStaxDon
    @DataStaxDon 2 місяці тому +2

    This is AWEsome, TY!

  • @purvislewies3118
    @purvislewies3118 Місяць тому

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

  • @balramraviks
    @balramraviks 2 місяці тому

    Thks Tim u r the best...

  • @xSPOOGEx
    @xSPOOGEx 2 місяці тому

    that was well presented..

  • @kodiak809
    @kodiak809 2 місяці тому +1

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

  • @bencipherx
    @bencipherx 2 місяці тому

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

  • @jeffbenson3222
    @jeffbenson3222 Місяць тому

    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.

  • @user-td4pf6rr2t
    @user-td4pf6rr2t 2 місяці тому +1

    langflow is cool

  • @DanielCupakTUR
    @DanielCupakTUR 2 місяці тому +6

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

  • @rabeemohammed5351
    @rabeemohammed5351 2 місяці тому +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.

  • @b.c.2177
    @b.c.2177 Місяць тому

    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?

  • @sinasmith7521
    @sinasmith7521 2 місяці тому

    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 ?

  • @felipeblin8616
    @felipeblin8616 2 місяці тому +1

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

  • @PrakharMishra-hl1jb
    @PrakharMishra-hl1jb 2 місяці тому +2

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

  • @harishchamarthi4798
    @harishchamarthi4798 Місяць тому +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!

  • @clt7640
    @clt7640 2 місяці тому +2

    Please use open LLM flow for rag. Thanks.

  • @BorisHrzenjak
    @BorisHrzenjak 2 місяці тому +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?

  • @seththunder2077
    @seththunder2077 2 місяці тому +1

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

  • @muhammadarsalan7996
    @muhammadarsalan7996 2 місяці тому

    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

  • @billwallace1945
    @billwallace1945 2 місяці тому +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.

  • @SerkanHaytac
    @SerkanHaytac 2 місяці тому

    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

  • @zazbhai5802
    @zazbhai5802 2 місяці тому +1

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

  • @raymondwidmann2033
    @raymondwidmann2033 2 місяці тому +1

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

  • @SatyajitSatoDas
    @SatyajitSatoDas Місяць тому

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

  • @jvsmithjr
    @jvsmithjr Місяць тому

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

  • @AdandKidda
    @AdandKidda Місяць тому

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

  • @vamshisaikrishnaarelli9182
    @vamshisaikrishnaarelli9182 2 місяці тому

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

  • @palidad1
    @palidad1 2 місяці тому

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

  • @thisismarmash
    @thisismarmash 2 місяці тому

    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?

  • @KyleA_SEO
    @KyleA_SEO 2 місяці тому

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

  • @enochabban9454
    @enochabban9454 Місяць тому

    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 Місяць тому

      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.

  • @Sai151-smr
    @Sai151-smr 2 місяці тому +2

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

  • @pradeepjungkarki4510
    @pradeepjungkarki4510 Місяць тому

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

  • @uniqueavi91
    @uniqueavi91 28 днів тому

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

  • @timbarkry3046
    @timbarkry3046 10 днів тому

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

  • @yameen3448
    @yameen3448 Місяць тому

    How easy is this to scale??

  • @akshatchandna2780
    @akshatchandna2780 2 місяці тому

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

    • @tylertubridy3621
      @tylertubridy3621 2 місяці тому

      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 2 місяці тому

      Install pre-release

  • @mostafaadam9082
    @mostafaadam9082 8 днів тому

    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 2 дні тому

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

  • @AbhinavKumar-mm1ys
    @AbhinavKumar-mm1ys 2 місяці тому +4

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

  • @user-nu6ns2ro9j
    @user-nu6ns2ro9j 2 місяці тому +3

    free APIs

  • @advenakash8757
    @advenakash8757 2 місяці тому +3

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

    • @DanielCupakTUR
      @DanielCupakTUR 2 місяці тому +1

      it did give too many too but venv solved the issue

    • @advenakash8757
      @advenakash8757 2 місяці тому

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

    • @shawn445
      @shawn445 2 місяці тому

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

    • @advenakash8757
      @advenakash8757 2 місяці тому

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

  • @JavierTorres-st7gt
    @JavierTorres-st7gt 22 дні тому

    How to protect a company's information with technology ?

  • @MarkVids768
    @MarkVids768 11 днів тому +1

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

  • @HasimFN
    @HasimFN 16 годин тому

    Cna ir understand images in pdf

  • @dr_harrington
    @dr_harrington 2 місяці тому +1

    a-pah-chee 🤣

  • @leonardoospina3192
    @leonardoospina3192 Місяць тому

    El chiste es programarla no usar un servicio

  • @morespinach9832
    @morespinach9832 Місяць тому +1

    Sadly langchain is pretty mediocre.