AutoGen RAG Multi-Agents: How I created Multiple AI Agents to Respond Accurately

  Рет қаралды 7,945

Mervin Praison

Mervin Praison

Күн бұрын

🚀 Dive deep into the world of AI with our latest tutorial on creating an advanced Group Chat Manager using RAG (Retrieval-Augmented Generation) and AutoGen! In this comprehensive guide, we'll explore how to harness the power of multiple AI agents, including a Boss, Python Engineer, Project Manager, and Code Reviewer, to work together seamlessly, providing context-aware responses and collaboration. 🤖✨AutoGen RAG Group Chat: Creating Multiple AI Agents to Respond Accurately
If you like this video:
Tweet something positive about these tutorials in / @mervinpraison
"@MervinPraison ......................."
Whether you're an AI enthusiast or a professional looking to integrate sophisticated AI functionalities into your projects, this video is your go-to resource. Learn about the two methods of invoking RAG: Retriever Agents and Function Calling, and see how to store embeddings in Chroma DB for enhanced performance. 🛠️🧠
🔑 Key Takeaways:
Understand RAG and its role in multi-agent AI systems.
Step-by-step instructions on setting up your AI agents for group chat management.
Insights into using Chroma DB for storing embeddings.
Practical examples of both Retriever Agents and Function Calling methods.
Don't forget to subscribe and hit the bell icon to stay updated on all things AI! 👍💡 Like this video to help spread knowledge and share with others who might find it useful. Let's embark on this AI journey together!
🔗 Resources and Documentation:
AutoGen Tutorial: • AutoGen Tutorial
Patreon: / mervinpraison
Ko-fi: ko-fi.com/mervinpraison
Discord: / discord
Twitter / X : / mervinpraison
Code: mer.vin/2024/02/autogen-rag-g...
Timestamps:
0:00 - Introduction to RAG in AutoGen
0:46 - What is RAG for Multi-Agents?
1:17 - How to Set Up Your AI Agents
2:23 - Creating the Group Chat Manager
3:29 - Comparing With and Without RAG Agents
4:47 - Running the Code: Without RAG vs With RAG
5:51 - Implementing RAG Using Function Calling
7:11 - Final Overview and Running the Function Calling RAG
8:03 - Conclusion and Call to Action
#AutoGenRAG #MultiAgents #GroupChat #Tutorial
#autogen #autogenTutorial #MicrosoftAutogen #AutogenMicrosoft #AIAgents #AI #CreateAIAgents #HowToInstallAutogen #AutoGen #AutogenQuickstart #HowToUseAutogen #AutogenInterface #AutogenAI #AutogenAssistant #AutonomousAgents #AutogenTutorials #AutogenInstallation #AutogenRAG #AutogenRAGMultiAgents #AutogenRAGAIAssistants #AIAssistants #RAGAIAgents #AutogenRAGAIAgent #AIAgent #AIAssistant #AutoGenRAG #AutogenRAGTutorial

