Autogen Agents with RAG - Upgrading Agents with a Knowledge Base

Yaron Been From EcomXFactor
9 Mar 202425:21

Summary

TLDR视频介绍了如何使用自动生成框架Autogen进行知识检索,以提高工作流程的效率。通过向GPT模型提供特定上下文,可以生成更个性化和针对性的内容。以向QI团队发送电子邮件为例,展示了在提供公司背景信息后,GPT能够生成更具体和相关的邮件内容。视频还提到了使用Chrome扩展和AI代码助手来提高编程效率,以及如何通过Autogen框架进行自动化服务的推广。

Takeaways

  • 📚 使用Autogen框架进行知识检索是提升工作流程的关键更新。
  • 🔍 知识驱动(RAG)通过在提示中添加更多数据或上下文,帮助利用新知识或特定知识完成任务。
  • 📧 在写给特定公司的电子邮件中,提供公司相关信息可以避免内容过于通用。
  • 🤖 GPT-4由于知识截止日期的限制,可能无法准确了解新出现的公司或平台。
  • 📈 通过Autogen的检索代理,可以从QI的GitHub仓库中提取数据,以改善生成的电子邮件内容。
  • 🔗 利用Autogen的Gab仓库中的笔记本和示例,可以启发不同的用例。
  • 🛠️ 使用Chrome扩展和AI代码助手可以提高代码理解和问题解答的效率。
  • 📝 在自动化服务的电子邮件中,个性化和展示对项目的理解是关键。
  • 🔄 通过对比使用和不使用RAG的电子邮件,可以看出知识检索对内容质量的影响。
  • 📊 知识检索(RAG)可以显著提高AI框架在特定任务中的性能。
  • 📌 通过优化提示和系统消息,可以进一步提升自动化框架在创建个性化内容方面的潜力。

Q & A

  • 什么是RAG(Retrieval-Augmented Generation)?

    -RAG是一种结合了检索和生成的技术,它通过在生成过程中引入外部知识源(如数据库或网页)来增强模型的知识库和生成质量。

  • 在脚本中,如何使用RAG来改进GPT-4的输出?

    -通过在提示中添加关于特定公司或主题的额外内容,RAG可以帮助GPT-4生成更具体、更准确的信息,而不是仅仅基于其内部知识库生成通用内容。

  • 脚本中提到的Autogen是什么?

    -Autogen是一个框架,用于构建和部署基于GPT-3的应用程序。它提供了一套工具和库,使得开发者能够更容易地利用GPT-3的能力。

  • 脚本中提到的QI是什么?

    -QI是一个平台,旨在通过利用AI来提高销售和客户服务团队的生产力。它通过自动化数据录入和分析等任务,帮助团队更专注于与客户互动和完成交易。

  • 脚本中提到的GPT-4在没有额外上下文的情况下对QI的了解如何?

    -GPT-4在没有额外上下文的情况下,对QI的了解非常有限,可能会基于其内部知识库生成一些基于猜测的内容。

  • 脚本中提到的Chrome扩展是什么?

    -脚本中提到的Chrome扩展是一个名为“继续”(Continue)的AI代码助手,它可以帮助用户在编写代码时提供智能建议和帮助。

  • 脚本中提到的自动化服务是什么?

    -自动化服务指的是使用技术(如AI和RPA工具)来简化和自动化业务流程,以提高效率和生产力。

  • 脚本中提到的个性化电子邮件的目的是什么?

    -个性化电子邮件的目的是向收件人展示发件人对他们的了解和关注,从而提高回应率和建立更好的客户关系。

  • 脚本中提到的CMO在团队中的角色是什么?

    -CMO(首席营销官)在团队中负责市场营销策略的制定和执行,专注于市场定位、品牌建设和推广活动。

  • 脚本中提到的自动化服务如何与QI团队的工作集成?

    -自动化服务可以与QI团队的工作集成,通过提供先进的自动化解决方案,帮助他们优化开发和生产流程,提高AI代理的工作效率。

