Sequential vs. Multi Agents: Which Flowise Feature is Right for You?

Sdílet
Vložit
  • čas přidán 9. 09. 2024

Komentáře • 80

  • @Speedon19
    @Speedon19 Před měsícem +5

    Thanks for the video Leo, but if you can do more example of Sequential, we would like it, for example like a conversation with a customer like for sales, but they want to purchase a product, so that the bot has the intention of seeing when it has to ask them. the client's data, of course I see that it is complex, but the most possible.

  • @AdrianRodriguez-tm3qj
    @AdrianRodriguez-tm3qj Před měsícem

    I've just started with the beginner's guide, so this is a bit more complex, but I'm amazed at the possibilities 😧

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

    Thank you for your high value content ❤💯🙏 looking forward for the n8n tutoriels too 🎉

  • @faridullahkhan1
    @faridullahkhan1 Před měsícem +6

    Leon van Zyl, thank you for your valuable videos, very informative. I learned alot from your content. I wanted to ask, are you able to make a video that shows how to use N8N with Flowise and host them both in own cloud? thank you,

    • @leonvanzyl
      @leonvanzyl  Před měsícem +8

      That's actually my favourite stack! I have both Flowise and n8n running on Render with some automation.
      I'll create a video on this.

    • @royal.allen_
      @royal.allen_ Před měsícem +1

      I just deployed this last night in AWS. Quick note, make sure you use more than a 8gb disk (I ran out of space, worked when I used 28gb) and also use the Docker instructions (NPM froze on me installing both for some reason).

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

      @@leonvanzyl very much looking forward to this.

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

      @@leonvanzyl I have some workflows written in langgraph, which is better no code framework to use instead of langgraph ? Or can I use langgraph via api with n8n ? Thank you

  • @royal.allen_
    @royal.allen_ Před měsícem +4

    I would love to know how to send additional parameters (like "name") from Telegram to Flowise. I can currently only get sessionID to work (for Upstart Redis).

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

      You can try adding variables inside of the "question" parameter when querying Flowise.

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

    awesome, another awesome video! looking forward to improved rag examples

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

    Great Video Leon, a little more work with Sequential agents vs multi agents but I think the effort is well worth it unless you know the demands won't grow. I have been very keen on using Assistant API but this gives more flexibility. For a simple RAG Bot, its pretty hard to beat the Assistants I guess, quick output, quick money (esp with 40 Mini). But the sequential agents is so very powerful. Thank you.

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

    Really nice video once again Leon 😊 I was waiting for the final app running 😂 how did it go?

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

      Thank you for the feedback 🙏.
      Hahaha, I'm sure the code would have worked 😂

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

    The Sequential agents are amazing! More videos about It please.
    PD: Also how to use Flowise and Langchain at the same time and the benefits of using both together ;)
    Thanks, Leooo!!

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

    You are a very awesome mentor! thank you! 🎉

  • @risosa1
    @risosa1 Před 6 dny

    spot on, you are my go to for understanding flowise! Any chance you can do a tutorial on how to do an integrated code dev application using flowise...is this even possible? I want to achieve something like open interpreter, but with all the flowise no-code / flexible flow. Maybe you could build on your earlier multi agent sw dev tutorial to actually debug and review the code?

    • @leonvanzyl
      @leonvanzyl  Před 6 dny

      Thank you for the suggestion.
      I'll look into this 👍.
      Thank you very much for the super! It helps a lot 🙏

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

    I would love if you showcase the code, to see if the results! And if the app works. Amazing content really 🙏

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

      Noted.

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

      @@leonvanzyl I meant to test the code in the video! Maybe I expressed wrongly

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

    Thanks Leon! Great tutorial!

  • @juanpcadile
    @juanpcadile Před 28 dny

    Great video! I see you use both Flowise and Langflow. Which one is your favorite? For production use

  • @borislemaire3143
    @borislemaire3143 Před 27 dny +1

    In Python it is possible chat with Excel files using langchain and pandasai (storing the excel data into a SmartDataframe). Do you know if it is possible do something similar with flowise?

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

    Awesome, Leon! Thanks so much! This is incredibly useful as always.
    I have a special use case I'd love to explore with sequential agents. I'm thinking of one agent tasked with collecting information from users (e.g., filling out a form with a defined number of variables) and another agent responsible for processing the information collected to provide any type of conclusion to the user :)

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

      @choistella5863, I am working on exactly the same, I could share my current flow, maybe it would help.

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

      @@LuisOrtizFX
      Thanks so much for your answer !!!
      It would be amazing if you could share your flow :)

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

      @@LuisOrtizFX I would like to take a look, how can you share this with us?

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

      @jhonymonhol6851 I'm cleaning up some sensitive data out of it,, and I will share as a gist today. I'm actually getting VERY CLOSE to making it work quite nice (but needs work), I'm sure we can collab and make it perfect!

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

    Thanks for the video, one question: Where can I define the system context, for receive the user? Thank you so much

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

    I think sequential is so complicated seeing that the previous squema does the same.. don't you think? What would be the advantages or disadvantages of both?

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

    Great video as always.

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

    Maaaan you da MvP! Thanks

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

    What is this error about?
    Error buildAgentGraph - Cannot read properties of undefined (reading 'label')
    I set two agents with a retrieval tool connected to pinecone for each one. Followed the same steps as the video.

    • @Thecoolestcouple1
      @Thecoolestcouple1 Před 29 dny

      Followed the video step-by-step and got that same error message
      Error buildAgentGraph - Cannot read properties of undefined (reading 'label')
      Wondering how you can debug Flowise when errors like this come up?

  • @user-uv3nv2bc6v
    @user-uv3nv2bc6v Před měsícem

    Very cool Leon. Do you have website where you share this flows? Or maybe we can buy some from you :-)

    • @leonvanzyl
      @leonvanzyl  Před měsícem +2

      Thank you. I'll see if I can share them on a GitHub repo or somewhere.

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

    Is it possible to loop back to the human for confirmation or feedback? I.e. human in the loop 😊

    • @leonvanzyl
      @leonvanzyl  Před měsícem +2

      I'm actually going to create a video on this. It's possible, but I think it requires a bit of explanation. Nothing too extreme though. Involves some state variables, LLM nodes, memory and conditions.

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

      @@leonvanzyl thank you so much! This is a really important architecture for many tasks, since the LLMs typically need human guidance and confirmation to promote better results.

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

    Have you ever tried with Azure open AI? It works similar?

  • @Emanuel-Sampaio
    @Emanuel-Sampaio Před 19 dny

    Hey Leon... Why in both examples do you instructs the worker to pass the result to the other worker (12:25), but it always goes back to the supervisor (who takes care of it)!?

    • @leonvanzyl
      @leonvanzyl  Před 18 dny +1

      I have found that the supervisor would sometimes end the flow early if you don't provide clear instructions.

    • @Emanuel-Sampaio
      @Emanuel-Sampaio Před 18 dny

      @@leonvanzyl Thank your!

  • @swift-immersive
    @swift-immersive Před měsícem

    Hey Leon, always incredible content. Are you avaiable for hire?

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

      Thank you. You can contact me via email (in about section) or my automation agency (in video description).

    • @swift-immersive
      @swift-immersive Před měsícem

      @@leonvanzyl Great, sent you an email.

  • @JustinJ.
    @JustinJ. Před měsícem

    What are the system specs are you running these models on? It looks super snappy when they respond

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

      I'm using an OpenAI model in this video, so my specs don't really matter.
      If speed is impoyto you then I highly recommend giving Groq a try. I've got a dedicated video on Groq.

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

    Good one again @Leon.. Can i ask how LLM node and Condition Agent is different based on this video?.. might be a lame query :) or shall i put it like is LLM Node + Condition = Condition agent?

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

      Actually, that's a very good way to look at it.
      The LLM Node can return a structured output which a condition node can then use.

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

    Thanks for the video, Leon! I was wondering if it is possible with Sequential Agents to set a condition that "one agent finishes its task"?
    I want one agent to ask the user about 10-15 questions to gather a lot of information and then send it to another agent that will analyze the information before responding to the user. Do I need to create 10-15 nodes to store each piece of information? Thanks if you have time to answer, and thank you very much for all you videos! It helps a lot !!

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

      Thank you for the feedback!
      You could probably create your example using a normal agent in Flowise. I guess it depends on what the second agent in the chain needs to do.
      I would honestly suggest that you first try to create your example using a normal flow with a tool agent.
      Agentflows might not be a good match for collecting information from a user in a loop.

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

    I really love your videos. This is no exception. Do you have a Discord or something? I am really interested in getting sequential agent working with Llama 3.1 but having issues. Again, awesome video and thanks.

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

      Thank you! I actually suggest joining the Flowise AI dievord directly.

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

    Excellent tutorial! 👏
    I've been trying to get Flowise API to work in an app much like a pipeline outside the chatbot. According to the documentation you can only stream output with a Chain or Tool Agent. I attempted to use a Sequential Agent like in your example but it only returns the final result and not the stream itself. Do you think you can do a video on how to correctly accomplish this? Thanks!

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

      I think the agentflows cannot be streamed at this stage.

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

      ​@leonvanzyl I see. I even tried it with a Chain too but did not work as well.

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

    Thank you Leon. Great video. I can see so much potential for this. I did run into an issue however, duplicating your sequential workflow (exact, except for using ChatOllama, instead of ChatOpenAI). When I run the flow, the software developer is called, as it should, stating that the code needs to be reviewed, but then i get the error: Error buildAgentGraph - Error: No tool calls found in the response. and the flow just stops there. Any suggestions?

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

      You need to use an advanced model for multi-agents. If you're using Ollama, it will have to be the equivalent of the Llama 3.1 70b model.

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

      @@leonvanzyl Ah great. Thank you. Will give that a go then (or use a non-local one).

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

      @@leonvanzyl i just changed to GrogChat (llama 3.1 70b) and that seems to work better, although the software developer seems to think it has done a good enough job and does not need to do more, after the code review, even if the code reviewer suggested more changes :D

  • @musumo1908
    @musumo1908 Před 26 dny

    Hey how do I join your channel?….can’t see any options to be a member? Thx

    • @leonvanzyl
      @leonvanzyl  Před 25 dny

      You should see a "Join" button somewhere on any of my vids.

    • @musumo1908
      @musumo1908 Před 25 dny

      @@leonvanzyl hey weirdly it’s not showing up on iPad…fine on android…FYI…

  • @samuelmacaluso3367
    @samuelmacaluso3367 Před 9 dny

    Am I crazy or is some of this out of date already? I can't find the start, LLM, or the state node... whats up?

    • @leonvanzyl
      @leonvanzyl  Před 8 dny

      What version of FW are you on? These nodes were added with v2

    • @samuelmacaluso3367
      @samuelmacaluso3367 Před 6 dny

      @@leonvanzyl If you get someone else who asks this... I was in Chatflow NOT Agentflow. User error in the biggest way.

  • @maniecronje
    @maniecronje Před 6 dny

    Hi Leon apologies if I already asked this in earlier videos… can FW handle calling JS function in the same way as shown here czcams.com/video/HsWwyipZNHw/video.htmlsi=i8fHxMZmliGzBcwz

    • @leonvanzyl
      @leonvanzyl  Před 6 dny

      Absolutely.
      The custom tools in FW run in a node environment, so you can add JavaScript code.
      I created a video on this. It's one of the older videos, but tools still work the same way.
      czcams.com/video/_K9xJqEgnrU/video.html

    • @maniecronje
      @maniecronje Před 5 dny

      @@leonvanzyl Bakgat! Baie Dankie!

    • @maniecronje
      @maniecronje Před 5 dny

      @@leonvanzyl Thx, Leon is there a way to use GraphRAG with FW? if it is possible could you create tutorial on this or point me what you think would be good starting point, thx Manie

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

    Until Flowise add streaming capabilities to AgentFlows and Sequential agents they are pretty much redundant. As through API the responses are delivered in one huge block of text. Making it unusable for production applications.

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

      I kinda agree with you to a smaller extent.
      Consider this:
      You could call the API from a frontend (like a chatbot) or via an automation / non client facing process.
      If you're using it as a chatbot via the web embed, then I agree. It would be a bit frustrating to wait for a response. Flowise will definitely add streaming for this, so it won't be an issue for long.
      If you're using it during a workflow or backend process then streaming really doesn't matter.
      For example, you could have some research team execute at 9am every morning using Make, Zapier or n8n. The final result will then be emailed to you or stored in a database. I suspect that this will be the most common use-case for Agentflows.