How to Build an AI Document Chatbot in 10 Minutes

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • 🚀 Kick-start your freelance career in data: www.datalumina...
    Easily Build LLMs Apps - In this video, we are going to explore Flowise, an open-source UI visual tool to build your customized LLM flow using LangchainJS, written in Node Typescript/Javascript.
    🔗 Links
    flowiseai.com/
    github.com/Flo...
    github.com/dav...
    www.docker.com/
    docs.npmjs.com...
    👋🏻 About Me
    Hey there, my name is @daveebbelaar and I work as a freelance data scientist and run a company called Datalumina. You've stumbled upon my RUclips channel, where I give away all my secrets when it comes to working with data. I'm not here to sell you any data course - everything you need is right here on RUclips. Making videos is my passion, and I've been doing it for 18 years.
    While I don't sell any data courses, I do offer a coaching program for data professionals looking to start their own freelance business. If that sounds like you, head over to www.datalumina... to learn more about working with me and kick-starting your freelance career.

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

  • @daveebbelaar
    @daveebbelaar  Год назад +2

    👉🏻Join my FREE community if you want to learn more about AI: bit.ly/data-alchemy

    • @Taskade
      @Taskade Год назад

      Awesome stuff, Dave! Loved how you delved into Flowise and LangchainJS. Hoping to see some comparisons on AI Agents, especially long-running and autonomous ones in Langchain. Keep it up! 🚀

    • @SmartWizzard
      @SmartWizzard 9 месяцев назад

      Can I integrate this into Flutter APP as a chat FAQ?

    • @Taskade
      @Taskade 9 месяцев назад

      Feel free to reach out any time! @@SmartWizzard

    • @srh1034
      @srh1034 8 месяцев назад

      Any solution to build a CPU-based AI Document Chatbot which utilizes CPU and does not need API ?

  • @f1l4nn1m
    @f1l4nn1m Год назад +27

    Hi Dave, thanks for sharing. Flowise is pretty cool as a rapid-prototyping tool, you can visually chain complex objects in just a matter of minutes. I found some cons though, which I think the devs should address.
    - Debugging is tough. Each API-based component should have a test button (does the key work? is the deployment name correct?). Those aren't things you want to guess from pieces of text in the chat box.
    - Coding. It's nice to have a visual interface, but at the end of the day this is just chaining function calls. It would be nice to have the Python code corresponding to a specific saved flow. So that one can customize it.
    I wonder if they are interested in getting precise feedback from users to improve and prioritize features. I'd be really kin to help them build a great product.

    • @ZachHyman_SIA
      @ZachHyman_SIA Год назад +2

      Agreed. "Error: Request failed with status code 401" in the chatbox dialog isn't particularly revealing...

  • @Hisma01
    @Hisma01 Год назад +9

    great content. Reminds me of the same concept as node-red, but specifically built for AI apps. I think this can go a lot further than just a prototyping tool, seeing as how far node-red has come from where it started. Really neat.

  • @TF-qt3jh
    @TF-qt3jh Год назад +28

    ❤ I love all of your videos, and especially this one. As a no coder entrepreneur, I really appreciate this kind of step by step tutorials. Many RUclipsrs are making similar ones, but yours exceeds. Only two points. To your surprise, one of the hardest part of this kind of tutorials is, setting up the apps. The process is no brainer for coders and data scientist, but not for no coders. Two. I always wanted to see a tutorial covering end to end process, meaning designing GUI to (e.g., Figma) to connecting to algo (e.g., Flowise) so that I can build a completely functioning app or MVP. I’d appreciate if you could do this type of video. 🎉

    • @abagatelle
      @abagatelle Год назад +1

      Yes! setting it all up for we beginners is tricky. It takes a while to get familiar with Git etc

    • @GraceyGarret
      @GraceyGarret Год назад +1

      Yes, I agree. I also looking on it

    • @jozonas
      @jozonas 8 месяцев назад

      +1 For many videos I can't even go pass the point of the setup because they go so fast over it thinking we know about it, but we don't. Guess what, the people who get that, are not here trying to watch the video tutorial. Come on guys.

  • @Jake_McAllister
    @Jake_McAllister Год назад +48

    Hi Dave, my problem is most companies won’t be happy uploading internal documents to a external server. Do you think you could make a video where a chat bot is created but the company can keep there internal documents on their end 🔥 🙏

    • @airo_robot
      @airo_robot Год назад +2

      I already made that before chatgpt even existed

    • @Jake_McAllister
      @Jake_McAllister Год назад +3

      @@airo_robot what’s it called?

    • @jeremiahwolf783
      @jeremiahwolf783 Год назад +3

      Yes please, this!!! Jake and I have the same problem.

    • @houndogism
      @houndogism Год назад +2

      Hey, there are ways to do this using the stack explained in this video. For example, you could use the Confluence API document loader to query documents stored in your Confluence site

    • @blender_wiki
      @blender_wiki Год назад +2

      Hire an app architect if you don't know how to solve this basic problem.

  • @schlussmitschiss
    @schlussmitschiss Год назад +3

    As a non-coder, I am flabbergasted. This looks so easy! Thanks for sharing this. How can I turn this into a function Q&A widget on my webpage? 😳

  • @inwardfarts3263
    @inwardfarts3263 Год назад +26

    Can you make a video talking about the cost involved with building AI apps with langchain and OpenAI? Are there strategies that can reduce costs? How many tokens does it take to parse company data and return insights? Great content. Best tutorials in this space that I've found. Thank you and keep up the excellent work!

    • @aibeginnertutorials
      @aibeginnertutorials Год назад

      Great question and fully agree Dave is amazing

    • @MrGoodeats
      @MrGoodeats Год назад +1

      i mean those tools were made with using that AI tech as the cornerstone for. a business. so i imagine it is somewhat affordable

  • @nvwls
    @nvwls 11 месяцев назад

    For anyone setting this up now and experiencing a "TypeError" when they send messages in the chatbot- removing the document module and adding it again worked for me.

  • @MattGadi
    @MattGadi 6 месяцев назад +3

    Hi, many thanks for the video. How did you prepare the txt input file? Do you have a video or link to understand the contend and how to prepare it?
    Thanks

  • @lancerkind
    @lancerkind 8 месяцев назад +1

    Copy/pasting the "connect credential"s is different now than how the video shows. In the Flowise UI, you can no longer copy/paste the credentials. You need to click on the Connect Credential field and select "create new" which opens a popup window. In that window, put in your username and then finally you can copy/paste the API key.

  • @abagatelle
    @abagatelle Год назад +7

    Really good video. For beginners a video on how to use Git etc would help just to get grounded in the concepts of how to use VS code, download repositories and so forth would really help. Thanks for all your efforts, much appreciated.

  • @marcuskirsch4128
    @marcuskirsch4128 6 месяцев назад +5

    You know your stuff. But I am struggling to follow this to replicate its a lot of detail.

  • @DeclanKirk
    @DeclanKirk 2 месяца назад

    LOVED this tutorial- thanks for sharing!!

  • @tecion
    @tecion Год назад +2

    Great video! I couldn't find the video you mentioned at 6:07, would be nice if you could link to it.

  • @gabrieljauregui654
    @gabrieljauregui654 Год назад

    I was looking for this in your channel yesterday. Todays youtube algorithm rewarded me with this suggestion haha. Thanks for this valuable content. Greetings from Argentina! New suscriber =)

  • @cyber1619
    @cyber1619 11 месяцев назад +2

    I'm getting the error TypeError: Cannot read properties of undefined (reading 'startsWith'), anyone knows a fix.

  • @jayrodathome
    @jayrodathome 2 месяца назад

    damn flowiseal put me on a waiting list.

  • @OtherTNSEE
    @OtherTNSEE Год назад +2

    Issue I'm having with these document loaders and vector stores is they get soooo slowwwww once you start loading actual data into them. At around 500 MB of pdfs and vectors, these vector stores take so long to query the whole app breaks down. Not to mention cost issues if you go down the openai api / pinecone route.

  • @Esehe
    @Esehe Год назад

    Thanks for the videos Dave! Keep them comming. Also noticed you doubled your subscribers since you made the video, congrats. Your conversational agent snitched :)

  • @SicilianDream
    @SicilianDream Год назад +1

    Hi, you are very clear, but you use and refer to so many things I have never heard of. Where can I learn what I need to understand your tutorial?
    Lars, Norway 😊

  • @ivanperez4878
    @ivanperez4878 Год назад +3

    I'm also on the Pinecone waiting list. Do we have any other options other than Pinecone? Thanks

  • @samus4799
    @samus4799 Год назад

    I would like to train a large language model to evaluate scientific publications, specifically regarding research, based on its adherence to the scientific method.

  • @camilocampos5900
    @camilocampos5900 Год назад

    You are a great friend, I really like the information and knowledge you give us.

  • @vishalnangare31
    @vishalnangare31 Год назад

    Great information, here from Nash's channel 🙌🙏

  • @DanielWamara
    @DanielWamara 3 месяца назад +1

    Can one link this to a local LLM like Ollama to reduce the costs?

  • @m.ehtizan
    @m.ehtizan Год назад +1

    Hey Dave, I just watched your video and I must say that it was really informative, very useful and well-made. I loved your videos. I was wondering if I could help you edit your videos and also make highly engaging shorts for you?

  •  4 месяца назад

    What would you recommend using: Stack-AI, Flowise or Langflow?

  • @kakanisantosh
    @kakanisantosh 3 дня назад

    We have so many videos like this
    Can't you try showing how to get both video and text as answer for questions based on pdf document

  • @overrideguilarte
    @overrideguilarte Год назад +2

    Hello, how are you?, very good video. I ask you a question, how did you create the embedded chat, what did you use to generate it?

  • @dsgeyer
    @dsgeyer Год назад +1

    Love it. Thanks for making these videos. This seems great to slap some components together then go in and have a lot of the code roughed in so it could be worked on from there. Is that an accurate assumption?

  • @kennethochiabuto8516
    @kennethochiabuto8516 Год назад +3

    Great video thanks. As a no coder myself I have been looking at the best ways to utilise chatbots for my clients. flowise still requires a number of steps and some low code know how, but now we are seeing chatbot solutions requiring no technical ability ie no code become available, Orimon, chatbase to name but a few. Maybe not a flexible as flowise in terms of functionality. Your thoughts?? BTW Subscribed.

  • @peterkable7007
    @peterkable7007 2 месяца назад

    Dave, this was great. Thanks. I now have my own flowise agent that can read the thousands of pages of planning regulations and make sense of them. Would you have any guidance on best practice for document managment, e.g. how to ensure the bot has the latest version of a document, how to audit the currency of the docs in a document store or even be reminded when a document is out of date.

  • @iGuide_net
    @iGuide_net 7 месяцев назад +1

    How much do you have to pay per search to the GPT provider? One metric i saw had chatgpt-4 at 30 cents per search.

  • @Earthvssuna
    @Earthvssuna Год назад +1

    Is it safe in terms of the companies data or will another model use the data to train? For exmaple over the open ai API?

  • @RichMiller-k3g
    @RichMiller-k3g Год назад +2

    An addition to the setup if (a) you are running on Apple silicon (i.e. M1 or M2) and (b) you want to use Docker compose.
    When I first went to the docker setup and issued the command
    $ docker-compose up -d
    It the docker container for flowise failed to start because the platform was not specified.
    The solution is to add the platform specification line to `docker-compose.yml` immediately after the line `image: flowiseai/flowise`
    My file now looks like this:
    ```
    version: '3.1'
    services:
    flowise:
    image: flowiseai/flowise
    platform: linux/amd64

    ```

  • @Syedhussainipage
    @Syedhussainipage Год назад +1

    Thank you for this amazing video. Would you be kind to build an app that would refer to a given website and reply based on that site's data?

  • @liorzioni
    @liorzioni Год назад +1

    hi tnx for the guide , i tried to bulid the doucument chatbot , i uplade txt file , when i asked "what this document about " he answer "i dont know "why its happened?

  • @betenu1
    @betenu1 Год назад

    I clicked on the docker folder and ran 'npx flowise start' in the terminal and it worked fine. Already made a chatbot

  • @MultiMam12345
    @MultiMam12345 Год назад

    Its actual 16 minutes. For starters probably 45 min. Still amazing.

  • @stoianandreimircea1509
    @stoianandreimircea1509 Год назад

    Hey there. Love the content. One comment if I may. Maybe show us in the begining a glimpse of 10 sec how the end looks like. then continue with the video😊

  • @mrdman094081
    @mrdman094081 Год назад +1

    After watching several times it looks like I might need to be a developer or software writer to complete this. Are any others in this thread totally new to A.I. and have made a complete chat bot ? Does The material loaded become public ?

  • @nguyenduyta7136
    @nguyenduyta7136 3 дня назад

    Thank you ❤

  • @daviddahl8562
    @daviddahl8562 26 дней назад

    I just bought the AI writing assistant chat bot. I can not do folders. II can not do that stuff on the left siide. I'm paying $14.99 a month. Which cat bot should I be using for this.

  • @WeirdoRocks
    @WeirdoRocks Год назад

    Great video :) Keep up the great work.

  • @gr8tbigtreehugger
    @gr8tbigtreehugger Год назад

    Very cool! Many thanks!

  • @nilsbuer
    @nilsbuer 8 месяцев назад

    Very cool video. Content and video quality

  • @micalbozz156
    @micalbozz156 6 месяцев назад

    Unfortunately doesn´t work for me. It always responds with "Hmm, I´m not sure".

  • @hgwvandam
    @hgwvandam Год назад

    Good video Dave, thanks!

  • @레이지비
    @레이지비 2 месяца назад

    multiple pdf learning also available?

  • @cycla
    @cycla Год назад

    This is like selling the tools to make the shovels in a gold rush

  • @kobvel
    @kobvel 6 месяцев назад

    What about the data privacy? Where does your document go?

  • @senorchavo5572
    @senorchavo5572 6 месяцев назад

    I need troubleshooting assistance. I csn get everything connected...independently openai will respond. When i link pinecone...it will receive the vectors from the pdf when connected...but he dumb ass assistant when asked about the document says hmmm i dont know! 😅 is ir the splitter overlap...its a larger pdf...i do legal work so its case law in trying to load and ask questions

  • @Gra55H0pper
    @Gra55H0pper Год назад

    Like your videos! Subscribed! Just wish you'd ditch the background music.

  • @roberto048
    @roberto048 5 месяцев назад

    Hi Dave, thanks for this amazing video. I have a few question, is it possible to teach to our chat bot to ask some specific questions to make a 2 way conversation? I want to use this chatbot as a sales rep in our website, talking with our clients. Also is it possible to teach the chatbot to not saying some specific things. For example I am afraid it recommend our competitors to our clients :)) I guess this chatbot is linked to Chatgpt and uses the same dataset, so it can use its own dataset to say something and offering our clients to the competitors

  • @Armin_Hemati
    @Armin_Hemati 4 месяца назад

    tnx for info.... can u help me understand the differencebetween there two Artificial Intelligence & artificial intelligence solution !!??
    cuz i want to choose a university bachelor's degree???
    and what do you think i should learn?? ML /// deep learning/// python //data analyst //data science...... ???? TNX

  • @mohsenghafari7652
    @mohsenghafari7652 7 месяцев назад

    hi. please help me. how to create custom model from many pdfs in Persian language? tank you.

  • @peroforrr7663
    @peroforrr7663 Год назад +1

    Hello, 🎉 great content! I would like to request a video on a solution for chatting on PDFs using an open-source model from Hugging Face that utilizes GPU and ensures data privacy.

  • @gabriel-gr
    @gabriel-gr 7 месяцев назад

    Very cool, thanks!
    I tried to do the same with some (large-ish) PDF's but I'm getting `InsufficientQuotaError: 429` from OpenAI ;-(

  • @asafnb
    @asafnb Год назад

    Thanks for the great content! If I have big pdf files isn't it will get pricy?

  • @khushpatel7060
    @khushpatel7060 Год назад +1

    Hello Dave, I am asking here as this is your latest video, I have seen your videos regarding Langchain, I am curious how to optimize inference while using LLMs in Langchain using TensorRT or Onnx Runtime... As in Industries, It's very obvious, to save the time as well as computation cost... In TensorRT while using open source models, we have techniques like quantization and a few more more for that... So In Langchain is there any way to do this?

  • @AIEntusiast_
    @AIEntusiast_ 5 месяцев назад

    multiple pdf, docs at same time ?

  • @mtuan2086
    @mtuan2086 Год назад

    Flowise is not stable. as I testing, put API keys, however can't work

  • @thejordankeyes
    @thejordankeyes 8 месяцев назад

    This is pretty cool. How could we use this to chat with whole databases full of records instead of just a single file at a time?

  • @JohnnyLeuthard
    @JohnnyLeuthard 5 месяцев назад

    Are you uploading your data to the cloud or into the docket container?

  • @escoladetecnologia
    @escoladetecnologia Год назад

    How to use without Open AI API? I see some Chrome plugins doing this with ChatGPT 3.5. The API is very expensive and not worth it. More thanks for showing this tool, Success!

  • @jeroenvanharten6575
    @jeroenvanharten6575 11 месяцев назад

    I tried your exact workflow on windows and on mac, but never been able to get it going. On mac all i got was 'Error: Error: Error: ENOENT: no such file or directory, open'

  • @davedumas0
    @davedumas0 Год назад

    i have an idea for a video series for you
    "gpt-4-code interpreter vs gpt-4 with combo of plugins"

  • @henrytabimagiraldo7116
    @henrytabimagiraldo7116 Год назад +1

    Thanks, this is amaizing!! do you know if there is an alternative to Pinecone since it has the waitlist in place?

    • @ivanperez4878
      @ivanperez4878 Год назад

      I'm also on the Pinecone waiting list. Do we have any other options other than Pinecone? Thanks

  • @techitint.9100
    @techitint.9100 Год назад +7

    Hi Dave, thanks so much for this very good video. One question. just wondering about privacy and if information written in our documents are passing to OpenAI while using its APIs. Good part of data are also going to a third party on cloud service such as Pinecone. How can we ensure the privacy of our personal data, while using Flowise or similar services that make use of external API?

  • @somethingmystical567
    @somethingmystical567 Год назад

    it keeps saying this for me: * error decoding 'ports': No port specified: : how do i fix that?

  • @str2254
    @str2254 Год назад

    This is way too good wtf

  • @almahdibakkali8007
    @almahdibakkali8007 Год назад

    Can you add custom prompts?
    What happens when you ask unrelated questions ?

  • @dozieweon
    @dozieweon 11 месяцев назад

    Nob question: How is this different from building it on Botpress?

  • @erosr45
    @erosr45 Год назад +1

    This is the hardest tutorial I've ever seen. It's not a step by step.

  • @dekumus
    @dekumus Год назад

    Thank you!

  • @toppu10animes
    @toppu10animes Год назад

    I'm getting this error everytime: ReferenceError: Blob is not defined

  • @pathmonkofficial
    @pathmonkofficial Год назад

    Great content!

  • @TechResearch05
    @TechResearch05 Год назад

    I am getting an error while using flowise - ErrorWithoutStackTrace: PineconeClient: Error getting project name: SyntaxError: Unexpected token A in JSON at position 0. Tried to cross check but not sure what is going wrong. Could yo please help?

  • @texsearch
    @texsearch 7 месяцев назад +9

    10 minutes if you have quite a bit of experience and already have accounts set up. Definitely not 10 minutes for a newb.

    • @jaybestnz
      @jaybestnz 5 месяцев назад +1

      Lol.. I love that this is the part you are unhappy about. 😂 It's a visual interface to code langchain etc and natural language models without needing to learn python and other languages.

  • @kittentheorangetabby9676
    @kittentheorangetabby9676 Год назад

    TypeError: Cannot read properties of undefined (reading 'startsWith')

  • @AbdelrahmanEmad-mm2xs
    @AbdelrahmanEmad-mm2xs 10 месяцев назад

    thanks for this great tutorial, am frontend developer so how can i build SAAS on this?

  • @josh-cc9oy
    @josh-cc9oy 7 месяцев назад

    i want to give one like 3000 academic papers and make it able to be queried, is that too big?

  • @laythqureshi5917
    @laythqureshi5917 Год назад

    Do Flowise have any intellectual property over your data if you make a chatbot with them and train the model yourself?

  • @nickrobinson7096
    @nickrobinson7096 Год назад

    How does it deal with the structure of a PDF? For example, if I have a Table with CAS numbers in the format 1234-56-7. Usually, I can use Regex to extract these patterns however what if the text is contained in a table column and broken by a carriage return or just generally by the structure of the document?
    e.g.
    123-
    45
    -6
    In a single column.
    It seems that the text file generated will not keep this text together. This is a frequent issue I run into when extracting data.

  • @yousifahmed1686
    @yousifahmed1686 Год назад

    Error: Error: Error: ENOENT: no such file or directory, open , any idea how can I solve this error ?

  • @xugefu
    @xugefu 6 месяцев назад

    Thanks!

    • @daveebbelaar
      @daveebbelaar  6 месяцев назад

      Appreciate that!! 🙏🏻

  • @ew3995
    @ew3995 Год назад

    i wonder if you could get flowwise to show its generated python code

  • @Che_Se
    @Che_Se Год назад

    once ive made my bot, how can i get the bot online so its not just accessible from my laptop using the embed function to connect it to my site but then it only works on my laptop

  • @seetheworld3839
    @seetheworld3839 Год назад

    Don't know why but my pdf was of 818 pages and it wasn't working accurately as I was expecting it to work

  • @DeepakVijaykumar-v9i
    @DeepakVijaykumar-v9i Год назад

    Hi, Can you please advise how to use the Folder Path in "Folder with Files" document loader. I've deployed the Flowise app on GCP as docker image. Thanks

  • @ricochetism
    @ricochetism Год назад

    any way to get around the Azure OpenAI key requirement

  • @bwp2bruce
    @bwp2bruce Год назад +1

    I followed all the steps to the end. I uploaded the text file, ran to the chat, and asked it questions. All I received back were error messages such as "Error: Request failed with status code 429"

    • @lancerkind
      @lancerkind 8 месяцев назад

      Me too. It's coming from Open AI and it says I'm exceeding my current request quota. I'm on the OpenAI free tier which allows you only 3 requests a minute. So I'm wondering if that's the problem. But when I look at the analytics for my account it doesn't show any requests.
      @bwp2bruce did you figure out what the problem is?

    • @lancerkind
      @lancerkind 8 месяцев назад

      @Curious.Gamer. Did you figure out what the problem is?

    • @bwp2bruce
      @bwp2bruce 8 месяцев назад

      @@lancerkind Eventually yes, but I'm not going back to that to recall the steps.

  • @phuongnguyen5443
    @phuongnguyen5443 Год назад

    I get the following error message when I try to chat to bot: Error: Error: Error: ENOENT: no such file or directory, open ''
    Is there any idea why?

  • @trackerprince6773
    @trackerprince6773 Год назад +1

    Awesome video. After watching I'm trying to go a step further and use pinecone with ConversationalRetrievalQA with langchan Js directly. I'm getting a response for the query, however for some reason the buffer only always stores the latest messages. The history of messages is never stored so I cant build on prev messages. Do you have any example for successful implementation?

    • @aisimp
      @aisimp Год назад

      I build with flowise and I believe it was aware of the whole conversation. Maybe something to do with the setup

  • @matteodeamicis
    @matteodeamicis Год назад +1

    Thanks for the video, it's very useful. Is it possible to integrate a voice assistant that receives a question as input and answers via voice, using the information in the pdfs? It would be very useful. What do you think about it?

    • @daveebbelaar
      @daveebbelaar  Год назад

      Yep, that's possible. Look into the speech services from Google or Microsoft.

  • @10points56
    @10points56 Год назад

    can we add system message in query

  • @girrajjangid4681
    @girrajjangid4681 Год назад

    Impressive ♥

  • @naturallydope247
    @naturallydope247 Год назад

    Thanks for showing this. Can you videos on how to deploy using other things besides Azure?

    • @daveebbelaar
      @daveebbelaar  Год назад

      Maybe in future videos, but I am an Azure guy ;)

  • @explodingstardust
    @explodingstardust Год назад

    Can show it with chromadb as its local and free for most people? Thanks for great work.

  • @willpeeler8547
    @willpeeler8547 Год назад

    I keep getting the following error: anyone know how to solve?
    PineconeError: Failed getting project name. Error: Forbidden - Invalid API key