Outlines

00:00

🔍 知识检索与自动生成的结合

介绍了在特定工作流中使用自动生成(Autogen)框架的重要性。通过向提示中添加更多数据或上下文,可以利用新知识或特定知识来完成特定任务。例如,向GPT模型提供关于新公司的额外信息,以便生成针对性的电子邮件。视频展示了如何使用知识检索在Autogen中,以及如何通过提供更多上下文来改善GPT模型的输出。

05:02

📝 代码实现与应用

讨论了如何通过代码实现知识检索,以及如何将检索到的信息应用于自动化工作流。提到了一个名为“继续”的Chrome扩展,它是一个AI代码助手,可以帮助理解和测试代码。视频还展示了如何使用Autogen框架来构建一个销售和营销用例,以及如何通过提供GitHub仓库的URL来让检索代理获取信息。

10:04

📧 自动化服务的电子邮件撰写

展示了如何使用代理框架来撰写一封针对QI团队的自动化服务推销电子邮件。邮件的撰写过程包括了多个角色,如老板、助理、高级撰稿人和首席营销官,他们各自有不同的任务和目标。视频还比较了使用和不使用知识检索(RAG)时的电子邮件撰写效果,以及如何通过提供正确的提示和指导来改善输出。

15:05

📩 电子邮件内容的比较与分析

分析了在没有使用知识检索(RAG)的情况下,GPT模型生成的电子邮件内容。指出了邮件内容的不足之处,如缺乏个性化和对QI项目的了解。然后,展示了在提供QI项目上下文后,GPT模型如何生成更准确和个性化的电子邮件。视频还提到了如何通过比较QI与其他代理框架来增强邮件的说服力。

20:06

🚀 利用RAG提升自动化服务

强调了在自动化服务中利用知识检索(RAG)的重要性。通过实际案例,展示了如何通过RAG来提升电子邮件的个性化程度和效果。视频还提到了如何通过更好的提示和系统消息来优化代理框架,以及如何通过这种方式来实现大规模的个性化。

25:08

📢 订阅频道与持续自动化

视频最后,鼓励观众订阅频道以获取更多关于自动化和代理框架的视频。同时,提出了对视频内容的反馈和建议,以及如何通过观众的反馈来优化和改进视频内容。

Mindmap

Keywords

💡知识检索

知识检索是指在特定框架中,如Autogen,通过提供额外的数据或上下文信息来增强模型的理解和响应能力。在视频中,这允许模型更准确地了解特定任务的背景,如向特定公司发送电子邮件。

💡Autogen

Autogen是一个框架,它允许用户通过检索代理来获取和利用外部数据,以增强生成内容的相关性和准确性。在视频中,Autogen用于从QI的GitHub仓库中提取数据,以便更好地理解QI公司。

💡上下文

上下文在这里指的是与特定任务相关的额外信息,这些信息可以帮助模型更好地理解任务的背景和需求。在视频中,上下文的提供是通过在提示中添加关于QI公司的信息来实现的。

💡GPT

GPT(Generative Pre-trained Transformer)是一种自然语言处理模型,它能够生成连贯的文本。在视频中,GPT用于生成电子邮件内容,但其准确性受到其知识截止日期的限制。

💡自动化服务

自动化服务指的是使用技术来简化和优化业务流程,减少人工操作。在视频中,自动化服务被用来提升QI团队的工作效率和扩展其影响力。

💡个性化

个性化是指根据特定用户或群体的需求和偏好来定制产品或服务。在视频中,个性化是通过在电子邮件中包含关于QI公司的具体信息来实现的,以展示对公司的了解。

💡角色扮演

角色扮演在这里指的是在自动化流程中,不同的AI代理扮演特定的角色,以完成特定的任务。在视频中,有老板助理、文案撰写者和高级文案撰写者等角色。

💡开源开发

开源开发是一种软件开发模式,它允许社区成员共同参与和改进软件项目。在视频中,QI公司对开源开发的承诺被视为其项目成功的关键因素之一。

