How to build a ROBUST AI Agent stack [CrewAI + YouTube API + Ollama + Groq + AgentOps]

preview_player
Показать описание
In this video, we'll discuss how to create #AI agents that interact with the YouTube Data API to extract comments from any given video and generate actionable insights. Based on user feedback, these agents can help you understand and create better content.

What you will learn:
================
✅ Installation & Setup: How to get YoutubeYapperTrapper up and running with step-by-step instructions.
✅ Configuring Agents & Tasks: Tailor the system to your specific needs by configuring agents and tasks.
✅ Running the Tool: Execute the tool to collect comments and generate insightful reports.
✅ Understanding Outputs: Learn how to interpret and use the generated reports to shape your content strategy.

Features of YoutubeYapperTrapper:
============================
🚀 Easy installation with Poetry
🚀 Customizable agent and task configurations
🚀 Automated report generation
🚀 Scalable and flexible architecture for any YouTube content creator

TIMESTAMPS:
============
0:00 - Introduction
0:18 - Project architecture diagram
3:03 - Setting up CrewAI agents using NEW scaffolding
3:30 - Directory tree setup walkthrough
5:53 - Creating CrewAI agents
18:36 - Getting started with AgentOps and creating an API key
18:51 - YouTube Data API overview
19:26 - Poerty setup
20:26 - Running CrewAI AI agents using Groq API key
25:24 - AgentOps dashboard overview
26:05 - Running CrewAI AI agents using Ollama
34:10 - Overview of CrewAI+
35:41 - Closing
36:03 - Outro

Support & Community:
==================
🔗 Check out the CrewAI documentation: Here
🔗 Join our Discord community: Join Now
🔗 Visit my GitHub for more tools: Tony's GitHub
🔗 Questions? Chat with CrewAI docs: Chat Now

Don’t forget:
==========
🤗 Like, Comment, and Subscribe if this video helps you!

Share your experiences and suggestions in the comments below.

Connect with me:
==============

Follow me on socials:

#ai #ollama #groq #crewai #agentops #aiagents #youtube #youtubeapi #contentcreator
Рекомендации по теме
Комментарии
Автор

What a powerhouse of a tutorial wow. Great work thank you!

HowardGil
Автор

Thank you for sharing this!

Huge fan of your content.

atomsilverman
Автор

you're the man 🕶 :) keep up this great work !

funny_animals_world
Автор

You are very creative using tech to solve problems. Great work!

franciscogaxiola
Автор

Oh boy! Oh boy! Oh boy! What a power packed knowledge bomb you just dropped. Man, you are killin' it. Great job, hands down. Started gen ai journey recently, watched a ton of videos, but the information you share, hardly I got from any other video.
Could you please also create a video on fine tuning an llm?
Thank you a million.

xylyx_
Автор

For rate limit - use max_rpm = 2 or 4 for each agent

RICHARDSON
Автор

Great tutorial! Perfect for beginners I appreciate it, Bro. Thanks!

By the way:
1. Noticed an error with some URLs, specifically for llama3 Local, after spending some time 😊. It seems to come from the {vedio_id} passed in the agent prompt. It's recommended to use {{video_id}} instead, ensuring compatibility across OpenAI, Groq, and local LLM models.
2. As you mentioned, errors are opportunities for learning. I've now incorporated a 401 check in the function `validate_video_id()`.
3. Encountered an issue creating the `comment.md` file due to an emoji error (UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f64c'). The workaround involved creating both `comment.md` and `report.md` files, ensuring proper handling of comments with emojis in markdown files.
4. Noticed that the `Report.md` didn't include the URL link. To address this, I made the following change in `main.py`:
```python
inURL = input("🚀 Enter YouTube URL: ")
video_id = extract_video_id(inURL)
inputs = {"video_id": video_id, "url": inURL}
```
5. because of groq rate limit and wanting to test; used a OpenAI (of course limited it GPT3 😜)
```
# OPenAI
self.openai_llm = ChatOpenAI(
temperature=0,
api_key=os.environ.get("OPENAI_API_KEY"),
model_name="gpt-3.5-turbo",
)
```
Thanks again, Bro! Fantastic tutorial! Thanks a lot, Doc! - Srikanth Kamath🤟

TSKTECHIN
Автор

cant you create a manager agent who does what agentops does? and juse your local compute power to complete this?

lloydjohnson
Автор

Would be great if there was a frontend using Open WebUI together with Groq API.

CodingScot
Автор

Tony, have you tested to see whether 'backstory' makes any difference to the output?
I have tested this on a few models, and whether the backstory is positive (i.e. describes a human type role), neutral (leave empty or put none), or negative ( give a human role not relevant to task or a non-human role, e.g. cat), seems to make no significant difference to the output generated ..

dukeslanekitchen
Автор

Great video! I'm liiter condused about the text processing after you get the comments from youtube. Is it not necessary to pass through the token and embedding process on that?

laidsonpaes
Автор

Great video, but I got a little dizzy watching your screens consistently moving around, like a pop video.

theobgshow
Автор

How do we do it with the Claude API?

It might be able to ingest more.

antdx
Автор

Can you deploy these models using Ollama?

curiousskeptic
Автор

Hello, one little question if you could help me. ¿How can I pass the result of one task to another arbitrary task ?

SebastianSernaSanclemente
Автор

How cost is calculated if you are using groq for free 😐!!! I am still having some drawback in integration of agentops with crew

RICHARDSON
Автор

Does this interests you?
1. CodeCraft Duel: Super Agent Showdown
2. Pixel Pioneers: Super Agent AI Clash
3. Digital Duel: LLM Super Agents Battle
4. Byte Battle Royale: Dueling LLM Agents
5. AI Code Clash: Super Agent Showdown
6. CodeCraft Combat: Super Agent Edition
7. Digital Duel: Super Agent AI Battle
8. Pixel Pioneers: LLM Super Agent Showdown
9. Byte Battle Royale: Super Agent AI Combat
10. AI Code Clash: Dueling Super Agents Edition

superfliping