CrewAI Flows Crash Course

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

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

  • @bhancock_ai
    @bhancock_ai  28 дней назад +2

    Hey guys! I made some simple but much needed improvements to the way we write book chapters in parallel. To see these improvements and updates, please checkout the source code in the description.
    Also, thank you to everyone who has pointed out issues and improvements that I can make to the source code. I believe I've addressed all the issues and added in all the fixes mentioned so far!
    Y'all are awesome! Please let me know if you find anything else or have any other questions!

  • @raghavbhandari6983
    @raghavbhandari6983 Месяц назад +4

    Most easiest and structured way i have seen of the internet to learn CREW
    I really hope if u will be able to make long video on Langgraph with some real world project 🙌

  • @RobShocks
    @RobShocks Месяц назад +5

    Brandon just posted, hold all my calls, boil the kettle and fire up your code editor!! Looking forward to this one

    • @bhancock_ai
      @bhancock_ai  Месяц назад

      Love it! Can’t wait to hear what you think about flows!

  • @wahwahwally1
    @wahwahwally1 Месяц назад +1

    awesome video! I'm at the 6-month mark with python now and you have inspired me from the beginning, ty!

    • @bhancock_ai
      @bhancock_ai  Месяц назад

      That's awesome man! Don't give up! Keep going!
      Out of curiosity, what is your end goal? Launching your own apps? Landing a job?

    • @wahwahwally1
      @wahwahwally1 Месяц назад

      @@bhancock_ai thanks! Right now i work with a lot of excel files so I started learning it to speed up my productivity. Now i can leave work 2 hours early. lol hopefully it will land me a data analyst job one day. I've been keeping on eye on RAG AI and you're my go-to currently.

  • @idaelpineiro8339
    @idaelpineiro8339 28 дней назад

    Hi Brandon,
    Great to be back from vacation and reconnect with the group. I'm excited about the new CrewAI Flows crash course! Hoping it can help me automate my Mail2Sheet email extraction or email scraper system and leverage CrewAI's full potential.
    Cheers!

  • @switzerlandbase
    @switzerlandbase Месяц назад +1

    Yes, Brandon`s approach is top notch, can wait to work on this

    • @bhancock_ai
      @bhancock_ai  Месяц назад

      Thanks man!! We made so many improvements to flows that I had to record this like 3 times for you guys! I think y’all are going to love it!

  • @aladinmovies
    @aladinmovies Месяц назад +1

    Amazing detailed tutorial! Thanks Brandon!

  • @adammyers6540
    @adammyers6540 20 дней назад

    Incredible information for the less skilled. Thank you Sir!

  • @giladbar-ilan1472
    @giladbar-ilan1472 28 дней назад

    again thanks! btw, when running the book, i would expect in the plot to show that we have multiply chapters. this must be some UX improvement here

  • @sola1356
    @sola1356 Месяц назад +1

    Hi Brandon, I loved the video-it was really well done! I’ve been using CrewAI for a while, but I occasionally run into exceptions that break the entire crew, and I haven’t found many resources on handling this. Do you have any suggestions on managing or troubleshooting these issues?

    • @bhancock_ai
      @bhancock_ai  Месяц назад

      Hey! Do you have any examples that you could share with me so I can see what you're talking about?

    • @sola1356
      @sola1356 Месяц назад

      @@bhancock_ai Appreciate your reply:) In some cases, if the LLM cannot determine a final answer and reaches the iteration limit, an error message-'Agent stopped due to iteration limit or time limit'-may occur. To address this, I currently check the results once the crew has completed (e.g., ensuring data is updated in the database). If the expected updates aren't present, will rerun the crew. However, I'm uncertain if this approach is the most effective. Are there more effective ways to capture specific task errors, halt the crew, and resume from the exact task where the error occurred?

  • @TomPooleMS
    @TomPooleMS Месяц назад +1

    Thanks Brandon - you are the best!

  • @thefutureisbright
    @thefutureisbright Месяц назад +1

    Excellent tutorial Brandon.

  • @WillianSilvanoMaria
    @WillianSilvanoMaria Месяц назад +1

    Thank you for this awesome video!

  • @manuelbradovent3562
    @manuelbradovent3562 Месяц назад +1

    Excellent! Looking forward to improve the flow. Just found that py312 works and runs flow nicely while 3.11 needs asyncio wrapper the kickoff?

    • @bhancock_ai
      @bhancock_ai  Месяц назад +1

      Hey! We actually did a last minute improvement on flows to make them not async so you don't have to wrap them in an asyncio wrapper.
      If you update to ^0.76, you won't have to worry about it anymore.
      Please let me know if you have any other questions!

    • @manuelbradovent3562
      @manuelbradovent3562 29 дней назад

      ​@@bhancock_ai I ran into an issue , while crewai flow kickoff works perfectly , the crewai flow plot wont and raises below error. I have tried to update all dependencies and will look further how to resolve it. In case you know any workarounds would appreciate. Error:
      Caused by: program not found
      An error occurred while plotting the flow: Command '['uv', 'run', 'plot_flow']' returned non-zero exit status

  • @augmentos
    @augmentos 20 дней назад

    this is so not what I thought Crew AI was. Its basically programming lol you also did make a minor error at the start (I don't personally love the verbiage of 'flow' 'start' its confusing and I would have thought they would be named (if those names) inversesly. But you mentioned at one point (then self corrected) a start starts a flow. I'd have at the start explained the simple concept that a flow can have many starts, like you have a drive through a city and there will be many red lights on crossings with 'starts' or something to make it make sense. my .2cents. Good video.

  • @Prathameshhh_
    @Prathameshhh_ Месяц назад +1

    Sir, please create a video on interactive chatbot with crew ai having memory and being interactive throughout the conversation .

  • @peddibharath7016
    @peddibharath7016 8 дней назад

    very easy to understand tutorial

  • @ricardoquiroga4891
    @ricardoquiroga4891 Месяц назад +1

    Awesome! One question: Why do you use from langchain_openai import ChatOpenAI instead of from crewai import LLM ?

    • @bhancock_ai
      @bhancock_ai  Месяц назад

      I'm a dummy. That's why lol!
      It should have been this one: `crewai import LLM`
      Great call! I'm going to do a followup more advanced crewai flows tutorial soon and I'll be sure to use the right one in the next video!

  • @mrknow-it-all7847
    @mrknow-it-all7847 Месяц назад +1

    Brandon, just wondering. What if you want to use something like a vector store as the repository for your book. Would you just change the researcher to use the vector store instead of the Internet?

    • @bhancock_ai
      @bhancock_ai  Месяц назад

      Exactly! You would just give your Researcher a different tool. Instead of a search the internet tool, you'd give them a query a vector store tool.
      Good luck! Let me know if you need help with anything else!

  • @Terresa_P
    @Terresa_P Месяц назад

    Thank you, Brandon, for this fantastic tutorial! I’m curious if this augmented CrewAI still lacks the Cycles feature that LangGraph is known for, which loops back to the previous node for self-reflection?

    • @bhancock_ai
      @bhancock_ai  Месяц назад

      hey! I’m so glad you brought that up! You can definitely do cycles for self reflection with flows!
      there is an example over on our website where you can set up a feedback loop with human in the middle. Here is the link to the example.
      github.com/crewAIInc/crewAI-examples/tree/main/lead-score-flow
      Also, you bring up a really good point about auto self reflection so I will go update and add an example to the docs right now!

    • @bhancock_ai
      @bhancock_ai  28 дней назад

      Hey! I just created a new example in the crewAI docs and my next RUclips deep dive into flows with cycles.
      Here's the link in the mean time:
      github.com/crewAIInc/crewAI-examples/tree/main/self_evaluation_loop_flow
      Thank you for calling this out!

  • @giladbar-ilan1472
    @giladbar-ilan1472 Месяц назад +1

    Thanks for the detailed example. This is Great. How can i have a fixed chapter list for a book? I want each book to be with same structure, can u define the list of chaptters as a fixed value instead of using a crew to generate that?

    • @bhancock_ai
      @bhancock_ai  Месяц назад +1

      Awesome question!
      The simplest solution would be to update the chapter outline generator crew to say please generate a chapter outline in this format:
      [Insert Format Here]
      ----
      Or, you could add the chapter list as a fixed value in the `state` of the flow.
      I hope that helps! Please let me know if you have any followup questions!

    • @giladbar-ilan1472
      @giladbar-ilan1472 28 дней назад

      @@bhancock_ai so what you are suggesting is to override the outline_book_crew and set it as fixed values like this: chapters=[1. intro 2.{} 3.{}... X.summary]? did i understood you correctly?

  • @anilshinde8025
    @anilshinde8025 Месяц назад +1

    Very interesting and informative.

  • @faizantayyab8222
    @faizantayyab8222 12 дней назад

    Is it normal for the Flow or CrewaI to take long time to initiate. What factors are to be considered in terms of performance. Is Crew AI slower then langgraph?

  • @mr.mentor699
    @mr.mentor699 Месяц назад +1

    Awesome sir

  • @atifroome
    @atifroome 11 дней назад +1

    Change the channel name to “First thing First” 🤣

    • @bhancock_ai
      @bhancock_ai  10 дней назад

      I do kinda say that a lot 😂

  • @vincentreynolds853
    @vincentreynolds853 Месяц назад

    Help??!
    > sudo pip3 install crewai
    Could not find a version that satisfies the requirement crewai (from versions: )
    No matching distribution found for crewai

    • @vincentreynolds853
      @vincentreynolds853 Месяц назад

      4.18.0-305.el8.x86_64

    • @bhancock_ai
      @bhancock_ai  Месяц назад

      Hey! I'd recommend to u[date to the latest version of crewAI which is currently 0.76.2. Please let me know if you run into the same issue after updating versions!

  • @azubermounir9151
    @azubermounir9151 14 дней назад

    how are your teeth so white brandon