💡AI代理

AI代理是指在自动化流程中执行特定任务的人工智能实体。在视频中,AI代理被用来模拟团队成员,以提高工作效率和处理复杂任务。

💡工作流程自动化

工作流程自动化是指使用技术工具来自动执行一系列任务,以提高效率和减少错误。在视频中,工作流程自动化是通过AI框架和代理来实现的,目的是简化和加速业务流程。

Highlights

知识检索与自动生成(Autogen)是任何工作流程中的关键且可行的更新或升级。

RAG(Retrieval-Augmented Generation)或知识驱动,基本上是将更多数据或上下文引入提示中,以便利用新知识或特定知识完成特定任务。

例如,如果你想给一个新公司写电子邮件,而这个公司在C GPT中找不到,你可以在提示中添加关于公司的内容。

如果不提供关于Qi的更多上下文,生成的电子邮件将会非常通用。

视频展示了如何在Autogen中使用知识检索。

GPT-4由于知识截止日期在Qi推出之前,所以不知道Qi是什么,可能会基于上下文写出一些不准确的内容。

通过Autogen的检索代理从Qi的GitHub仓库中拉取数据,可以生成更好的电子邮件,因为它能够理解上下文。

Autogen gab仓库提供了许多不同用例的笔记本,这些笔记本包含了许多示例。

展示了如何使用Autogen中的检索代理来拉取Qi GitHub仓库的数据。

代码示例展示了如何构建一个团队,包括老板、检索代理、文案和高级文案,以及CMO(首席营销官)。

目标是向Qi团队发送一封个性化的冷邮件,展示对他们所做工作的了解。

在没有RAG的情况下,团队可能会生成一个通用的电子邮件。

使用RAG时,电子邮件会更加个性化,因为它包含了从Qi GitHub仓库中检索到的上下文。

展示了如何使用Autogen框架来创建个性化的电子邮件,而不是使用RPA(Robotic Process Automation)工具。

强调测试代理框架的潜力,而不使用RPA工具,以查看仅使用代理框架的潜力。

展示了如何使用Autogen框架来创建个性化的电子邮件,而不是使用RPA工具。

讨论了如何通过更好的提示和系统消息来优化代理框架。

视频最后邀请观众订阅频道,以便获取有关自动化和代理的更多视频。

Transcripts

play00:00

knowledge retrieval with autogen this is

play00:03

a crucial and viable update or upgrade

play00:08

for any of your workflows when you're

play00:10

using a gentic Frameworks specifically

play00:14

autogen for those of you who don't know

play00:16

what is rag or knowledge drival is

play00:19

basically pulling more data or more

play00:23

context into the prompt allowing you to

play00:26

leverage mostly a new knowledge or

play00:29

specific specific knowledge for the

play00:31

specific tasks so for example let's say

play00:35

I would like to

play00:36

write an

play00:38

email to a specific company and this

play00:42

company um is a new company that you

play00:45

can't find in C GPT so what you can do

play00:49

you can add content about the company in

play00:52

the

play00:54

prompt and let's say you write provide

play00:57

to me a c email for to the company cre a

play01:00

I so you provide it in the prompt and

play01:02

then CH GPT will write the specific C

play01:06

email to this company in this instance

play01:09

Qi but if you didn't provide more

play01:12

context about

play01:14

Qi the email would be pretty generic so

play01:19

in this video I'm going to show you how

play01:22

I'm using knowledge knowledge retrieval

play01:24

in autogen wow I feel Rusty I didn't

play01:27

upload a video a few days ago when my

play01:29

speaking kind of sucks but bear with me

play01:32

because this is a very interesting use

play01:34

case so let's just

play01:36

cover a few things so before we dive in

play01:39

I want to show you that CH GPT doesn't

play01:43

know at the moment what is Q AI can you

play01:45

write for me an email

play01:50

about crew

play01:53

AI do you know what is clue AI so it

play01:58

will probably just write

play02:03

