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

  Рет қаралды 19,229

Leon van Zyl

Leon van Zyl

Күн бұрын

Пікірлер
@leonvanzyl
@leonvanzyl 4 ай бұрын
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 4 ай бұрын
I will. Is there a way to avoid throttling or hitting the rate limit?
@MaliRasko
@MaliRasko 4 ай бұрын
Graet video Leon. Including the “wrong” path and explaining why it should be done diferently is super helpful.
@leonvanzyl
@leonvanzyl 4 ай бұрын
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 4 ай бұрын
@@MaliRasko you are right. It was really needed. Real time scenarios will need this
@bernardofontes4530
@bernardofontes4530 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 4 ай бұрын
Welcome guys! Regards from sunny South Africa 🇿🇦
@JPBCDE
@JPBCDE 4 ай бұрын
@@leonvanzyl dont know where that sun is ... its quite cold down here :D
@aolowude
@aolowude 4 ай бұрын
Your guide are always great. Thanks as always.
@leonvanzyl
@leonvanzyl 4 ай бұрын
My pleasure!
@plannedillusion
@plannedillusion 4 ай бұрын
Amazing, been watching you and implementing your solutions for almost a year.
@leonvanzyl
@leonvanzyl 4 ай бұрын
I'm honoured. Thank you for watching my vids ☺️
@krishnankuppaswamy7553
@krishnankuppaswamy7553 Ай бұрын
Was able to follow along and get the hang of it. Thanks again!
@amarah99
@amarah99 4 ай бұрын
Brilliant as always. Thanks so much!!
@MicaMica139
@MicaMica139 Ай бұрын
can we have both self improving AI and auto update knowledge bases in one set up?
@artur50
@artur50 4 ай бұрын
Fantastic!
@Independent_AI
@Independent_AI 3 ай бұрын
Another real world great tutorial, thanks! 👏🏻
@leonvanzyl
@leonvanzyl 3 ай бұрын
Thank you 🙏
@misheltal692
@misheltal692 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 4 ай бұрын
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 4 ай бұрын
@@leonvanzyl It will be a very interesting tutorial! Supabase (postgres) please. Thank you for all your videos
@kreak100
@kreak100 4 ай бұрын
@@leonvanzyl mongoDB please as well!
@JPBCDE
@JPBCDE 4 ай бұрын
@@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 4 ай бұрын
@@leonvanzyl Supabase please!
@memba-digital
@memba-digital 4 ай бұрын
Thank you for your time spent in such a great video
@leonvanzyl
@leonvanzyl 4 ай бұрын
You're welcome 🤗
@mikew2883
@mikew2883 4 ай бұрын
Good stuff as always! 👏
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you 🙏
@0xAsharib
@0xAsharib 4 ай бұрын
Thank you so much for putting hardwork on creating these amazing tutorials ❤ btw, when n8n with flowise?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you! I'm working on a complete n8n tutorial series, so it will short another week or so.
@bernardofontes4530
@bernardofontes4530 4 ай бұрын
Me and my friend are using N8N, Flowise, Lagfuse and Meta to create comercial agents....its amazing.
@leonvanzyl
@leonvanzyl 4 ай бұрын
@@bernardofontes4530 this is great to hear!! I would love to find out more about your Meta integration. Are you integrating into WhatsApp?
@0xAsharib
@0xAsharib 4 ай бұрын
@@leonvanzyl that's amazing!
@nwokobia
@nwokobia 4 ай бұрын
Brilliant... implemented! Can you demonstrate WooCommerce integration please for order status and cancellation queries?
@samcon777
@samcon777 4 ай бұрын
Love what you r doing here
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thanks Sam ☺️
@shaankhan9490
@shaankhan9490 2 ай бұрын
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.
@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.
@sdcharly
@sdcharly 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
@@leonvanzyl thanks. Got it now.
@LauraSrzic
@LauraSrzic 3 ай бұрын
Love your videos
@leonvanzyl
@leonvanzyl 3 ай бұрын
Thank you!
@JPBCDE
@JPBCDE 4 ай бұрын
brilliant video!
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you!
@St_Phoenix
@St_Phoenix 2 ай бұрын
As usual, your videos are on point, thank you very much. Out of curiosity, do you give private classes or consultations?
@leonvanzyl
@leonvanzyl 2 ай бұрын
Thank you!! I wish I had the time 😔
@servicosmkt
@servicosmkt 4 ай бұрын
Parabens pela explicaçao ! Você é sensacional, fala mais sobre agentes sequenciais usando os stage !
@aibizadvisor
@aibizadvisor 3 ай бұрын
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 Ай бұрын
Under "Share Chatbot" is an option to turn off "Show Agent Reasoning".
@josephperkins8766
@josephperkins8766 4 ай бұрын
Please do a detailed video on the document store and how to query a structured DB using agentic flows
@akhnt1
@akhnt1 4 ай бұрын
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 4 ай бұрын
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 ☺️.
@blakeyang7893
@blakeyang7893 4 ай бұрын
thank you for your Flowise course. It's awsome. btw, the readFile and WriteFile tools are not available right now?
@leonvanzyl
@leonvanzyl 4 ай бұрын
I used the writeFile tool in one of my other Agentflow videos. Are you looking at the correct menu?
@blakeyang7893
@blakeyang7893 4 ай бұрын
@@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.
@Done4YouPrompts4Sheets
@Done4YouPrompts4Sheets 4 ай бұрын
Thanks Leon. How does this relate to structured outputs from open AI? Is this a no code alternative?
@Chill3dKr0ete
@Chill3dKr0ete 3 ай бұрын
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?
@Gwin-AI
@Gwin-AI 3 ай бұрын
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?
@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 3 ай бұрын
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.
@pavanj2238
@pavanj2238 2 ай бұрын
@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 Ай бұрын
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
@adityachoudhary151
@adityachoudhary151 4 ай бұрын
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 4 ай бұрын
You're welcome 🤗. I've actually received a lot of requests to cover a SQL flow. Better create it ASAP 😜
@samcon777
@samcon777 4 ай бұрын
Love to see a video how to use the python interpreter
@leonvanzyl
@leonvanzyl 4 ай бұрын
Will create a video on it at some point 👍
@conneyk
@conneyk 4 ай бұрын
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 4 ай бұрын
You would need to use at least Llama 3.1 70b 👍
@jootjemootje
@jootjemootje 4 ай бұрын
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 4 ай бұрын
You're welcome 🤗. I'm also not aware of a streaming option yet. Would be awesome if they could add it soon.
@jannufamily
@jannufamily 4 ай бұрын
@@leonvanzyl Is there no way to hide the agent messages?
@achmadathoillah8152
@achmadathoillah8152 4 ай бұрын
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 Ай бұрын
Under "Share Chatbot" is an option to turn off "Show Agent Reasoning".
@GilbertMizrahi
@GilbertMizrahi 4 ай бұрын
Great!
@prosedox
@prosedox 2 ай бұрын
could we delete or hide the steps of nodes which we step on chat history ?
@ocraminator7247
@ocraminator7247 2 ай бұрын
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?
@seanolivas9148
@seanolivas9148 3 ай бұрын
What are your thoughts on n8n workflow agents?
@leonvanzyl
@leonvanzyl 3 ай бұрын
They're awesome. I'll be releasing an n8n agent video soon.
@seanolivas9148
@seanolivas9148 3 ай бұрын
@@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
@iokinpardoitxaso8836
@iokinpardoitxaso8836 4 ай бұрын
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 4 ай бұрын
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.
@bambanx
@bambanx 21 күн бұрын
Self host can be used for comercial use for free? Thanks you
@leonvanzyl
@leonvanzyl 21 күн бұрын
Yes, you can use it commercially and self host.
@servicosmkt
@servicosmkt 4 ай бұрын
Você tem alguma comunidade para assinantes, exemplo Discord?
@leonvanzyl
@leonvanzyl 4 ай бұрын
I do, but it's been frustrating keeping it clean. Too many spam bots 😬.
@servicosmkt
@servicosmkt 4 ай бұрын
@@leonvanzyl Aqui no Brasil voce esta se tornando referencia nas comunidades de flowise, nao tem ninguem aqui que cria conteudos sobre a ferramenta.
@SebKrogh
@SebKrogh 4 ай бұрын
So generally - do you recommend flowise or Vectorshift for someone starting out?
@leonvanzyl
@leonvanzyl 4 ай бұрын
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 4 ай бұрын
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.
@wesleymogaka
@wesleymogaka 4 ай бұрын
Hello. I'm learning lang graph in parallel. In your opinion, is flowise as powerful and configurable as lang graph?
@leonvanzyl
@leonvanzyl 4 ай бұрын
It's very close. Flowise Sequential agents use LangGraph under the hood, so it's also a great tool for visually learning LangGraph.
@aibizadvisor
@aibizadvisor 3 ай бұрын
Can I build the same agent but with Llama and Groq? Any limitations in this case?
@leonvanzyl
@leonvanzyl 3 ай бұрын
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 4 ай бұрын
Can you use vision with flow wise? As in image input?
@leonvanzyl
@leonvanzyl 4 ай бұрын
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.
@micbab-vg2mu
@micbab-vg2mu 4 ай бұрын
thanks
@mingyukang6592
@mingyukang6592 4 ай бұрын
Is there any difference using between agent node and LLM node?
@leonvanzyl
@leonvanzyl 4 ай бұрын
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 4 ай бұрын
@@leonvanzyl Wow, Thanks's very much. I really appreacite your works. ^^
@HermesMacedo
@HermesMacedo 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
@@leonvanzyl yes, I realized that I have to use n8n. Maybe this could be your class? how$$
@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.
@asrulmunir
@asrulmunir 4 ай бұрын
I got this when using Groq: Error buildAgentGraph - connectedToolNode.data.instance.node.seekPermissionMessage is not a function
@asrulmunir
@asrulmunir 4 ай бұрын
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 4 ай бұрын
SOLVED. Google Embeddings need some adjusting 😁
How to Build a WhatsApp AI Chatbot in Minutes Using Flowise
19:55
Leon van Zyl
Рет қаралды 21 М.
Add Flowise to ANYTHING! Flowise API Crash Course
28:17
Leon van Zyl
Рет қаралды 26 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 5 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 1,7 МЛН
Master Sequential Agents: Build Complex AI Apps with Flowise
32:54
Leon van Zyl
Рет қаралды 30 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 100 М.
Agentic RAG with Knowledge Graphs: Unlocking the potential of LLMs
1:11:17
How to Improve LLMs with RAG (Overview + Python Code)
21:41
Shaw Talebi
Рет қаралды 84 М.
What is Agentic RAG?
5:42
IBM Technology
Рет қаралды 45 М.
Qwen Just Casually Started the Local AI Revolution
16:05
Cole Medin
Рет қаралды 113 М.
Make Your RAG Agents Actually Work! (No More Hallucinations)
35:01
Leon van Zyl
Рет қаралды 23 М.
Build Anything with Claude Agents, Here’s How
18:35
David Ondrej
Рет қаралды 174 М.
Nokia is magic....☠️ #trollface #edit #troll
0:40
GZoey EXE
Рет қаралды 4,5 МЛН
How to Hide Phone in School 😱 #shorts
0:45
Mr DegrEE
Рет қаралды 4,3 МЛН
Айфон сдался: когда сделают складной телефон
0:11
Короче, новости
Рет қаралды 186 М.