Пікірлер: 36
@squibtechnologies
@squibtechnologies 4 ай бұрын
Keep it going, Mervin! I like how you showed multiple methods here, easy to follow.
@mikew2883
@mikew2883 4 ай бұрын
Amazing stuff Mervin! 👏
@MervinPraison
@MervinPraison 4 ай бұрын
Thank you
@JosefEngelfrost
@JosefEngelfrost 4 ай бұрын
Thank you for your videos, to me they make a great complement to the AutoGen notebooks and other written sources. It's much easier to follow along if I've seen someone do it first. I would love to hear you elaborate on the difference between using function calling and RAG via retrieval agent. How do you experience the difference? Do you have use cases when you would prefer one over the other?
@MervinPraison
@MervinPraison 4 ай бұрын
Thank you 😊 Simple easy difference is LLM Response for Function calling is JSON object LLM Response for RAG is Text Both are different
@JosefEngelfrost
@JosefEngelfrost 4 ай бұрын
@@MervinPraison Yes, they are in different format, but I'm more interested in how they work on a higher level, i.e. the impact function calling has on the group chat and the result vs providing RAG through a specific agent.
@EddieAdolf
@EddieAdolf 4 ай бұрын
Can this be done in Autogenstudio UI yet?
@SaiTeja-go6lw
@SaiTeja-go6lw 4 ай бұрын
Could you share video related to invoice processing documents for agent rag cases
@MervinPraison
@MervinPraison 4 ай бұрын
Soon I will do an example use case, you could modify that based on your above requirement
@akshaypachbudhe3319
@akshaypachbudhe3319 Ай бұрын
how to implement this RAG using local PDF documents instead of web URLs (if possible in ollama)??
@RobOttly
@RobOttly 4 ай бұрын
friend i ask of you why autogen when most sources report crewAi > autogen? Perhaps some reason led for you this conclusion? Looking to your channel in await for local RAG implementation 🤞 you make very many good video ❤ I wishing for crewAi advanced series with local RAG very much like this video but no chatgpt
@MervinPraison
@MervinPraison 4 ай бұрын
Every project has its own advantages. It's best to understand what each tool offers at a high level so you can select the right one for your use case. For simple applications and if you're a beginner, CrewAI is a good choice. If you're an advanced user who needs more customization options, consider AutoGen. Your decision should also be based on the specific features you want in your application. For example, if you want to implement RAG (Retrieval-Augmented Generation) with your AI agents and CrewAI doesn't currently support it natively, AutoGen would be an easier choice.
@JosefEngelfrost
@JosefEngelfrost 4 ай бұрын
I don't think Mervin is "team autogen", he makes videos about both, and anything else that's interesting :D I've played around with a little of both and it's not as simple as one is better than the other. I like CrewAI better, but autogen is more mature and let's me do things CrewAI just doesn't support (yet). Regarding local RAG, I haven't tried it but it should be as simple as switching out GPT with e.g. Ollama. Just follow these intructions, and then add the instructions on how to switch GPT for a local LLM on top of it. If you try it, it would be interesting to hear if it works, and if the result is good.
@RevMan001
@RevMan001 4 ай бұрын
I found the same thing, I started with crewAI (it's simple for a quick crew using chatgpt4) but for more advanced integrations, it just doesn't seem evolved enough right now. Autogen seems to have a head start and with Microsoft behind it, it'll probably stay that way. I'm sure crewAI will get better, but I don't have time to wait. @@JosefEngelfrost
@IlliaKniaziev
@IlliaKniaziev 2 ай бұрын
Hi, is it possible to place couple of url's for rag use, in my case i have different books that i want to use, and in my case or i give all of book to all agents, or maybe predefine specific url to specific agent (idk), if its possible could you share some videos or maybe tell where to find info about it
@IlliaKniaziev
@IlliaKniaziev 2 ай бұрын
yes, im using autogen to automize this process
@rs832
@rs832 4 ай бұрын
Mervin, thank you for these videos! I would LOVE to see this for CrewAi -- any chance thats in the pipeline for the very near future?
@MervinPraison
@MervinPraison 4 ай бұрын
Yes it’s in my pipeline :)
@rs832
@rs832 4 ай бұрын
@@MervinPraison This is great news! Is there someplace the pipeline can be viewed? If not, perhaps you can share when the video is expected to be released? Thank you - we are looking forward to this journey!
@planplay5921
@planplay5921 4 ай бұрын
I think the open source technology we have now is enough to start a company with good profits.
@MervinPraison
@MervinPraison 4 ай бұрын
Yes
@loicbaconnier9150
@loicbaconnier9150 4 ай бұрын
If you think so why didn't use open source model in spite of openai in your example ? Will be more interresting with open source like mixtral. And with the limitation of their function calling
@christopheboucher127
@christopheboucher127 4 ай бұрын
Hi Mervin, do you think is possible to implement this Rag Function as skill in autogen studio ? You can just reply yes or no or maybe make a video ;) Thx a lot for all your precious video
@MervinPraison
@MervinPraison 4 ай бұрын
Yes, Its possible. But CrewAI don’t provide that feature by default. I hope they will do it soon. But still you should be able to implement it using Tools in CrewAI. It’s in my Pipeline.
@christopheboucher127
@christopheboucher127 4 ай бұрын
CrewAI ? I was talking about autogen studio and skills:)
@MervinPraison
@MervinPraison 4 ай бұрын
​@@christopheboucher127 Ops sorry for that. I've been receiving lot of comments about CrewAI and I mixed that here. "Do you think is possible to implement this Rag Function as skill in autogen studio ?" Yes. Sure, I will look in to it and will try to make a video on that.
@RetiredVet
@RetiredVet 4 ай бұрын
Mervin, I may have missed the discussion in the video, but you import AssistantAgent and with coder you assign it: "coder = AssistantAgent" but with pm you use autogen.AssistantAgent: "pm = autogen.AssistantAgent" May I ask if there is any reason for doing this? Is there any difference?
@MervinPraison
@MervinPraison 4 ай бұрын
You are absolutely correct. I should have used one or the other to stop confusion. Both are the same, based on how u import If you use import autogen Then you should use autogen.AssistantAgent If you use from autogen import AssistantAgent Then you should use AssistantAgent I did both without realising 🤦‍♂️ do one or the other to stop confusion. But it should work anyways.
@RetiredVet
@RetiredVet 4 ай бұрын
@@MervinPraison That is what I thought, but when someone who knows so much more than I do about a language, I don't assume. Thanks for the response.
@YeasinRafio
@YeasinRafio 4 ай бұрын
Hello, can you please suggest me open source llm for agents, because most of them I heard are not good at using tools
@rs832
@rs832 4 ай бұрын
my experience with mistral 7b & mixtral 8x7b has been pretty solid, to the point where I haven't had the desire to look for others allowing me to focus on other tasks.
@MervinPraison
@MervinPraison 4 ай бұрын
Yes I recommend Mixtral 8x7b
@fortuneasy
@fortuneasy 4 ай бұрын
Marvin, in open IA key, can I use gemini api?
@lokeshart3340
@lokeshart3340 4 ай бұрын
Same here can we use something free like mistral
@fortuneasy
@fortuneasy 4 ай бұрын
i will try by myself and back here@@lokeshart3340
@MrJekyllDrHyde1
@MrJekyllDrHyde1 2 ай бұрын
I do not see the point of multi-agent AIs. The use case you presented can be done with regular RAGs with ONE verbose prompt. Why bother making different agents, tasks etc ?
I created AI Agents to Automatically create LinkedIn Posts: AutoGen
6:31
LangGraph 101: it's better than LangChain
32:26
James Briggs
Рет қаралды 50 М.
3 wheeler new bike fitting
00:19
Ruhul Shorts
Рет қаралды 45 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 23 МЛН
AutoGen RAG: How I Created AI Agents and gave them Second Brain?
12:05
Why JavaScript Devs are Switching to Rust in 2024
10:35
warpdotdev
Рет қаралды 247 М.
Chunking Strategies in RAG: Optimising Data for Advanced AI Responses
14:02
Unlimited AI Agents running locally with Ollama & AnythingLLM
15:21
Multi-Agent RAG
1:00:50
AI Makerspace
Рет қаралды 8 М.
Forget CrewAI & AutoGen, Build CUSTOM AI Agents!
45:28
Data Centric
Рет қаралды 19 М.
Jerry Liu - What is LlamaIndex, Agents & Advice for AI Engineers
1:16:07
Alejandro AO - Software & Ai
Рет қаралды 2,7 М.
RAG But Better: Rerankers with Cohere AI
23:43
James Briggs
Рет қаралды 52 М.
ВЫРАЩИВАЮ МУРАВЬЕВ С АВИТО ЧАСТЬ 2
0:58
Натали Макколи
Рет қаралды 2,5 МЛН
今流行ってる椅子取りゲーム
0:31
Gintube
Рет қаралды 68 МЛН
🥴His Mom Saved Him From The Spicy Noodles The Kid Made🍜🤪
0:21
BorisKateFamily
Рет қаралды 3,7 МЛН
small vs big hoop #tiktok
0:12
Анастасия Тарасова
Рет қаралды 11 МЛН
JUEGO DE AMOR 🤪 @SantiOficialll #santijuegodeamor
0:11
Santi
Рет қаралды 6 МЛН