BS so Qi let's see Qi is a platform

play02:07

designed to enhance sales and customer

play02:09

service teams productivity by leveraging

play02:11

AI it assists in automating various

play02:14

tasks such as data entry and Analysis

play02:16

enabling teams to focus more on engaging

play02:18

with customers and closing deals Qi

play02:21

typically

play02:22

integrates with existing crm's

play02:25

communication tools to provide

play02:26

actionable insights Coach sales rep

play02:30

Etc so you can see um the llm in this

play02:33

specific case GPT

play02:35

4 since its knowledge cut off was before

play02:38

the launching of Qi it doesn't know what

play02:41

Q is it does H write some BS based on

play02:46

its understanding from the context

play02:48

because he sees okay a name which is Qi

play02:50

so it thinks okay it's Pro it's possibly

play02:53

a platform leveraging artificial

play02:55

intelligence which is correct in this

play02:57

case but it's not good enough so let's

play03:00

say I want to write an email to the quii

play03:02

team I have to feed CH GPT or anting an

play03:07

agentic framework that I'm leveraging I

play03:10

have to feed it with the

play03:13

knowledge of what is Qi so basically

play03:16

what I did and I'll show with I'll show

play03:18

you the code in a moment I used the

play03:21

retrieval agent in autogen to pull data

play03:25

from the QI GitHub repository and then

play03:29

see

play03:30

if the email that I generated was better

play03:33

because it was able to understand the

play03:36

context by the way the whole idea is a

play03:39

spin-off from the

play03:41

autogen gab repository and they have

play03:44

here over here they have many notebooks

play03:47

and these notebooks contain many

play03:50

examples of different use

play03:52

cases obviously I'm not just copying and

play03:55

pasting this and I'm using these

play03:58

examples as in inspiration to what I'm

play04:01

trying to build and this use case is

play04:03

focused is more like a sales SL

play04:06

marketing use case now let's dive into

play04:09

the

play04:10

code uh one more quick update by the way

play04:13

I told you a few weeks ago I I showed

play04:16

you to those of you who are

play04:19

following the channel I showed you this

play04:22

Chrome extension which is called

play04:24

continue not a Chrome extension it's a

play04:26

visual

play04:27

code extension which is basically an AI

play04:30

code assistant I plugged into it dolphin

play04:34

mistal which is a model that is

play04:36

supported by orama and it has been

play04:38

working pretty well so far so I'm using

play04:41

it to ask it many questions about the

play04:43

repository about the code just testing

play04:46

it around to see exactly what go what's

play04:49

what it's understanding what doesn't

play04:52

understand you can check out the video

play04:54

specifically that I did about this uh

play04:57

visual code extension a few days ago but

play04:59

it's pretty cool so far so good I'm

play05:01

pretty happy about

play05:02

it now let's uh take a look into the

play05:06

code I won't cover the installation you

play05:09

know my Moto this channel isn't about

play05:11

installations it's about applications

play05:13

and

play05:14

implementations but in general we

play05:17

have a crew that consists of a boss the

play05:22

boss assistant which is a retrieval

play05:24

agent an assistant who has extra cont

play05:27

content retrieval power for solving

play05:29

difficult

play05:31

problems and we are providing him with

play05:33

the URL in this case the

play05:37

URL the knowledge base is the the GitHub

play05:41

repository of Qi let me show you the the

play05:45

content you can see over here you guys

play05:48

are probably familiar with it if you've

play05:49

been following the agent space so you

play05:53

probably know about Qi so they have

play05:55

information over here Qi is a Cutting

play05:58

Edge framework for all Orest rating role

play06:00

playing autonomous a autonomous AI by

play06:04

fostering coll collaborative

play06:06

intelligence Qi empowers agents to work

play06:08

together seamlessly tackling complex

play06:11

tasks and they have a ton of information

play06:14

about y AI why is it better than Chad

play06:19

Dev which I don't know nobody's talking

play06:22

about I mean based on my observation

play06:23

nobody's talking that much about Chad

