How to Build a Self-Improving AI with Agentic RAG and Flowise

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 107

  • @leonvanzyl
    @leonvanzyl  3 หลายเดือนก่อน +10

    Hope you enjoy this video!
    Please consider subscribing to my channel for more Flowise videos ⭐.
    One more thing, please use my referral link if you do decide to sign up for Flowise Cloud. I'll earn a commission 🙂 .
    flowiseai.com/auth/signup?referralCode=LEONVZ

    • @ibrahimhalouane8130
      @ibrahimhalouane8130 3 หลายเดือนก่อน

      I will. Is there a way to avoid throttling or hitting the rate limit?

  • @MaliRasko
    @MaliRasko 3 หลายเดือนก่อน +7

    Graet video Leon. Including the “wrong” path and explaining why it should be done diferently is super helpful.

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      Thank you for the support!
      Yeah, I was thinking that approach might frustrate some people, but I really wanted to show the difference between the agent and tool nodes.

    • @sdcharly
      @sdcharly 3 หลายเดือนก่อน

      @@MaliRasko you are right. It was really needed. Real time scenarios will need this

  • @bernardofontes4530
    @bernardofontes4530 3 หลายเดือนก่อน +4

    Brazilian guys watching u every weak!!!
    Congrats for the job. U are saving us kkkk
    Here we dont have many peoples exploring flowise/rag and correlats....
    ty

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      Welcome guys!
      Regards from sunny South Africa 🇿🇦

    • @JPBCDE
      @JPBCDE 3 หลายเดือนก่อน

      @@leonvanzyl dont know where that sun is ... its quite cold down here :D

  • @krishnankuppaswamy7553
    @krishnankuppaswamy7553 7 วันที่ผ่านมา

    Was able to follow along and get the hang of it. Thanks again!

  • @plannedillusion
    @plannedillusion 3 หลายเดือนก่อน +2

    Amazing, been watching you and implementing your solutions for almost a year.

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      I'm honoured. Thank you for watching my vids ☺️

  • @aolowude
    @aolowude 3 หลายเดือนก่อน +4

    Your guide are always great. Thanks as always.

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      My pleasure!

  • @MicaMica139
    @MicaMica139 14 วันที่ผ่านมา +1

    can we have both self improving AI and auto update knowledge bases in one set up?

  • @0xAsharib
    @0xAsharib 3 หลายเดือนก่อน +5

    Thank you so much for putting hardwork on creating these amazing tutorials ❤
    btw, when n8n with flowise?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +4

      Thank you! I'm working on a complete n8n tutorial series, so it will short another week or so.

    • @bernardofontes4530
      @bernardofontes4530 3 หลายเดือนก่อน

      Me and my friend are using N8N, Flowise, Lagfuse and Meta to create comercial agents....its amazing.

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      @@bernardofontes4530 this is great to hear!! I would love to find out more about your Meta integration. Are you integrating into WhatsApp?

    • @0xAsharib
      @0xAsharib 3 หลายเดือนก่อน

      @@leonvanzyl that's amazing!

  • @amarah99
    @amarah99 3 หลายเดือนก่อน +1

    Brilliant as always. Thanks so much!!

  • @shaankhan9490
    @shaankhan9490 หลายเดือนก่อน +1

    Thanks for the content en explaination! Just one problem, it’s running extremely slow. How can I troubleshoot the problem? I think that the problem lies in the retriever which takes too long to process the data. Maybe something with Vector settings? Hardware is no issue, it’s more than capable to run even 70B models fast and with ease in Ollama. If you could help I’d appreciate it, thanks in advance.

  • @misheltal692
    @misheltal692 3 หลายเดือนก่อน +4

    Thank you for the amazing content! I'm really enjoying your tutorials on Flowise. Could you possibly cover how to set up a database agent that can retrieve and update information, as well as use the database as a knowledge base? That would be incredibly helpful. Thanks again!

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +2

      Thank you!
      Database integration is a very popular topic. I'll create a video ASAP.
      PS. Which DB do you use? MySQL, Postgres?

    • @alessandro.depoli
      @alessandro.depoli 3 หลายเดือนก่อน

      @@leonvanzyl It will be a very interesting tutorial! Supabase (postgres) please. Thank you for all your videos

    • @kreak100
      @kreak100 3 หลายเดือนก่อน

      @@leonvanzyl mongoDB please as well!

    • @JPBCDE
      @JPBCDE 3 หลายเดือนก่อน

      @@leonvanzyl Ive given up on MS SQL. Im now experimenting with generating summarized data (almost Data Warehousing) and upserting that into MySQL and then querying the MySQL db, with not to bad success.

    • @jorellecastillo9026
      @jorellecastillo9026 3 หลายเดือนก่อน

      @@leonvanzyl Supabase please!

  • @nwokobia
    @nwokobia 3 หลายเดือนก่อน +2

    Brilliant... implemented! Can you demonstrate WooCommerce integration please for order status and cancellation queries?

  • @Independent_AI
    @Independent_AI 2 หลายเดือนก่อน

    Another real world great tutorial, thanks! 👏🏻

    • @leonvanzyl
      @leonvanzyl  2 หลายเดือนก่อน

      Thank you 🙏

  • @memba-digital
    @memba-digital 3 หลายเดือนก่อน

    Thank you for your time spent in such a great video

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      You're welcome 🤗

  • @St_Phoenix
    @St_Phoenix หลายเดือนก่อน

    As usual, your videos are on point, thank you very much. Out of curiosity, do you give private classes or consultations?

    • @leonvanzyl
      @leonvanzyl  หลายเดือนก่อน +1

      Thank you!!
      I wish I had the time 😔

  • @romainharter7395
    @romainharter7395 3 หลายเดือนก่อน

    Your content is truly fantastic! Could I suggest creating a video on how to maintain session history in embedded chats using Render? I'm having trouble locating where the history is stored and how to access it so that users can revisit previous discussions with my Agentflows. I can see the history in the Flowise "View Messages" menu, so it must be stored somewhere.

  • @artur50
    @artur50 3 หลายเดือนก่อน +2

    Fantastic!

  • @mikew2883
    @mikew2883 3 หลายเดือนก่อน

    Good stuff as always! 👏

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      Thank you 🙏

  • @samcon777
    @samcon777 3 หลายเดือนก่อน

    Love what you r doing here

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      Thanks Sam ☺️

  • @aibizadvisor
    @aibizadvisor 2 หลายเดือนก่อน

    So amazing video, Leon! I would have two questions:
    1. How you prevent the chat from displaying all the flow logic (like what agent was called, what route was selected etc.) and just give the answer.
    2. I am wondering if Agent Memory node should be added to the flow?

    • @sukuna8547
      @sukuna8547 28 วันที่ผ่านมา

      Under "Share Chatbot" is an option to turn off "Show Agent Reasoning".

  • @servicosmkt
    @servicosmkt 3 หลายเดือนก่อน

    Parabens pela explicaçao ! Você é sensacional, fala mais sobre agentes sequenciais usando os stage !

  • @LauraSrzic
    @LauraSrzic 2 หลายเดือนก่อน

    Love your videos

    • @leonvanzyl
      @leonvanzyl  2 หลายเดือนก่อน

      Thank you!

  • @sdcharly
    @sdcharly 3 หลายเดือนก่อน +1

    Beautiful one again. well still trying to clearly understand how the agent node was not the right one..:( soon will figure out.. Would like to see some SQL based ones which can fetch and save data into SQL tables. maybe Oak& Barrel reservations?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      Thank you.
      The Agent node produced it's own response based on the documents that were retrieved. This wasn't useful to the Conditional Agent.
      The Tool Node on the other hand was able to pass the "raw" documents to the Conditional Agent, which the CA could use to score the relevancy.

    • @sdcharly
      @sdcharly 3 หลายเดือนก่อน

      @@leonvanzyl thanks. Got it now.

  • @josephperkins8766
    @josephperkins8766 3 หลายเดือนก่อน

    Please do a detailed video on the document store and how to query a structured DB using agentic flows

  • @Gwin-AI
    @Gwin-AI 2 หลายเดือนก่อน

    It all makes a lot of sense, but I am still struggling with some of the concepts used. How does the Retriever actually retrieve information? Is it always only one piece of data? Or several? How does it decide where to cut off? I mean for any question more complex than a simple Q&A document I can't resolve it by only getting one piece of data? How do I assess in a loop all retrieved chunks for relevance? Do I loop it? Isn't that extremely costly?

  • @Chill3dKr0ete
    @Chill3dKr0ete 2 หลายเดือนก่อน

    Great Stuff Leon! But how do you implement this into a real chat? When I try to share my Chatflow it will give always the Agent/LLM Nodes before the final answer... Is it possible to just show the final answer to the user, without having all the system notes before?

  • @iokinpardoitxaso8836
    @iokinpardoitxaso8836 3 หลายเดือนก่อน

    Amazin tutorial as always Leon. Quick question or doubt about this exact case. What would happen if the user ask with common conversational questions like "Hello", "How are you?", "I would like to start the conversation"....
    Thanks in advance

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      There are plenty of ways to deal with that case as well. Could simply be another condition. The end condition could simply link to an LLM node.

  • @blakeyang7893
    @blakeyang7893 3 หลายเดือนก่อน

    thank you for your Flowise course. It's awsome. btw, the readFile and WriteFile tools are not available right now?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      I used the writeFile tool in one of my other Agentflow videos. Are you looking at the correct menu?

    • @blakeyang7893
      @blakeyang7893 3 หลายเดือนก่อน

      @@leonvanzyl Hi Leon, thank you for your reply, I watched all 24 flowise courses in your playlist. but didn't see about the Writefile tool. could you share me the link or number you mentioned course? thanks again. have a great day.

  • @colibrideplaya
    @colibrideplaya 3 หลายเดือนก่อน

    Hey Leon!
    I would like to pick your brain about Flowise capabilities. We're looking to create a highly interactive and human-like conversational bot, that can handle multiple user intents and different data inputs like buttons, single-select, multi-select, loops, conversation branches, etc.
    How would you approach such project? I haven't found a way inside Flowise to capture different type of inputs and manage different flows.
    For example, if I need to capture specific dietary options like "Keto, Paleo, Vegetarian, Vegan" to also save it on a database, I would like to present a single-select input or buttons, but I don't find a way to render such inputs in Flowise.
    The only way I can think of is doing some LLM prompt engineering to perform an entity extraction, but I'm concerned that might rack up token costs, since I have many discrete questions. The other option I'm considering is using a more conversational tool to capture the inputs and pass them to Flowise.
    Any guidance would be tremendously appreciated.
    Thanks!

    • @leonvanzyl
      @leonvanzyl  2 หลายเดือนก่อน

      I would agree on the second option.
      I've found that it's best to build an application around Flowise.
      That way you have way more control over the user interface itself, and you can also deal with user authentication, etc.
      You can invoke the Flowise API for any AI related logic.

  • @Done4YouPrompts4Sheets
    @Done4YouPrompts4Sheets 3 หลายเดือนก่อน

    Thanks Leon. How does this relate to structured outputs from open AI? Is this a no code alternative?

  • @adityachoudhary151
    @adityachoudhary151 3 หลายเดือนก่อน

    Thank you, I am not a programmer but your tutorial helped me in installing flowise and building the agents. Can you please help me with one question - I am trying to build a workflow that prepares a report in a standard format using the data that is available in SQL database(the data is very large). can you guide me what should be the best floe architecture for me?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      You're welcome 🤗.
      I've actually received a lot of requests to cover a SQL flow. Better create it ASAP 😜

  • @JPBCDE
    @JPBCDE 3 หลายเดือนก่อน

    brilliant video!

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      Thank you!

  • @conneyk
    @conneyk 3 หลายเดือนก่อน

    Thank you for this video!
    I‘m wondering if some ollama powered llm like llama3.1:8b is capable of doing the agent jobs.
    Is this possible or is the model not „strong“ enough?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      You would need to use at least Llama 3.1 70b 👍

  • @akhnt1
    @akhnt1 3 หลายเดือนก่อน

    Thanks Leon! How could one iterate through each of the retrieved documents and answer a question using an LLM and then filter from those answers what one needs?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      I think you might need to combine Flowise with a process automation tool for that.. like Zapier, Make or n8n.
      Unless someone in the comments has a better idea ☺️.

  • @samcon777
    @samcon777 3 หลายเดือนก่อน

    Love to see a video how to use the python interpreter

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      Will create a video on it at some point 👍

  • @ocraminator7247
    @ocraminator7247 หลายเดือนก่อน

    Hey Leon, I run into an infinite loop when asking something like "what is the price of beer?". On the other hand a question like "Do you have beer?" will only be rewritten once and then an response is being generated. What's now?

  • @pavanj2238
    @pavanj2238 หลายเดือนก่อน

    @leonvanzyl
    Great videos.. loving them...
    1. I have two questions... can we connect to corporate LLM gateway using flowise ui?
    2. tried the Ollama tutorial with flowise, I configured everytghing as shown in the video.. but when the chat is started.. it throws an error as "fetch failed".. checked logs in dev console... sometimes it shows an error as unauthorized .. my flowise ui has no credentials.. and ollama is running fine and doubled checked that with the url configured in flowui.. any idea why am i getting "fetch failed" in chat window

    • @undisclosedlocations
      @undisclosedlocations 9 วันที่ผ่านมา

      The Ollamas aren't very powerful LLM models and a lot of my flows that I'm sure are working can be debugged when I choose a beefier LLM. Even if I go with OpenAI gpt-3.5-turbo vs gpt-4o-mini some of my bugs and errors go away. Ollama I can almost always guarantee my flows won't work, I use it sparingly
      As far as question 1 goes, I'm pretty sure you can. There's a lot of customization, including POST and GET requests

  • @jootjemootje
    @jootjemootje 3 หลายเดือนก่อน

    Thnx for this one 👌
    If you use this chat in a website is it possible to hide the agent messages so only the final outcome will be shown in the chat window? And what do you think of the response time? Because (as far as I know) there is no streaming option yet for the sequential agents it takes some time before the user gets the answer.

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      You're welcome 🤗.
      I'm also not aware of a streaming option yet.
      Would be awesome if they could add it soon.

    • @jannufamily
      @jannufamily 3 หลายเดือนก่อน

      @@leonvanzyl Is there no way to hide the agent messages?

  • @GilbertMizrahi
    @GilbertMizrahi 3 หลายเดือนก่อน

    Great!

  • @achmadathoillah8152
    @achmadathoillah8152 3 หลายเดือนก่อน

    Great video ❤. What if i dont want the user to see what is the agent doing? I think it is inappropriate if i have maybe something like restaurant customer to see all of the background message. Is there any feature to hide it?

    • @sukuna8547
      @sukuna8547 28 วันที่ผ่านมา +1

      Under "Share Chatbot" is an option to turn off "Show Agent Reasoning".

  • @SebKrogh
    @SebKrogh 3 หลายเดือนก่อน

    So generally - do you recommend flowise or Vectorshift for someone starting out?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      Flowise is a really good platform to start with. It's very stable and I've used it for my own projects.
      VS offers automations though, and easier integration with 3rd party tools (almost like Make or n8n), which Flowise doesn't.

    • @SebKrogh
      @SebKrogh 3 หลายเดือนก่อน

      Righto - i am looking for something able to replace make but also work as like an ai first platform. So I guess VS is the way to go then.

  • @prosedox
    @prosedox หลายเดือนก่อน

    could we delete or hide the steps of nodes which we step on chat history ?

  • @wesleymogaka
    @wesleymogaka 3 หลายเดือนก่อน

    Hello. I'm learning lang graph in parallel. In your opinion, is flowise as powerful and configurable as lang graph?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      It's very close. Flowise Sequential agents use LangGraph under the hood, so it's also a great tool for visually learning LangGraph.

  • @oknoobcom
    @oknoobcom 3 หลายเดือนก่อน

    Hey Leon. Amazing content as always. A quick question on Agentflows. How you prevent the chat from displaying all the flow logic (like what agent was called, what route was selected etc.) and just give the answer. In a chat environment what doesnt look good.

  • @seanolivas9148
    @seanolivas9148 2 หลายเดือนก่อน

    What are your thoughts on n8n workflow agents?

    • @leonvanzyl
      @leonvanzyl  2 หลายเดือนก่อน

      They're awesome.
      I'll be releasing an n8n agent video soon.

    • @seanolivas9148
      @seanolivas9148 2 หลายเดือนก่อน

      @@leonvanzyl Cool, would be good to see if you can make conditional agents like this in n8n since I kind of bought with the rest of my workflows

  • @micbab-vg2mu
    @micbab-vg2mu 3 หลายเดือนก่อน

    thanks

  • @servicosmkt
    @servicosmkt 3 หลายเดือนก่อน

    Você tem alguma comunidade para assinantes, exemplo Discord?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      I do, but it's been frustrating keeping it clean. Too many spam bots 😬.

    • @servicosmkt
      @servicosmkt 3 หลายเดือนก่อน

      @@leonvanzyl Aqui no Brasil voce esta se tornando referencia nas comunidades de flowise, nao tem ninguem aqui que cria conteudos sobre a ferramenta.

  • @aibizadvisor
    @aibizadvisor 3 หลายเดือนก่อน

    Can I build the same agent but with Llama and Groq? Any limitations in this case?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      The Llama 3.1 70b model seems to do a good job with these Agentflows.
      Definitely not at OpenAIs level, so you might experience a few funnies.

  • @Blooper1980
    @Blooper1980 3 หลายเดือนก่อน

    Can you use vision with flow wise? As in image input?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน

      Absolutely, if the chat model supports vision, you can simply enable to image upload toggle on the chat node.
      You'll then be able to upload an image in the chat.

  • @mingyukang6592
    @mingyukang6592 3 หลายเดือนก่อน

    Is there any difference using between agent node and LLM node?

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      Agents tend to produce better results, since they're able to self reason.
      LLM nodes are great for quick, once off executions, like sentiment analysis, etc.
      For chatbots or more advanced apps, just use agents.

    • @mingyukang6592
      @mingyukang6592 3 หลายเดือนก่อน

      @@leonvanzyl Wow, Thanks's very much. I really appreacite your works. ^^

  • @HermesMacedo
    @HermesMacedo 3 หลายเดือนก่อน

    How to make Flowise send Media (image, audio, video, PDF and other files) during the conversation and not just links? $$
    for example: Get information(media) from a Google Drive, and sends the media, not the link or tumb. I pay you to teach us😰

    • @leonvanzyl
      @leonvanzyl  3 หลายเดือนก่อน +1

      Perhaps you need to look at platforms like Zapier, Make or n8n for your use case. I'm actually working on an n8n series by the way.
      AI Apps are not really intended for passing files / data along in the way you described it.

    • @HermesMacedo
      @HermesMacedo 3 หลายเดือนก่อน

      @@leonvanzyl yes, I realized that I have to use n8n. Maybe this could be your class? how$$

  • @asrulmunir
    @asrulmunir 3 หลายเดือนก่อน

    I got this when using Groq:
    Error buildAgentGraph - connectedToolNode.data.instance.node.seekPermissionMessage is not a function

    • @asrulmunir
      @asrulmunir 3 หลายเดือนก่อน

      When using Claude:
      Error buildAgentGraph - Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.0.name: String should match pattern '^[a-zA-Z0-9_-]{1,64}$'"}}

    • @asrulmunir
      @asrulmunir 3 หลายเดือนก่อน +1

      SOLVED. Google Embeddings need some adjusting 😁