Published On Jun 24, 2024
How to Build Multi-Agent AI Teams with RAG & Custom Tools
In this video about building multi-agent AI teams with RAG and Custom Tools you will learn to take take your agentflows to the next level. You will learn how to add a custom knowledge base (a PDF file) to the flow and also create a custom tools for sending emails.
🙏 Support My Channel:
Buy me a coffee ☕ : https://www.buymeacoffee.com/leonvanzyl
PayPal Donation: https://www.paypal.com/ncp/payment/EK...
📑 Useful Links:
Make.com: https://www.make.com/en/register?pc=l...
💬 Chat with Like-Minded Individuals on Discord:
/ discord
🧠 I can build your chatbots for you!
https://www.cognaitiv.ai
🕒 TIMESTAMPS:
00:00 - Intro
02:16 - Creating the Agent Team
04:55 - Writing Worker Prompts (Pro Tip)
08:22 - Adding Vector Retrieval Tool (RAG)
11:34 - Improving Team Behavior
13:00 - Custom Tool (Email Sender)
15:13 - Make.com
18:29 - Setting up Gmail Connection
22:29 - Testing our Team
-----------------------------------------------
🧑💻 Custom Tool Code Snippet:
-----------------------------------------------
const fetch = require('node-fetch');
const url = '';
const options = {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
message: $message
})
};
try {
const response = await fetch(url, options);
const data = await response.json();
return data.message;
} catch (error) {
console.error(error);
return '';
}