play06:25

Dev lately but I need to if you guys

play06:28

seen anything else so let me know but I

play06:30

I'll definitely check out the repository

play06:32

afterwards and see if I'm correct or not

play06:36

and this is a comparison to autogen

play06:38

never mind so basically this code is

play06:41

going to pull the

play06:43

content of this page so let's go back to

play06:47

visual studio code so we have the boss

play06:50

we have the boss assistant which is a

play06:52

retrieval agent and as you can see it is

play06:56

pulling let's see if I can make this

play06:58

larger

play07:01

let's close this

play07:03

guy yes

play07:08

and so we have the retrieval agent we

play07:12

have the

play07:13

copywriter and I gave it the system

play07:15

message you are a witty and bold

play07:16

copywriter specializing in writing short

play07:19

and perspective called

play07:21

emails we have the senior

play07:24

copywriter and the system messages you

play07:26

are a senior copywriter you specialize

play07:28

in providing constructive feedback to to

play07:32

copy of copy maybe and we have the CMO

play07:36

you are a CMO specializing in marketing

play07:38

copyrighting and understanding the

play07:40

prospect mindset and the whole goal over

play07:44

in this instance

play07:45

is to send a Cod email to the QI team

play07:50

show them that we know what they are

play07:54

doing so personalizing the Reach

play07:58

Out

play08:00

you can see over here so the

play08:02

problem basically the prompt for the

play08:04

group is write a short called email to

play08:07

the QI team pitching Automation Services

play08:09

so I'm providing Automation Services and

play08:12

let's assume that I want to pitch the QI

play08:15

team start with a hook then make sure to

play08:18

show them your knowledge of the project

play08:20

and then add a CTA suggesting suggest

play08:23

thing a quick call also write two

play08:26

follow-ups in case they don't answer the

play08:28

third follow-up should be a standalone

play08:30

email that will be sent to the founder

play08:32

of the project offering him to come to

play08:34

be a podcast a guest on on the

play08:37

podcast now the reason the reason why I

play08:42

wanted to build this workflow which we

play08:45

using

play08:46

rag because in the past if you guys have

play08:50

been following me and by the way this

play08:51

may be a

play08:53

good um opportunity to tell you that I

play08:56

invite you to subscribe to the channel

play08:58

if you enjoy videos about Automation and

play09:02

agent and you haven't subscribed yet

play09:04

please make sure to

play09:06

subscribe I usually drop this H plug or

play09:10

this request to subscribe at the end of

play09:11

the video but my wife told me I should

play09:14

do it at the beginning this is not the

play09:16

beginning it's like halfway through or

play09:18

maybe even more but next time I'll

play09:20

probably remember to do it um at the

play09:24

beginning anyway

play09:26

so the whole idea here

play09:30

in opposing to other videos in which I

play09:32

automated a

play09:34

workflow of personalizing a DM in

play09:40

Facebook or LinkedIn based on what I

play09:43

scraped

play09:45

from the prospects profile which is also

play09:48

a viable um

play09:50

Modi like you can do that H what I

play09:53

wanted to do to see here if I can use

play09:56

only the agentic framework in opposing

play09:58

to what I did in the past

play09:59

which was basically using an RPA tool

play10:03

Microsoft power automate to scrape the

play10:07

data and then fit it as

play10:11

context to

play10:13

gp4 and in the prompt it had the context

play10:16

about the prospect so this is slightly

play10:18

different workflow and the main reasons

play10:21

for doing this is first of all

play10:24

I'm I want to create videos and

play10:27

tutorials that are not using necessary

play10:29

RPA tools and like doing the whole

play10:33

workflow from a to zed using Python and

play10:36

the second reason is I want to stress

play10:39

test um the agentic Frameworks because I

play10:42

want to see I'm pretty pretty

play10:46

straightforward I want to see the

play10:48

potential of using agentic Frameworks

play10:51

without using RPA

play10:54

tools which yeah they do they do allow

play10:57

