CrewAI LLaMa 3: How I created AI Agents to Automate News Agency

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • 🚀 Join us as we dive deep into the world of AI and news automation! In this tutorial, I'll walk you through the exciting process of creating AI agents using Crew AI, powered by Groq and Llama 3. 🤖✨ We'll start by setting up a database and creating an API, then move on to integrating these elements with Crew AI to develop custom tools and AI agents for a news agency. CrewAI LLaMa 3: How I created AI Agents to Automate News Agency
    🔥 What you'll learn:
    Setting up your own database for sports news.
    Developing an API to interact with the database.
    Creating custom tools in Crew AI to utilise your API.
    Building AI agents for research and journalism in the sports domain.
    🔗 Resources:
    Sponsor a Video: mer.vin/contact/
    Do a Demo of Your Product: mer.vin/contact/
    Patreon: / mervinpraison
    Ko-fi: ko-fi.com/mervinpraison
    Discord: / discord
    Twitter / X : / mervinpraison
    Code: mer.vin/2024/04/crewai-groq-l...
    📅 Timestamps:
    0:00 - Introduction to AI Agents in Crew AI
    0:03 - Setup Guide for Database and API Creation
    0:25 - Integrating API with Crew AI
    0:47 - Creating Custom Tools and AI Agents
    1:31 - Assigning Tasks and Running the Crew
    3:58 - API Deployment and Test
    👍 If you find this video helpful, don't forget to hit the like button and share it with others! Subscribe and click the bell icon to get more updates on AI technologies. 🛎️
    #CrewAi #Tools #ApiIntegration #CreateAiApiIntegration #CrewAiApi #CrewAiApiIntegration #CrewAiCustomTools #CrewAiCustomTool #CrewAiTool #CrewAiTools #CrewAiTool #CrewAiApiIntegration #Crew #Ai #Api #Integrate #IntegrateApiCrewAi
  • Jak na to + styl

Komentáře • 34

  • @cgtinc4868
    @cgtinc4868 Před měsícem +12

    Great job. Can you make another video of how to get the info to the database in the first place? thanks

  • @1242elena
    @1242elena Před měsícem +3

    Fantastic, this a major improvement. Llama 3 is powerful, fast, and free with Groq! That plus CrewAI provides a truly free, capable, and fast multi agent workflow! finally! It's great to see open source finally take the lead. No more money wasted on gpt-4!

  • @d.d.z.
    @d.d.z. Před měsícem

    Thank you Mervin, I'm excited to see more case uses. 🎉

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

    Thank you sir.. keep growing your channel with such relevant and practical videos, subscribed

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

    amazing simple example very clear, thanks!

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

    Might be able to create a bet prediction algorithm that uses historical data to give predictions using similar data.
    Might need to include some additional tools for analysis however

  • @NetZeroEarth
    @NetZeroEarth Před měsícem +4

    Merv can you provide the flask api code and database please

  • @spacecolumn5162
    @spacecolumn5162 Před 20 dny

    thanks, it is very illustrative!

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

    Underrated channel ❤️

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

    another one! awesome!

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

    Why aren't there other implementations different from the examples from CrewAI?

  • @YonatanSetbon
    @YonatanSetbon Před 23 dny

    if you run in cmd, pip install crewai[tools] flask requests (without the ' ' )

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

    Amazing video! Man I’m a fan I think you were the first one to always post videos. I know Llama 3 you posted in 3hrs i think 😂 can you share what code assist you use? Really curious about it!

  • @swapnil0402
    @swapnil0402 Před 2 dny

    Hi, may I ask you one help on this agent. In your tools , you created a functions and it has a team name as an argument. But inside task you did not send the argument. Does the Agent automatically figures out the argument from the prompt?

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

    Keep doing more CrewAI videos please. Could you figure out a way where we can use GPT4 for best output but also somehow save costs? GPT4 with CrewAI is too expensive

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

      Use prompt engineering with only open source models

    • @basilbrush7878
      @basilbrush7878 Před měsícem +3

      Mixtral 8x7b and 8x22b perform just as well as GPT-4, particularly using the SerperAPI. I wouldn't bother with the expensive GPT-4 if you want to save money

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

      @@basilbrush7878 Thanks for the tips!

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

    This is really greate it gaves alot of ideas and inspiration. Do you plan for more complex project having multiple agents with voice recognition , pulling the user portfolio and prefrence as well any history chat to adopt the AI assistant to support the user in best way. With capabilities of TTS and STT and access LLM both locally or function calling API the trick to to have a model selector for the right TTS or STT model as will the right llm model based on preformance matrix based on the task.

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

      The assistant will have multiple skills and tools and agent orchestration as well multi-agent system this is including research , project manager , task manager, coder. Al theses agents work to togther to cover any possible requests from the user. It also can yours sentiment analysis to understand the user intent from query and start activating and using these tools to have a faster response and also to have a more human interaction based on the mood and the behaviour of the user.

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

      @@cudaking777 we can use memory in crewai agents and the crew itself to have the short term memory , long term memory ,entity memory and contextual memory is the one that will combine all the previous 3 memories and pass it as future context to the llm with the iser query ...that is a good starting point to have an assistant that is built on top of agents and that will be personalized and self improve over time

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

    I love your videos!
    I still can't understand... how can you create a project, test, demonstrate and create a video faster than I can follow and test... 🤯

  • @nigeldogg
    @nigeldogg Před 27 dny

    When defining agents in a yaml file in CrewAI, do you define tools the same way you would in a python file? I’ve been running into a KeyError…

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

    can you make another video for web scraping using lama 3 and cew ai and undetectable driver?? or at least tell if it is practical

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

    I would suggest you to add a light source in front of you to improve your video quality :)

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

    This is a nice way to ground results, would be nice to have another tool to lookup the same stuff on the internet, otherwise there’s really no details about the game and all of that is just hallucinated

  • @1242elena
    @1242elena Před měsícem

    Question ⁉️ why use a score function call instead of using serper/google api which would provide that info plus more context

    • @JoeSmith-kn5wo
      @JoeSmith-kn5wo Před měsícem +1

      Because you have no clue what serper is going to return to you. You when create your own API with predictable data return to you get better results.

    • @1242elena
      @1242elena Před měsícem

      @@JoeSmith-kn5wo true 😂

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

    Hi, can we build an app around this, what do you think? I🎉

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

    where is llama 3?

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

    How to make slop from slop using slop!

  • @watchdog163
    @watchdog163 Před 8 dny +1

    This sucks. What you really want is an agent that breaks down topics and creates its own agents and tasks.