us more control but at end of day the

play11:00

whole goal of using an AIC framework and

play11:02

my vision and hopefully other people

play11:05

Vision in the space is using agents to

play11:08

streamline the whole process and

play11:10

automate more parts of the process

play11:12

instead of using an RPA tool which

play11:15

basically we create and control the

play11:18

workflow and just use the ating

play11:20

framework or the GPT in only certain

play11:24

instances well I've been talking a lot

play11:26

let me take a sip of water

play11:34

Okay cool

play11:36

so I showed you the The Prompt for the

play11:38

team we've

play11:41

created and the boss the boss assistant

play11:44

the copywriter the senior copywriter and

play11:46

the

play11:47

CMO now we have two um different

play11:51

instances

play11:53

one is an instance with no rag we will

play11:57

just send the prompt and these are the

play12:03

agents and there is another chat another

play12:06

instance in which we also share um the

play12:10

context so as you can see over here we

play12:13

have the boss Aid which is the retrieval

play12:16

agent the CMO the copywriter and the

play12:18

senior

play12:21

copywriter

play12:23

and there is a distinction between both

play12:26

chats because one we have print line

play12:29

message rag chat and the other one

play12:32

contains the no rag tag so I already run

play12:36

this code let me go up to show you the

play12:47

results

play12:55

okay let's do this again

play13:00

it will be better let's see if I I can

play13:03

also let me just adjust the prompt to

play13:05

make it more

play13:09

interesting

play13:11

um

play13:13

special let's see what we can

play13:18

adjust also WR two follow-ups in this

play13:21

case write a short call email to quii

play13:23

team pitching Automation Services start

play13:25

with a to start with a hook then make

play13:28

sure to show them your knowledge of the

play13:32

project try to

play13:36

comp lement them on

play13:41

their

play13:44

unique

play13:48

this compare

play13:50

them to a

play13:53

competitor okay comparing them to a

play13:55

competitor and this is something that

play13:58

only if if you take a look in this

play14:00

page you will know the difference

play14:03

between Qi and the other agentic

play14:06

Frameworks so when we are not going to

play14:09

use the rag there is no

play14:12

way that uh the output is going to be

play14:16

correct now let's run this code and see

play14:20

what happen in in both instances again

play14:23

one instance we have no

play14:25

rag the chat team has no idea what is Qi

play14:30

they're probably going to BS and the

play14:32

other team does know what is Qi because

play14:34

we have the retrieval agent and he's

play14:36

pulling

play14:38

data okay so as you can see over

play14:44

here write a short Cod email to the quii

play14:47

team pitching Automation Services start

play14:49

with a hook then make sure to show them

play14:51

your knowledge of the project try to

play14:53

complement them on their

play14:55

uniqueness comp compare them to the

play14:57

competitor and then add a c ta

play14:59

suggesting suggesting wow a quick

play15:03

call

play15:04

okay this is the first one email One

play15:07

initial called email to the qu AI team

play15:11

transforming the future of work with CI

play15:13

hey CI team hope this finds you well

play15:16

I've been closely following your journey

play15:18

and I'm genuinely impressed by how

play15:20

you're redefining productivity tools in

play15:22

the workspace okay you can see it's it's

play15:26

incorrect but still it is somewhat

play15:30

compelling and can be relevant no

play15:33

probably not relevant but it is pretty

play15:37

generic but not so far off so it's clear

play15:40

you're not just another player in the

play15:42

game you're setting new standards much

play15:45

like how Tesla reimagined the electric

play15:48

car okay nice analogy your unique

play15:50

approach to integrating AI into everyday

play15:52

work tool is nothing short of

play15:54

revolutionary it's evident that Qi is on

play15:56

the path on becoming an indispensable

play15:58

asset for business aiming to stay ahead

play16:01

of the curve okay that's good that said

play16:03

I believe there's an untapped potential

play16:05

in further automating your processes

play16:07

enhancing efficiencies and scaling your

play16:10

impact our team specializes in B spoke

play16:12

automation solutions that could

play16:15

seamlessly integrate with your existing

play16:17

Frameworks propelling kui to new heights

play16:20

how about a quick call next week to

play16:22

explore how we can collaborate sorry

play16:25

about that how we can collaborate to

play16:26

make work even smarter

play16:29

I'm confident we can add significant

play16:31

value to your already impressive Suite

play16:34

of

play16:35

tools looking forward now follow up if

play16:39

no response in three or four days let's

play16:42

make magic happen at Qi hey Qi team just

play16:45

floating to the top of your inbox in

play16:47

case my previous email got buried Buried

play16:51

buried I'm still super excited about the

play16:53

possibility of bringing our automation

play16:55

expertise to complement kui Innovative

play16:57

platform

play16:59

can we find 15 minutes this week for a

play17:00

chat I have a few ideas that I believe

play17:03

could really amplify your

play17:04

impact second followup quick ping hey qu

play17:09

team I understand you you're swamped

play17:11

with making a work the workspace a

play17:13

better place so I'll keep this brief

play17:15

steing on blah blah blah let's move

play17:17

on this is the Standalone email to the

play17:20

founder dear Founder's name I've been an

play17:24

admirer of Qi and your Visionary

play17:26

leadership in transforming how we

play17:27

approach prod activity tools your

play17:29

journey is a beacon of for Innovation

play17:31

much like how pioneers reshape

play17:33

Industries this is correct I host a

play17:36

podcast that spotlights thought leaders

play17:38

and disruptors who are making

play17:40

significant waves in their sectors

play17:43

okay now um so this was the no rag chat

play17:48

obviously not not obviously but as you

play17:51

can see over here and first of all the

play17:54

pumpt for the cold email wasn't good

play17:57

enough so I didn't Pro

play17:58

provide

play18:01

um enough examples perhaps and also good

play18:05

enough guidance to the

play18:09

copywriter and so it was too long but in

play18:13

general I do like this is way too long

play18:15

but in general I like the I somewhat

play18:18

like the content but so this is one

play18:21

thing that obviously needs to be

play18:22

improved like the specific promp prompt

play18:25

and as you can see over here the group

play18:29

chat basically doesn't exist so only the

play18:32

copywriter

play18:34

answered now let's move on to the

play18:37

rug so as you can see over here in

play18:40

opping to the

play18:42

first um process that has no rug over

play18:46

here

play18:49

automatically autogen is

play18:52

creating the knowledge base so it is

play18:54

fetch fetching the data from the URL

play18:59

that we provided which is the GitHub

play19:02

repository of

play19:04

crei and now it it created a few

play19:09

documents and now you can see the boss

play19:13

assistant to the chat manager so you

play19:16

retrieve augmented coding assistant your

play19:18

answers blah blah blah this is a a bit

play19:21

of

play19:22

um

play19:24

information now the user question is

play19:27

write a short IM to the qu I team

play19:29

pitching Automation Services start with

play19:32

the hook then make sure to show your

play19:34

knowledge try to complement them you

play19:36

know this

play19:37

already now he is adding and this is the

play19:40

rag the context is and it is basically

play19:45

scraped the page from Qi let's open

play19:57

it

play20:01

scraped the context roles of agents in a

play20:06

crew this just looks like a lot of text

play20:09

to you guys but as you can see over here

play20:12

let's see what

play20:13

happened okay elevate your AI crew with

play20:16

tailor Automation Services this is the

play20:19

message tailor to the QI team that

play20:22

already is supposed to know the context

play20:24

let's see what is the

play20:26

difference I hope this message finds you

play20:29

well I've been closely following your

play20:31

journey in orchestrating role playing

play20:33

autonomous AI agents and I must say your

play20:36

framework is nothing short of

play20:38

revolutionary the way Qi empowers agents

play20:41

to collaborate and Tackle complex task

play20:43

is a game changer setting you apart from

play20:45

competitors like autogen and ched Dev

play20:48

yes baby this is exactly what we wanted

play20:50

so you can see took this

play20:54

context

play20:56

and he it also took this how I compar it

play21:01

name dropped the

play21:04

correct competitors now let's see

play21:06

because we are using GPT 4 let's see

play21:09

just making sure to see if it knows what

play21:11

our autogen and ched Dev so do you know

play21:16

do you know the

play21:19

names of the

play21:23

QI of qu

play21:27

eyes

play21:35

competitors Ki operates in the r of AI

play21:38

power la la la so it

play21:41

is offering stuff that I don't even know

play21:45

but it's obviously incorrect great now

play21:48

let's move back to the email I hope this

play21:51

message find you well we covered that

play21:54

already while your approach offers

play21:56

unparalleled flexibility and ad an

play21:58

adaptability I believe our Automation

play22:00

Services can further enhance your

play22:02

project efficiency and scalability our

play22:04

expertise in integrating Advanced

play22:06

automations solutions could streamline

play22:08

your development and production

play22:09

workflows ensuring your AI crew Crews

play22:13

operate as their Peak

play22:15

potential I'm particularly impressed

play22:18

with your commitment to open source

play22:20

development and the community-driven

play22:22

enhancement that have prop propelled Qi

play22:25

forward it's clear that your project is

play22:26

not just about technology

play22:28

not just about technology it's about

play22:31

building a future where AI can work

play22:33

alongside humans

play22:35

seamlessly would you be open to a brief

play22:37

chat okay call to action let's move on

play22:41

to the next email quick followup hi I

play22:44

just wanted to quickly follow up on my

play22:46

previous email I understand you're

play22:48

incredibly busy but I truly believe

play22:50

thato let's see if there is anything

play22:52

specific to

play22:55

Qi nothing specific okay but because I

play22:58

didn't um guide the second followup the

play23:01

first followup to be specific to

play23:04

kui now another email last try can we

play23:08

help KU I saw I

play23:10

realize also over here nothing

play23:14

specific now let's see the message to

play23:16

the

play23:17

founder I've been deeply inspired by

play23:19

your work with Quan the groundbreaking

play23:21

strides you're making in the realm of

play23:23

autonomous AI agents your vision for a

play23:25

future where Ai and humans collaborate

play23:27

seamlessly is not only Innovative but

play23:30

essential I host a podcast blah blah

play23:33

blah and that is pretty much

play23:37

it

play23:39

so let's go back to the wide screen

play23:42

because it just looks

play23:44

better I let's go back here as

play23:47

background Qi although it's it's kind of

play23:50

funny because I've used

play23:52

autogen in the whole video and the video

play23:55

was about approaching the QI a team or

play23:59

founder but it was just a a simple a

play24:02

simple example of how we can leverage

play24:05

rag in h an ating framework in this

play24:09

specific case it was

play24:11

autogen I very happy about the results I

play24:15

believe that with slightly better

play24:18

prompts and better system messages for

play24:21

each one of the agents this could be

play24:24

very valuable because it basically um

play24:26

will allow us to create

play24:28

personalization at

play24:31

scale obviously there are many other use

play24:34

cases and instances in which you can

play24:36

leverage uh retrieval Rags or knowledge

play24:39

bases but this is what just a a simple

play24:43

example of how we can leverage it for

play24:44

creating

play24:48

personalization um I guess that's it for

play24:50

today guys if you enjoy the video like

play24:52

always please leave a comment below I'm

play24:55

happy to hear any feedback any

play24:56

suggestions for more videos any

play24:58

suggestions how these videos can become

play25:02

more interesting more impactful please

play25:05

let me know in the comment section

play25:07

always happy to learn and optimize and

play25:11

improve um regardless again if you

play25:13

haven't subscribed yet please do and I

play25:16

guess that's it until next time keep on

play25:19

automating

Rate This

5.0 / 5 (0 votes)

Related Tags
自动化知识检索个性化AI框架工作流销售提升客户服务GitHub开源协作
Do you need a summary in English?