0:00.160–0:03.066
This is a full social media content machine.
0:03.066–0:07.588
Four AI agents that research, write, design, and publish posts for you.
0:07.588–0:08.961
Watch it work right now.
0:08.961–0:10.072
This content idea,
0:10.072–0:12.850
five signs your agent stack is overengineered,
0:12.850–0:16.044
is turning itself into a finished Instagram carousel.
0:16.044–0:17.293
Atlas found the angle
0:17.293–0:18.820
Vera is writing the slides
0:18.820–0:20.138
and in about 2 minutes,
0:20.138–0:22.845
Kite renders all of them with just a few clicks.
0:22.845–0:24.024
And here's the thing,
0:24.024–0:26.448
nothing goes online without your approval.
0:26.448–0:27.992
You check the words first
0:27.992–0:29.904
and you approve the final post.
0:29.904–0:31.165
The agents do the work
0:31.165–0:32.426
and you keep control.
0:32.426–0:33.974
Today we are building the entire thing
0:33.974–0:34.699
from the scratch.
0:34.699–0:36.813
Every prompt and template is linked below.
0:36.813–0:38.960
If you'd rather skip the 4 plus hours build,
0:38.960–0:43.315
there is also an auto installer that can set up everything for you in a matter of minutes.
0:43.315–0:45.556
Hey, Larry here and welcome to the channel.
0:45.556–0:47.399
Today we're building Cadence,
0:47.399–0:51.520
a content operations autopilot run by four specialists you just saw.
0:51.520–0:54.538
Packed with over 50 beautifully designed templates,
0:54.538–0:56.751
Atlas researches and posts your ideas.
0:56.751–1:00.284
Vera writes every slide, caption, and hashtag for you.
1:00.284–1:02.296
Then Kite does the finished designs.
1:02.296–1:05.818
Once this is done, Orion ships them to your social media platform.
1:05.818–1:07.806
And above them all is an orchestrator agent
1:07.806–1:09.904
that can take your orders in the Telegram chat
1:09.904–1:11.892
and route every job down the [music] chain.
1:11.892–1:14.205
If you post content regularly, you know the hassle.
1:14.205–1:16.756
You stare at a blank page hunting for [music] an idea.
1:16.756–1:18.052
When you finally get one,
1:18.052–1:19.287
now comes the research,
1:19.287–1:20.954
then writing slide after slide.
1:20.954–1:23.256
They're making it look good in a template
1:23.256–1:26.642
followed by the caption, the hashtag, the scul and all that.
1:26.642–1:29.524
Now, Cadence orchestrates and eats up the entire chain
1:29.524–1:30.714
in a matter of minutes.
1:30.714–1:33.309
You tell the agents once what your brand is about.
1:33.309–1:36.664
From then on, one click generates fresh post ideas for you
1:36.664–1:38.621
or you type your own rough thought
1:38.621–1:42.326
and they build the entire story for you from idea to publish post
1:42.326–1:43.934
all handled in a few clicks.
1:43.934–1:45.413
Then your post is online.
1:45.413–1:48.545
And here is where this build beats every other AI slide tool.
1:48.545–1:51.426
Normally, you would generate slides with an image model
1:51.426–1:53.520
and you would pay for every single slide.
1:53.520–1:58.149
And even fixing one word means you pay again to regenerate the whole image.
1:58.159–2:01.269
Cadence doesn't touch an [music] image model at all.
2:01.269–2:07.155
Every slide is built from a beautifully designed HTML template with real code, not with AI pixels.
2:07.155–2:08.657
So, every edit is free.
2:08.657–2:14.757
You can grab any elements, change the text, the size, the position, and it rerenders it in a matter of seconds.
2:14.757–2:18.493
Meaning you have unlimited revisions with zero cost per slide.
2:18.493–2:20.422
So your money goes into the words,
2:20.422–2:21.731
not into the pictures.
2:21.731–2:24.944
The dashboard shows the whole operation in one glance.
2:24.944–2:27.726
Every number pulled from your own agent's database
2:27.726–2:29.473
where every agent logs its name,
2:29.473–2:30.832
the task they performed,
2:30.832–2:32.061
the AI model they used,
2:32.061–2:34.400
and exactly when they performed that task.
2:34.400–2:36.800
So there are no fake metrics anywhere.
2:36.800–2:38.358
My favorite part is the studio.
2:38.358–2:41.498
You can edit every slice text or grab a single element,
2:41.498–2:43.311
move it, resize it, rewrite it,
2:43.311–2:48.544
plus even the phone preview, a template library, and some that carousel into a video rule.
2:48.544–2:54.051
We would also build a published archive where you can see all the posts that you've generated so far and published,
2:54.051–2:57.181
and also a calendar tab where every schedule content can be seen.
2:57.181–3:01.753
We would also have a configurations page which would hold your brand name, handle, voice,
3:01.753–3:04.080
and it flows into every word the agent writes.
3:04.080–3:07.618
Now, let me give you a live demo and walk through of what we are building today.
3:07.618–3:11.233
So on the dashboard you see the total number of runs that the agents have performed.
3:11.233–3:14.138
The number of ideas that we have generated in this setup.
3:14.138–3:15.920
The number of posts that we have published.
3:15.920–3:18.803
In my case I just have one because I used this to test for the tutorial
3:18.803–3:21.119
and the percentage of runs that have been successful.
3:21.119–3:25.204
Now here we have an agent activity that is pulled from the agents activity database.
3:25.204–3:29.389
So you can see currently on Friday I did a lot with the agents because I was building the setup
3:29.389–3:31.812
and that is why you see that this is basically going up
3:31.812–3:36.107
and on the right side you can also see which of the agents have currently the largest workload.
3:36.107–3:39.106
So in my case for instance these are Vera who is my content writer
3:39.106–3:43.350
and Kite who is a developer because those are the two that were doing most of the work so far.
3:43.360–3:44.561
Now when you come down here
3:44.561–3:47.236
you can also see a summary of what the agents have been doing
3:47.236–3:49.146
all pulled from the agent login database.
3:49.146–3:51.160
Now the magic happens in the ideas tab.
3:51.160–3:53.948
Here you can see a few ideas that the agents generated for me
3:53.948–3:55.484
because I'm doing stuff with AI.
3:55.484–3:59.440
So I just made them generate ideas around AI automation and stuff like that.
3:59.440–4:02.230
Now here you can put in your own idea whatever idea that you have
4:02.230–4:06.093
or when you don't even have an idea you can tell the agent hey generate some ideas for me.
4:06.093–4:07.904
So let me just click on generate some ideas
4:07.904–4:10.077
and let me see what ideas are going to be generated.
4:10.077–4:11.495
So here you can see that Atlas
4:11.495–4:12.559
who is our researcher
4:12.559–4:14.508
is the one that is going to look for ideas
4:14.508–4:15.867
around what we are building
4:15.867–4:17.581
and what we haven't posted before.
4:17.581–4:19.203
And this is going to trigger Atlas
4:19.203–4:20.245
who is our researcher
4:20.245–4:22.156
who is going to basically look for ideas
4:22.156–4:23.025
of what we can post
4:23.025–4:25.110
based on what the agents have learned so far
4:25.110–4:26.326
about what I'm building.
4:26.326–4:28.646
And then you can see that they generated five ideas.
4:28.646–4:31.590
So the first idea is automation fails at the handoff.
4:31.600–4:34.966
We also have some ideas like your agent should run the test it claims to fix
4:34.966–4:38.056
which is going to be a good one because the agents hallucinate a lot.
4:38.056–4:42.390
Now just to demonstrate an example let's say I want to write some slides on this idea.
4:42.400–4:44.325
All I have to do is to just click on promote
4:44.325–4:46.307
and then here I can put in a number of slides
4:46.307–4:47.280
that I want to put in.
4:47.280–4:49.170
So for instance I want to go for eight slides
4:49.170–4:50.903
10 or whatever number you want to go for.
4:50.903–4:53.054
So what you have to remember is that the first slide
4:53.054–4:54.284
is always going to be the hook
4:54.284–4:56.179
and then the last slide is going to be the CTA.
4:56.179–4:58.977
So the main content is going to be between the hook and the CTA.
4:58.977–5:05.199
So here if I go for 10 slides or let's say eight slides that it means that I'm going to have six content slides with one being the hook and
5:05.199–5:06.047
one being the CTA.
5:06.047–5:07.268
And then here I can decide
5:07.268–5:09.129
if the agent should do a deep research.
5:09.129–5:09.920
So for instance
5:09.920–5:11.744
if I click research with perplexity
5:11.744–5:15.090
then the agents are going to do a deep research through perplexity
5:15.090–5:17.401
to really find the right content for this job.
5:17.401–5:19.922
And then here I also built in a sort of a steroids mode
5:19.922–5:22.619
where the agents are going to write more punchy slides.
5:22.619–5:23.897
And then when you are done
5:23.897–5:25.965
you can just click on write eight slides.
5:25.965–5:29.501
Now what is going to happen is that basically Atlas is done with his job.
5:29.501–5:32.903
Atlas did the research right and now Vera is going to take over.
5:32.903–5:36.199
Vera is the AI agent that does the writing of the content.
5:36.199–5:39.765
So let's wait till Vera is done with the research and have the content ready.
5:39.765–5:40.397
All right.
5:40.397–5:42.061
So Vera is done with the research.
5:42.061–5:48.160
Remember we asked for nice slides and Vera is basically giving us an idea of what the content on each slide is going to be.
5:48.160–5:51.130
Basically you can see the content that is going to come on every slide.
5:51.130–5:53.306
If I do not like the slide and I want to refine the slide,
5:53.306–5:57.280
I can click on refine copy and then the agents would basically refine this based on what I tell them.
5:57.280–5:59.638
Now, assuming I'm fine with this and I want to promote this,
5:59.638–6:01.371
I can click on approve and pick a templates.
6:01.371–6:06.777
Remember that the contents that the agents did is basically from the idea of what the content should look like.
6:06.777–6:10.231
But here, I have a pile of beautifully designed templates that I'm going to give to you guys,
6:10.231–6:13.048
which you can just copy without you having to design everything yourself.
6:13.048–6:16.711
So, what we're going to have to do is just look for whatever templates we want to build with.
6:16.711–6:19.928
Now, because my brand is orange, let me go with this template here, 10 count.
6:19.928–6:22.340
Now what is going to happen is I'm going to click fit copy to this.
6:22.340–6:23.730
Now why do we do this step?
6:23.730–6:26.870
Because every template has the number of characters it can support.
6:26.880–6:30.422
So assuming the number of characters is way more than what a template can support
6:30.422–6:32.113
then the design basically looks ugly.
6:32.113–6:36.445
So what Vera is going to do is that Vera is going to look at the template that we have picked
6:36.445–6:40.302
and adapt the text that goes onto the slides to match that particular template
6:40.302–6:43.625
and then Vera adapted the slide text to the template that we picked.
6:43.625–6:45.550
So here I'm just going to click on render this
6:45.550–6:49.347
and then this is going to trigger another agent called kite who is basically for design.
6:49.347–6:51.557
So when I come here you can see that the slide is ready
6:51.557–6:53.254
and I can click to open this in the studio
6:53.254–6:54.796
or you can also come to the studio tab
6:54.796–6:56.235
and this will show you the slides.
6:56.235–6:59.730
So when I click open in studio you can see the slides that the agents generated.
6:59.730–7:04.130
So that you can see that I have eight slides basically tailored to exactly what we did.
7:04.130–7:07.813
Now the beauty about how these slides are generated is that typically when
7:07.813–7:16.309
people are generating Instagram slides you need to get an image generation agent or an an image generating model that is going to cost you for every slide that you generate.
7:16.319–7:17.876
And the most painful part is that
7:17.876–7:19.664
whenever you want to change any text,
7:19.664–7:21.510
then you need to pay for every API call.
7:21.520–7:25.609
The beauty about what we building here is that every slide is rendered as an HTML file.
7:25.609–7:30.205
That means that when you come here and click on fine-tune the slide and I pick on any slide,
7:30.205–7:32.627
I can basically edit and add my name Larry here.
7:32.627–7:35.468
I can do whatever I want to do without having to pay for anything.
7:35.468–7:41.575
What you can even also do that I also added is that you can also tune the slide to be left to up down.
7:41.575–7:42.649
You can reduce the slide.
7:42.649–7:43.911
You can change the font size and everything.
7:43.911–7:46.436
And then when you're done, you just click on save and this will be done.
7:46.436–7:50.562
Now assuming you're done and you're basically happy with all the contents, then you can promote this.
7:50.562–7:54.368
Now you can also convert this into a real where you can click on animate this carousel.
7:54.368–7:59.707
You can animate all the slides that are going to come one after the other like a real with a 4 is to 5 aspect ratio
7:59.707–8:02.733
or you can also create a full reel with a 9 is to 16 aspect ratio.
8:02.733–8:05.580
Now assuming I'm done and I'm happy with what I've built so far,
8:05.580–8:09.687
I can just come here click post now and then in my case I have already configured Instagram.
8:09.687–8:11.227
So I can click on post to only.
8:11.227–8:15.456
And then the agents are going to warn me, hey, are you sure you want to post this image to is
8:15.456–8:16.904
I'm going to say yes, post now.
8:16.904–8:21.180
And then the image is going to be pushed through a platform that we're going to be using, which is called Buffer
8:21.180–8:22.871
that connects to all the social platforms.
8:22.871–8:25.744
And then this will be pushed directly to Instagram for us.
8:25.744–8:28.647
And now I get a notification from Orion, which is our publisher,
8:28.647–8:30.454
that the post has been pushed to buffer.
8:30.454–8:32.961
So in a few minutes, we should see this directly on Instagram.
8:32.961–8:34.214
And right then you see it.
8:34.214–8:37.240
So this is a test account that I created on basically to test what I'm building.
8:37.240–8:40.928
And when I come here, you see that the post that we just created is live on Instagram
8:40.928–8:42.230
exactly as we rendered them.
8:42.240–8:45.139
And this exactly what I'm going to be building with you guys today.
8:45.139–8:50.389
We also do have a dedicated agents tab that gives you more insight into the agent architecture that we have.
8:50.389–8:53.529
You can see that we have every sub agents have their dedicated card
8:53.529–8:56.156
where you can see the AI model that the agents are using.
8:56.156–8:59.064
You can see the number of runs that particular agent has performed,
8:59.064–9:00.934
how many of these runs have been successful
9:00.934–9:03.531
and also some of the recent tasks that the agents performed.
9:03.531–9:05.152
On top of all these four agents,
9:05.152–9:08.206
we have the orchestrator who is more or less the boss agent.
9:08.206–9:14.753
Now below we have an activity heat map where you can see in a time frame of 24 hours which agent has been active.
9:14.753–9:19.567
So the more brighter the color here, it just means that the agent was more active within that hour window.
9:19.567–9:23.438
And darker spaces just mean that the agent was not active within that time frame.
9:23.438–9:27.930
So the entire build is going to take you about four to 5 hours if you have all the prompts and the templates.
9:27.930–9:31.472
So I also created an auto installer that can do everything for you in a matter of minutes.
9:31.472–9:33.602
If you'll be interested in getting the auto installer,
9:33.602–9:35.594
this model will also be in the description section.
9:35.594–9:36.756
Now, let's get into the build.
9:36.756–9:39.212
To get started, we're going to first install her.
9:39.212–9:42.746
He agents allows you to be able to build multiple agent infrastructure
9:42.746–9:44.782
where you can be talking to your AI agents
9:44.782–9:47.058
using all the popular applications out there
9:47.058–9:49.214
like Telegram, Discord, Slack, WhatsApp,
9:49.214–9:51.440
and all the popular messaging applications
9:51.440–9:52.336
that are out there.
9:52.336–9:56.497
Additionally, instead of being confined to using one particular AI model,
9:56.497–9:58.545
you can use any AI model that you want.
9:58.545–10:03.103
been it from OpenAI, Ben from Antropic or any other popular model that is out there.
10:03.103–10:06.424
And to install Hemisen, there are several options that are out there for you.
10:06.424–10:10.821
You can install this on a Windows PC if you have a dedicated PC that you want to run this on,
10:10.821–10:13.713
or you can also install this via a Linux operating system.
10:13.713–10:16.482
For this setup, I'm going to be using the Linux approach.
10:16.482–10:18.114
I know Linux sounds intimidating.
10:18.114–10:19.976
Don't worry, I'm going to walk you through the entire step.
10:19.976–10:21.559
And then once we are done with the setup,
10:21.559–10:22.998
which is going to take a few minutes,
10:22.998–10:24.629
everything that you're going to be doing
10:24.629–10:25.925
is going to be from the dashboard
10:25.925–10:27.172
that we're going to be building
10:27.172–10:29.187
or also from the Telegram messaging application.
10:29.187–10:31.032
So you wouldn't have to come into the terminal
10:31.032–10:32.925
to do any stuff with quotes and stuff like that.
10:32.925–10:35.065
But I'm going to walk you through the entire process
10:35.065–10:35.463
from A to Z
10:35.463–10:37.902
so that you get a breast with how this whole flow would work.
10:37.902–10:40.129
Now, if you have a PC that you can run this on,
10:40.129–10:41.614
hey, you can use this as well.
10:41.614–10:42.836
But in my case, for instance,
10:42.836–10:44.007
I do not have a dedicated PC.
10:44.007–10:45.859
So you can rent a server somewhere
10:45.859–10:47.380
that you used to run this on.
10:47.380–10:48.884
I personally prefer this option,
10:48.884–10:49.904
but hey, it's up to you.
10:49.904–10:51.683
With using a private server is that
10:51.683–10:53.831
you rent a server from a different company
10:53.831–10:55.303
where you pay about $4 a month
10:55.303–10:57.451
and then this server is going to be on 24/7.
10:57.451–10:59.555
You do not have to worry about maintenance.
10:59.555–11:01.764
You do not have to worry about internet connectivity
11:01.764–11:02.617
and stuff like that.
11:02.617–11:04.301
But of course, this comes for a price
11:04.301–11:05.816
and that is why you have to decide
11:05.816–11:07.724
if you want to run this on your personal PC
11:07.724–11:08.678
that you have at home
11:08.678–11:10.699
or if you want to rent a server to run this on.
11:10.699–11:11.954
And for the VPS provider,
11:11.954–11:14.583
my personal picks are typically Racknet and Conabo.
11:14.583–11:16.498
Now, with Rocknet, for instance,
11:16.498–11:18.688
you can get a server with two CPU cores,
11:18.688–11:19.782
35 GB of this space,
11:19.782–11:20.329
2 GB of RAM
11:20.329–11:21.492
for about $35 a year,
11:21.492–11:23.545
which amounts to about $2.9 a month,
11:23.545–11:25.802
which is quite affordable for a server,
11:25.802–11:28.480
considering that you do not have to worry about
11:28.480–11:29.626
keeping it online 24/7,
11:29.626–11:30.600
internet activity,
11:30.600–11:31.288
maintenance,
11:31.288–11:32.262
and stuff like that.
11:32.262–11:33.512
With Rak, you pay once a year
11:33.512–11:34.762
and you're basically done.
11:34.762–11:36.832
You don't need to worry about monthly payments
11:36.832–11:37.735
and stuff like that.
11:37.735–11:40.089
The second option that you can also go for
11:40.089–11:41.058
is from Contabo.
11:41.058–11:43.040
They also do have quite reliable servers
11:43.040–11:44.964
and the price are also quite affordable
11:44.964–11:47.238
for the specifications of the VPS that you get.
11:47.238–11:49.280
So with Contabo for instance,
11:49.280–11:52.222
you can get a server that has four CPU cores,
11:52.222–11:52.875
8 GB of RAM
11:52.875–11:55.081
and about 100 GB of SSD disc space
11:55.081–11:56.480
for about $8 a month.
11:56.480–11:58.502
This one here is going to be way more sufficient
11:58.502–12:00.057
for what we're going to be building.
12:00.057–12:02.391
So you can decide on either going with Raknet
12:02.391–12:03.590
or going with Contabo.
12:03.600–12:06.742
So I'm going to put a referral link in the description section that you can get one of these.
12:06.742–12:09.295
And these videos are not sponsored by any of these companies.
12:09.295–12:12.522
I'm just giving you what I typically use when I'm setting up these infrastructures.
12:12.522–12:14.468
If you want to go with Raknet, just come here.
12:14.468–12:16.716
Like I said, my recommended option would be this one here.
12:16.716–12:17.612
Click on order now.
12:17.612–12:19.282
And then you're going to be brought to a page
12:19.282–12:21.741
where you would see the summary of the hardware specifications
12:21.741–12:22.901
of your VPS that you selected.
12:22.901–12:24.572
And then when you scroll down as well,
12:24.572–12:25.705
you see the server label,
12:25.705–12:27.440
which you can change later if you want.
12:27.440–12:29.423
Now, in terms of the configuration options,
12:29.423–12:31.620
I would recommend that you keep this as a default.
12:31.620–12:32.760
Operating system,
12:32.760–12:35.110
we're going to be using Ubuntu 2012.04.
12:35.120–12:36.977
For the RAM, leave everything as a default.
12:36.977–12:39.866
immedately you increase the RAM it's going to in an additional cost
12:39.866–12:42.807
and that is why I would recommend that you go with the default options
12:42.807–12:44.880
that is also here in terms of the location you can
12:44.880–12:46.999
choose whatever location that is closest to you
12:46.999–12:49.860
but what we're going to be building latency is not much of an issue
12:49.860–12:52.616
so I wouldn't worry too much about having it as close to you cost
12:52.616–12:54.480
leave it as a default if you take something
12:54.480–12:55.999
higher you would basically pay more
12:55.999–12:57.214
after that click on continue
12:57.214–13:00.049
you're going to get an email that would contain all the credentials
13:00.049–13:01.922
you're going to need to connect to the VPS ser
13:01.922–13:04.160
and I'm going to walk you through that process as well
13:04.160–13:06.404
if you want to go with a contabo option like I said
13:06.404–13:08.198
this option that we have here cloudvp4
13:08.198–13:11.283
or the lowest option that they have is going to be way more powerful
13:11.283–13:12.966
for what we're going to be building.
13:12.966–13:14.505
So here click on get started here.
13:14.505–13:16.907
Be careful the default is sometimes 24 years.
13:16.907–13:19.916
That means that you're going to be locked with this VPS for 2 years.
13:19.916–13:21.345
And of course it gets cheaper
13:21.345–13:23.251
the longer the contract is going to be.
13:23.251–13:24.167
But just be careful
13:24.167–13:25.483
because if you go for 2 years
13:25.483–13:27.658
then you are locked to pay this amount of money
13:27.658–13:28.230
for 2 years.
13:28.240–13:31.421
If you want to have the flexibility of cancelelling this every month
13:31.421–13:33.207
then you can go for the one month option
13:33.207–13:35.942
where you're going to be paying about 5.5 in my case a month.
13:35.942–13:41.370
Now in terms of the region you can leave this as European Union which is the default because Contabo is in European Union
13:41.370–13:45.812
with Contabo immediately you choose a different location then it would incur an additional cost
13:45.812–13:50.054
but like I said earlier with what we're going to be building latency is not going to be that much of an issue.
13:50.054–13:52.804
So you can leave this completely as European Union.
13:52.804–13:57.275
When you scroll down for the storage you can choose SSD 100 GB which is going to be free
13:57.275–13:59.894
and way more sufficient for what we want to build.
13:59.894–14:02.947
For the operating system leave this as YUbuntu which is the default.
14:02.947–14:06.879
For data protection, I typically recommend that you go for the auto backup option.
14:06.879–14:10.383
Sometimes I'm working with my agents and something completely gets screwed up.
14:10.383–14:14.502
And then with the auto backup, it basically takes a snapshot of your VPS every day.
14:14.502–14:18.937
So that means that if something goes wrong, you can always go back to about 10 days back
14:18.937–14:23.622
and then you can always restore whatever image you had on that VPS for that particular day.
14:23.622–14:26.201
Now this optional but like I said it's highly recommended
14:26.201–14:30.499
because if you imagine if you've been building your content management system for over one year
14:30.499–14:33.239
and by mistake something screws up you completely lose this.
14:33.239–14:36.764
Now to save this as well you can also configure your own auto backup
14:36.764–14:39.648
which is going to take a snapshot of your VPS every day.
14:39.648–14:41.588
This for instance you can build with cloth
14:41.588–14:45.746
but if you don't want to do this and you want to go with contabo's default auto backup option
14:45.746–14:48.074
you can choose this which would about 1.65 a month.
14:48.074–14:51.073
Now additional features you can leave everything as a default.
14:51.073–14:53.524
In this section here, you're going to have to put in a password
14:53.524–14:55.447
where you're going to connect to the VPS server.
14:55.447–14:58.875
Here you can generate a new password or you can put in any password that you want.
14:58.875–15:00.910
This is going to be a password that you're going to have to remember
15:00.910–15:03.351
because this is a password that you're going to use to connect to the VPS server.
15:03.351–15:07.797
If you forget this password, you can go into your conso control panel and reset the password.
15:07.797–15:09.290
But why go through the hassle after that?
15:09.290–15:12.521
Just click on next, make the payment, and I'm going to walk you through the next steps.
15:12.521–15:14.988
If you went with a racknet option after making the payments,
15:14.988–15:17.120
you're going to get an email like this from Racknet.
15:17.120–15:19.082
With this email, we basically going to need three things.
15:19.082–15:22.920
The first thing that you're going to need is the IP address of your VPS server.
15:22.920–15:27.544
Every VPS server has a unique IP address and they're going to provide this IP address to you.
15:27.544–15:33.198
The second thing that we're going to need is the username of the account that you use to connect to the VPS server.
15:33.198–15:36.195
With Raknet, most of the time name is always going to be root.
15:36.195–15:41.095
And then thirdly, you're going to need a password which they're also going to provide to you here called root password.
15:41.095–15:43.215
And here's what they're going to provide the password to you.
15:43.215–15:45.674
All these three credentials are going to be in your email.
15:45.674–15:48.027
With the SSH port, you do not have to worry about this
15:48.027–15:51.638
because with most of the applications that you use to connect to the VPS server,
15:51.638–15:53.608
they always default to an SSH port of three.
15:53.608–15:56.305
Now, with the IP address, with username, and with a password,
15:56.305–15:58.315
you would be able to connect to the VPS server,
15:58.315–16:00.377
which I would walk you through in the next step.
16:00.377–16:03.833
If you went for the Contabo option, you're going to get an email like this from Contabo.
16:03.833–16:06.091
Mine is in German, but the layout is going to be the same
16:06.091–16:08.751
irrespective of which country or which language that you have.
16:08.751–16:11.216
In the email from Contabo, we're going to need two things.
16:11.216–16:13.880
We're going to need on this left side here the IP address
16:13.880–16:16.196
which is the unique IP address of your VPS server
16:16.196–16:19.207
and we're also going to need the username with Contabo as well.
16:19.207–16:20.961
The username is in most of the cases root
16:20.961–16:23.939
the password they wouldn't provide the password to you in the email
16:23.939–16:27.926
but this is going to be the password that you put in when you were purchasing the VPS server.
16:27.926–16:30.666
So with the IP address with the username and with the password
16:30.666–16:33.192
that you put in when you were purchasing to the VPS server
16:33.192–16:35.180
we would be able to connect to the VPS server.
16:35.180–16:38.206
And to connect to the VPS server there are several applications that are out there.
16:38.206–16:41.229
The good news is that whether you're using a Windows operating system
16:41.229–16:42.949
or you're using a Mac operating system,
16:42.949–16:46.598
both do come with inbuilt applications that you can use to connect to the VPS server.
16:46.598–16:47.955
Using a Windows operating system,
16:47.955–16:49.032
just click on the search bar
16:49.032–16:51.512
and look for an application that is called Windows PowerShell.
16:51.512–16:52.704
And then when you click on this,
16:52.704–16:54.813
this is how the Windows PowerShell application looks.
16:54.813–16:56.105
If you're using a macrop system,
16:56.105–16:58.738
the application that you're going to be using is called terminal.
16:58.738–17:01.581
The commands that we're going to be using here in PowerShell
17:01.581–17:04.196
are identical to what you would be using in PowerShell.
17:04.196–17:07.270
So you do not have to worry about differences in terms of commands.
17:07.280–17:09.001
To connect to the VPS server,
17:09.001–17:10.578
just put in the command ssh
17:10.578–17:12.155
space and then put in root.
17:12.155–17:14.594
Root is going to be the username of the VPS server,
17:14.594–17:16.022
which is the same for Contabo
17:16.022–17:16.855
and for racknet.
17:16.855–17:17.583
And after that,
17:17.583–17:20.160
you're going to put in the IP address of your VPS server.
17:20.160–17:21.855
The trick here with PowerShell is that
17:21.855–17:23.867
whenever you have something in the clipboard
17:23.867–17:25.350
and you right click on your mouse,
17:25.350–17:27.786
it basically paste whatever you have in the clipboard,
17:27.786–17:28.951
which can be quite useful,
17:28.951–17:30.964
especially when you are typing in passwords.
17:30.964–17:32.421
And after that, just press enter.
17:32.421–17:34.799
If this is the first time that you're connecting to the server,
17:34.799–17:38.184
you're going to be asked whether you want to add this fingerprint of the server to your PC.
17:38.184–17:40.295
If you're sure you're connecting to the right server,
17:40.295–17:41.760
just type in yes and it should be fine.
17:41.760–17:42.326
And after that,
17:42.326–17:44.806
you're going to be prompted to put in the password of your VPS server.
17:44.806–17:45.268
And here,
17:45.268–17:46.769
if you have a complex password,
17:46.769–17:48.501
just type this password somewhere.
17:48.501–17:49.124
Come in here,
17:49.124–17:50.595
just right click on your mouse.
17:50.595–17:52.471
It would paste the password into the clipboard
17:52.471–17:53.337
and just press enter.
17:53.337–17:54.965
And then you can see that in my case,
17:54.965–17:56.425
I'm connected to my VPS server.
17:56.425–17:56.580
So,
17:56.580–17:58.754
I'm going to clear the screen by just typing clear.
17:58.754–18:00.996
And then we can start with the configuration process.
18:00.996–18:04.306
So now we connected the VPS server using the router name
18:04.306–18:08.551
and root as a user is typically the highest authority on a Linux server.
18:08.551–18:09.800
Now to install Hermes
18:09.800–18:13.201
my tip for you would be not to install Hermes on the root user
18:13.201–18:17.295
but create a new profile or a new user on which we're going to run this on.
18:17.295–18:18.709
Now this is quite helpful
18:18.709–18:23.353
because then you do not have Hermes being the highest authority on your VPS server.
18:23.353–18:27.234
In my earlier videos, we always did this on root, which is absolutely fine.
18:27.234–18:31.451
But I always try to improve and bring you guys the best safety tips out there.
18:31.451–18:34.579
And that is why we're not going to be installing Hemis this time around on root.
18:34.579–18:39.220
We're going to be creating a dedicated user on which we're going to install the whole Hemis application on.
18:39.220–18:42.599
Now, to create a new user on Linux, just use the command user space.
18:42.599–18:45.847
And after that, just put in the name of the user that you want to create.
18:45.847–18:47.550
In my case, I'm going to call this Larry.
18:47.550–18:48.402
So, add Larry.
18:48.402–18:52.135
And after that, you're going to be prompted to put in a password for this user.
18:52.135–18:53.399
So, I'm going to put in my password.
18:53.399–18:54.496
And after that, just press enter.
18:54.496–18:56.430
You're going to be prompted to retype the password.
18:56.430–18:58.021
And then after that, just press enter.
18:58.021–19:00.392
And then we're going to be asked if you want to put in a full name.
19:00.392–19:02.297
You can just skip this by pressing enter.
19:02.297–19:02.880
Room number.
19:02.880–19:03.271
Enter.
19:03.271–19:03.661
Phone.
19:03.661–19:04.052
Enter.
19:04.052–19:05.029
Just skip this.
19:05.039–19:05.583
Home phone.
19:05.583–19:06.722
You can also skip this.
19:06.722–19:07.455
You can also skip this.
19:07.455–19:08.904
And then you're going to be prompted
19:08.904–19:10.933
if the information that you have put in is correct.
19:10.933–19:12.040
Just press Y for yes.
19:12.040–19:13.727
And after that, just press enter.
19:13.727–19:16.587
Now, you can see that then Larry is added as a user.
19:16.587–19:20.016
Now, we're going to give this Larry user some pseudo privileges
19:20.016–19:22.540
so that the user can be able to run some commands
19:22.540–19:24.481
and install the Hemis application.
19:24.481–19:26.799
And to do that, we're going to use this command here.
19:26.799–19:30.130
User mod space minus ag p sudo larry.
19:30.130–19:32.927
So here, just replace this Larry with your username.
19:32.927–19:34.190
And after that, just press enter.
19:34.190–19:36.072
By the way, I'm also going to provide you these commands.
19:36.072–19:38.338
So you do not need to type this or you do not need to remember them.
19:38.338–19:39.543
After that, just press enter.
19:39.543–19:41.511
And then we're going to get Larry
19:41.511–19:43.990
now being a user with pseudo privileges.
19:44.000–19:46.099
I'm going to clear the screen just to make it a bit cleaner.
19:46.099–19:49.676
And now we're going to switch from the root user into the Larry user
19:49.676–19:53.188
for us to be able to login into the Larry user that we just created.
19:53.188–19:58.904
And for that just use the command su space minus or hyphen space and then just type in Larry.
19:58.904–20:01.789
And you can see that the syntax change from root to Larry.
20:01.789–20:05.780
So that means that now I'm not on the root application which has the highest authority.
20:05.780–20:09.298
I'm now logged in into the Larry path which has this authority.
20:09.298–20:14.221
Now when we're connecting to the VPS server, we use the command ss space root the IP address.
20:14.221–20:15.000
But here as well
20:15.000–20:16.918
if you want to connect to the VPS server
20:16.918–20:19.615
instead of root you can use the new user that we created
20:19.615–20:20.814
which is in my case Larry
20:20.814–20:23.691
and then you can just put in the IP address of the VPS server
20:23.691–20:24.530
then press enter
20:24.530–20:25.909
put in the password that you
20:25.919–20:29.372
created and then you see that I'm also connected to the VPS server
20:29.372–20:32.186
so you can connect to the VPS server either using root
20:32.186–20:35.640
and after that switching to the larger using su space minus Larry
20:35.640–20:38.080
or you can also directly go into that using the
20:38.080–20:39.088
SSH path for Larry.
20:39.088–20:43.039
So I'm just going to be sticking to with this because I already created a set with this here.
20:43.039–20:44.996
I'm just going to type in clear to clear the screen.
20:44.996–20:47.466
And then now we can start with the Hemis installation.
20:47.466–20:51.160
To install Hemis, we're just going to come to the original website from Hemsus.
20:51.160–20:55.788
And then when you're on this page, scroll down here and then come to the install via terminal.
20:55.788–20:58.188
We're going to be going with the native application.
20:58.188–21:00.128
And here the command always starts with curl
21:00.128–21:02.226
so that you are sure that you are on the right one.
21:02.226–21:04.578
Now click here to copy the oneline installer.
21:04.578–21:07.246
The advantage here is that with this oneline installer,
21:07.246–21:10.993
it's going to install all the dependent that required to install or to run hemis
21:10.993–21:14.797
without you having to install application A, application B and stuff like that.
21:14.797–21:17.794
After that, just press enter and then the installation is going to run.
21:17.794–21:19.552
So, it detected that I'm running Linux
21:19.552–21:23.014
and it's also going to run all the other things that are missing on my server.
21:23.014–21:24.437
Now, here I'm being asked,
21:24.437–21:28.255
do you want to install RIP for faster file search for TTS voice message?
21:28.255–21:29.305
This would be good.
21:29.305–21:32.455
So, we can just type in yes that we want to install this and press enter.
21:32.455–21:37.180
and then I'm going to put in a password and then press enter and then the installation is going to proceed.
21:37.180–21:40.761
So I'm going to wait for the installation to be done and then we can continue with the build.
21:40.761–21:43.173
All right, so the prerequisite installation is done.
21:43.173–21:44.715
So now we can start with the setup.
21:44.715–21:47.808
Now for here we're going to have to choose how we want to set up Hemis.
21:47.808–21:49.801
I would recommend that we go with a quick setup
21:49.801–21:52.057
because a full setup is going to ask us so many things
21:52.057–21:54.575
that we're going to have to configure which we do not need.
21:54.575–21:56.222
And this is also the recommended part.
21:56.222–21:58.059
So just make sure that this option is selected.
21:58.059–22:00.217
If not, just press up and down on your keyboard.
22:00.217–22:02.240
Make sure that the pointer is on this
22:02.240–22:04.533
and then press the space bar or enter key.
22:04.533–22:08.111
Now in the next stage, we're going to have to create an account with news research.
22:08.111–22:10.693
If you do have an account, then you do not have to create a new one.
22:10.693–22:13.903
And basically, this is a step where we're going to bind this VPS
22:13.903–22:17.606
or this server or this Hemis installation to our news research account.
22:17.606–22:19.755
Now, here you can go with their free subscription.
22:19.755–22:21.696
Nose research does have some paid plans
22:21.696–22:24.166
where you can use a pool of AI models that they have,
22:24.166–22:26.930
but in my case, I'm going to be coming with my own AI model.
22:26.930–22:28.930
So, I'm going to go with a free option.
22:28.930–22:32.159
So just press control on the keyboard and click on this URL here.
22:32.159–22:34.966
And if you do not have an account, you're going to get an option to create an account.
22:34.966–22:38.682
But in my case, because I already have an account and I'm logged into my account,
22:38.682–22:42.060
it directly brings me to a screen where I can bind my account to the setup.
22:42.060–22:43.455
So here, just click on connect.
22:43.455–22:46.716
And when this is successfully, you're going to get a notification that this has been connected.
22:46.716–22:49.206
And then when you come back to the Hemis installer screen,
22:49.206–22:51.695
you see that it brings you to the model selection process.
22:51.695–22:57.027
Like I said, in my case, I'm not going to be using any of the models that no research provides.
22:57.027–22:58.491
I'm going to bring in my own model.
22:58.491–23:02.175
So here you can just press enter on the keyboard to skip the model selection process.
23:02.175–23:05.546
In the next stage we're going to pick a few tools that you can use with her agent.
23:05.546–23:09.438
For instance, you can give your agents the options to be able to search on the internet
23:09.438–23:12.124
and script data from the internet on particular websites.
23:12.124–23:16.159
And here for instance you can use a tool that is called fire crawl and the same applies.
23:16.159–23:19.127
There are other tools that you can use for image generation
23:19.127–23:21.428
for text to speech for speech to text and so on.
23:21.428–23:23.790
So here you can just press enter to use all of these
23:23.790–23:26.210
or you can also uncheck them if you do not need them.
23:26.210–23:28.433
In the next stage, we're going to select the terminal back end.
23:28.433–23:32.573
Here you can keep this as the default, which is local by just pressing on the space bar.
23:32.573–23:37.801
In the next stage, we're going to connect a messaging platform with which we're going to use to talk to all our AI agents.
23:37.801–23:39.811
And here, it's recommended that you set this up
23:39.811–23:41.976
because we don't want to be talking to the AI agents
23:41.976–23:44.038
every time through the terminal here on the VPS.
23:44.038–23:46.699
We want to have a simple, more friendly user interface
23:46.699–23:48.295
that we can talk to the AI agents.
23:48.295–23:50.821
So, here we're going to select set up messaging,
23:50.821–23:52.400
which is recommended anyway.
23:52.400–23:53.865
So press space bar on the keyboard
23:53.865–23:56.376
and then you're going to list all the messaging platforms
23:56.376–23:58.260
that are currently configured with Hemis.
23:58.260–24:00.675
And as you can see there are a pool of them that you can use.
24:00.675–24:02.640
But in this setup we're going to be going with Telegram.
24:02.640–24:05.629
So just press down on your keyboard and then here don't press enter.
24:05.629–24:07.600
If you press enter it would skip this part.
24:07.600–24:10.382
Press spacear on your keyboard to make sure that is checked.
24:10.382–24:12.133
And after that you can just press enter.
24:12.133–24:14.390
And then here we're going to create a telegram bot.
24:14.400–24:15.541
And this is going to be the bot
24:15.541–24:16.967
with which we will talk to the agents
24:16.967–24:18.061
that we're going to create.
24:18.061–24:19.069
For the Telegram B setup,
24:19.069–24:20.749
you can either go with the automatic setup
24:20.749–24:21.997
or you can also go with a manual.
24:21.997–24:23.978
In my case, I'm going to go with the middle option
24:23.978–24:25.365
just to show you how you can do this
24:25.365–24:27.594
if later you would need this for another application.
24:27.594–24:30.077
So for manual, just press two and then press enter.
24:30.077–24:33.464
And then HS is going to ask us what is the Telegram bot token.
24:33.464–24:37.621
So to do that, just come to Telegram and look for a bot called BotFather.
24:37.621–24:41.923
So you can see that the right botfather bot has over 7 million monthly users.
24:41.923–24:44.422
So that you are pretty sure that you are using the right bot.
24:44.422–24:45.271
Be careful here.
24:45.271–24:47.120
As you can see there a lot of botfather here.
24:47.120–24:52.599
But the one that you need is this one here with a check mark here and also with over 7 million monthly users.
24:52.599–24:56.400
To create a new ground, use the command forward slash and then type in new bot.
24:56.400–24:59.354
And then you can press enter or you can click on the suggestion that we have here.
24:59.354–25:01.309
Now here we're going to have to give our bot a name.
25:01.309–25:05.988
I'm going to call this km in my case for computer mechanic content creation OS.
25:05.988–25:11.023
So when you're done with the name just press enter and then you're going to be asked to put in the user of the bot.
25:11.023–25:14.386
Now very important here the username has to end with the name but
25:14.386–25:20.096
and that is why I copied this because in my case I just want to call it the same name but just add the word but to it
25:20.096–25:21.746
and after that just press enter
25:21.746–25:24.006
and then the bot is going to be created for you.
25:24.006–25:28.040
Now when the bot is created the botfather is going to give you a unique key
25:28.040–25:32.880
that means that you are the creator of that bot or you are basically the owner of the bot.
25:32.880–25:34.633
So I'm going to click here to copy the key
25:34.633–25:37.023
because that is what the hemis installation is asking
25:37.023–25:38.616
and I'm going to paste in the key here
25:38.616–25:40.050
and after that just press enter.
25:40.050–25:42.233
Now this step is a highly recommended step.
25:42.233–25:43.369
Hermes is asking you,
25:43.369–25:44.821
do you want to put some users
25:44.821–25:47.850
who are the only people that are allowed to talk to the bot?
25:47.850–25:49.233
Now this is very very important
25:49.233–25:51.362
because if someone has the username of your bot,
25:51.362–25:53.490
you don't want them to be able to talk to your bot.
25:53.490–25:55.439
And that is why we're going to tell her,
25:55.439–25:57.998
hey, let me be the only one that can talk to this bot.
25:57.998–26:00.823
And the only way Hermes can know that it's you
26:00.823–26:04.183
is by giving Hermes what your user ID for Telegram is.
26:04.183–26:06.081
And to get your Telegram user ID,
26:06.081–26:07.697
we're also going to use a bot
26:07.697–26:09.314
that is called user info bot
26:09.314–26:11.352
which also has over 400,000 users.
26:11.352–26:13.566
There are a lot of other bots out there.
26:13.566–26:15.573
So make sure that you have the right one here.
26:15.573–26:16.613
And to get your user ID,
26:16.613–26:18.638
you can just send the bot any message like hi.
26:18.638–26:21.398
And the bot is going to respond with your user ID.
26:21.398–26:23.254
So I'm going to click here to copy my user ID.
26:23.254–26:26.452
I'm going to come back to the terminal in Hermes installation.
26:26.452–26:29.219
I'm going to paste in the user ID and I'm going to press enter.
26:29.219–26:33.066
And then Hermes is going to ask you if you want to set this user ID as the home channel.
26:33.066–26:36.264
That means that in the messaging chat that you are talking to the bots,
26:36.264–26:39.739
whenever the Hemis gateway is restarting or any system things are going on,
26:39.739–26:42.496
you're just going to get a notification in this chat window.
26:42.496–26:44.568
You can type in a Y for yes and then press enter.
26:44.568–26:49.098
And then you're going to be asked if you want to install the Hemis gateway as a system service.
26:49.098–26:53.514
This very important because whenever your VPS server restarted due to a system update or anything,
26:53.514–26:58.515
the Hemis gateway is going to start automatic which is quite useful so that you do not have to start this manually.
26:58.515–27:00.441
Press Y for yes and then press enter.
27:00.441–27:03.151
And then here you're going to be asked how do you want to run the gateway?
27:03.151–27:05.852
In our case, we're going to go with the system service.
27:05.852–27:06.720
So press enter.
27:06.720–27:11.510
And then I'm going to be prompted again, do you want to run and install the gateway as a background system service?
27:11.520–27:12.848
I'm going to press Y for yes
27:12.848–27:14.296
and I'm going to press enter.
27:14.296–27:16.256
And then the Hemis installation is completed.
27:16.256–27:17.374
Now very important here,
27:17.374–27:19.076
we're going to have to reload our shell
27:19.076–27:20.460
so that we can just type in Hemus
27:20.460–27:22.429
and this will launch the Hemis application.
27:22.429–27:23.026
And to do that,
27:23.026–27:25.462
just copy the command that they have provided for you here.
27:25.462–27:27.480
Paste this command back in the terminal
27:27.480–27:28.580
and just press enter.
27:28.580–27:30.411
It's basically going to restart the shell for you.
27:30.411–27:31.029
Now remember,
27:31.029–27:33.243
we are basically done with the Hemis installation.
27:33.243–27:33.986
But in my case,
27:33.986–27:35.409
I didn't select any AI model
27:35.409–27:37.514
because I want to bring in my own AI model.
27:37.514–27:40.128
So here we're going to configure our own AI model.
27:40.128–27:41.914
And I'm also doing this in this way
27:41.914–27:43.253
so that you guys can learn
27:43.253–27:45.358
how you can add your own AI models later.
27:45.358–27:47.900
Now, if in future you want to add some AI models,
27:47.900–27:50.834
you can basically ask your AI agents to do this for you.
27:50.834–27:52.529
But I typically do not recommend this
27:52.529–27:55.153
because in most of the cases the AI model is not very smart,
27:55.153–27:57.394
they basically mess up with your configuration.
27:57.394–27:59.017
And that is why for stuffs like that
27:59.017–28:00.305
I prefer to do this on my own.
28:00.305–28:02.092
Now for which AI model to use
28:02.092–28:03.957
this is absolutely up to you.
28:03.957–28:06.121
But what I typically use most of the time
28:06.121–28:08.089
which a lot of people do not also know
28:08.089–28:10.647
is that if you do have a charge GPT subscription
28:10.647–28:12.876
if you the plus account or the pro account
28:12.876–28:15.434
you would be able to use an AI model from open AAI
28:15.434–28:16.559
that is called Codex
28:16.559–28:18.370
on her agent basically for free.
28:18.370–28:20.420
If you have the $20 plan you can use
28:20.420–28:21.445
you can use this.
28:21.445–28:24.155
If you have the pro plan you can also use this.
28:24.155–28:27.728
I'm I'm not very sure if this is available for the Go plan.
28:27.728–28:30.048
In my case, most of the time I'm using the pro plan.
28:30.048–28:35.669
And the usage limits that you have for the pro plan is more than you would get for the $20 plan, obviously.
28:35.679–28:38.720
So, if you're not sure which one you need, you can go with the plus account.
28:38.720–28:42.332
If you hit your limit, you can basically always upgrade to the pro plan.
28:42.332–28:44.930
Now, the is also a bit generous in terms of the token limits.
28:44.930–28:48.769
So, you would be able to do a lot even if you are using the $20 subscription.
28:48.769–28:51.760
The advantage here is that it's not basically a pay as you go.
28:51.760–28:53.756
Whenever your limits are done, you are done.
28:53.756–28:55.637
You do not get any surprise bill from OPDI
28:55.637–28:58.404
that hey, you've used more than your subscription allowed,
28:58.404–28:59.511
so you have to pay extra.
28:59.511–29:00.399
That does not exist.
29:00.399–29:02.577
And that is why I personally go with these options
29:02.577–29:05.447
because it's you don't have to worry about having a surprise bill
29:05.447–29:06.456
or anything like that.
29:06.456–29:07.166
Personally,
29:07.166–29:08.134
I'm on the pro plan
29:08.134–29:09.876
because I have a lot of Hem setups
29:09.876–29:12.393
and that is why my token usage is also very high.
29:12.393–29:14.920
And also for the tutorials that I create for you guys,
29:14.920–29:16.527
I typically try this over 10 times
29:16.527–29:21.293
and that is why I typically need a higher limit in terms of the tokens that they make available to you.
29:21.293–29:22.614
when I had one Hemis account
29:22.614–29:23.600
or when I had one open
29:23.600–29:24.350
CL account,
29:24.350–29:26.826
this one was way more sufficient for me.
29:26.826–29:31.255
Now, what people also not aware of is that if you also do have an X account,
29:31.255–29:34.725
you can also use the Crog model on Hermes agents for free.
29:34.725–29:39.465
So whether you have a chat GPT paid account or you have a premium or paid subscription,
29:39.465–29:42.880
you can use in both cases their AI models on her agent for free.
29:42.880–29:47.614
If you do not want any of these and probably you want a particular model like from Antropic,
29:47.614–29:50.455
oo, sonet or whatever, we can also come to open router.
29:50.455–29:55.274
Open router has quite a pool of a models like all the popular AI models that are out there.
29:55.274–29:56.518
You can get them on Open Router.
29:56.518–29:59.954
The advantage with Open Router is that they're going to give you one API key
29:59.954–30:03.445
and with that API key, you can get access to all the models that are out there.
30:03.445–30:06.563
The tricky thing that you have to take note of the fact that with Open Router
30:06.563–30:07.679
is basically pay as you go.
30:07.679–30:11.551
It's not a case where you paid a month and then when you hit your limit, you hit your limits.
30:11.551–30:12.791
You basically pay as you go.
30:12.791–30:14.701
The more you use, the more you pay.
30:14.701–30:18.240
So, I mean with whatever model that you want to use is completely up to you.
30:18.240–30:20.951
just go for the option that makes the most sense to you.
30:20.951–30:25.147
Now, in my case, I'm going to be going with my OpenAI because I have a CHBT subscription.
30:25.147–30:27.953
And to use that, I'm going to clear the screen here to make it a bit cleaner.
30:27.953–30:31.038
Just put in a command Heis space model and then press enter.
30:31.038–30:35.625
And [clears throat] this is going to load all the models that are currently available on Hemis agent.
30:35.625–30:41.438
If you do have an paid premium X account, then your option would be here, the X AI Grock.
30:41.438–30:44.506
The process is going to be the same irrespective of which option that you go for.
30:44.506–30:47.360
So, in my case, I'm going to select this by pressing the space bar.
30:47.360–30:50.878
And then here we're going to have the option to choose between open open AI API.
30:50.878–30:53.971
If you go with API then you pay as you go.
30:53.971–30:59.310
So the more you use the more you pay and then you would have to create a dedicated API key to collect this.
30:59.310–31:01.872
But in our setup we're going to be using our charging subscription.
31:01.872–31:04.005
So I'm going to go with the open AAI codeex.
31:04.005–31:08.745
And to do that we're going to press control and we're going to click on this URL that is provided here.
31:08.745–31:12.166
And in the process we're going to have to enter this code that is over here.
31:12.166–31:13.760
So just highlight this code.
31:13.760–31:14.696
Very important.
31:14.696–31:16.080
Press control shift C.
31:16.080–31:18.040
Do not press Ctrl C.
31:18.040–31:19.893
Ctrl C in Linux cancel an application
31:19.893–31:21.746
and this would quit this whole screen
31:21.746–31:23.719
and that is why you press control shift C
31:23.719–31:26.240
and then the link is going to bring you to this page.
31:26.240–31:29.466
All you're going to have to do is to just log into your OpenAI account.
31:29.466–31:32.137
So I'm going to click here and then click on continue
31:32.137–31:35.366
and then just put in the code that we copied from the PowerShell
31:35.366–31:38.037
from the Hermise installation and click continue.
31:38.037–31:42.226
And then our CEX account or our OpenAI account is now bound to our Hemis setup
31:42.226–31:45.884
and then when you come here you see that the authentication is done
31:45.884–31:48.810
and then here we are being asked to select an AI model.
31:48.810–31:52.216
And then here you can use any of the models that you have here.
31:52.216–31:56.741
Remember the higher the number like 5.6 takes way more tokens than 5.4
31:56.741–32:00.095
4 than 5.5, which also takes higher tokens than 5.4.
32:00.095–32:02.071
In my case, I go with 5.5 most of the time
32:02.071–32:06.022
because it's still a very super powerful model and I always want more tokens.
32:06.022–32:09.796
But hey, if you are on the $100 plan and you have a lot of tokens,
32:09.796–32:11.360
you can also go with a 5.6.
32:11.360–32:12.503
That's absolutely up to you.
32:12.503–32:13.885
I'm going to go with 5.5 here.
32:13.885–32:15.205
I'm going to press spacebar.
32:15.205–32:19.664
And then you can see that it says that my default model has been set to GPT 5.5.
32:19.664–32:25.170
Now before we go into the telegram to test to see if everything works from the Hemis installation and
32:25.170–32:28.022
from the model configuration just type in Hemus and
32:28.022–32:31.869
this is going to open what is called a Hermes terminal user interface.
32:31.869–32:33.225
Now it's going to be a chat box
32:33.225–32:35.766
where you can basically talk to your default AI agents
32:35.766–32:37.461
to make sure that everything works.
32:37.461–32:39.731
But a lot of people like me do not use this part
32:39.731–32:42.185
because then you always have to log into your VPS
32:42.185–32:44.516
come to this weird page to talk to the AI agent.
32:44.516–32:46.381
We just want to make sure that the setup works
32:46.381–32:47.691
and that is why I'm coming here.
32:47.691–32:49.749
So here I'm just going to send in a message like hi
32:49.749–32:52.938
and if the agent responds then it means that the hemis installation works.
32:52.938–32:55.586
It also means that the AI model configuration worked
32:55.586–32:59.076
and here you can see that the agent response hi what can I help you with?
32:59.076–33:01.089
So that means that our installation worked
33:01.089–33:02.711
the AI model configuration works.
33:02.711–33:05.835
Now to leave this screen you can press Ctrl C on your keyboard
33:05.835–33:09.458
or you can also just type forward slash and type in exit and press enter
33:09.458–33:13.082
and this is going to kick you out of the Hemis terminal user interface.
33:13.082–33:15.524
A quick word from today's sponsor, Sudalis AI,
33:15.524–33:17.840
and it's worth paying attention to this one.
33:17.840–33:22.230
Problem they are solving is that enterprises are currently drowning in disconnected AI.
33:22.240–33:25.902
Most companies are using AI tools that do not even talk to each other.
33:25.902–33:29.275
One tool does this, another does that, but nothing connects.
33:29.275–33:31.333
So nothing really works together.
33:31.333–33:35.001
Sudalis AI built a system that connects everything into one stack.
33:35.001–33:39.238
Check them out at sudalis.ai with all the links in the description section.
33:39.238–33:41.250
Thanks Sudalis AI for sponsoring this video.
33:41.250–33:43.912
Now we're going to come back to botfather.
33:43.912–33:49.167
When bot created them for us, he also gives us this URL with which we can start talking to the bots.
33:49.167–33:50.810
So here just click on this URL here.
33:50.810–33:54.080
It's going to open a new chat session with the bot that was created.
33:54.080–33:55.350
You can just click start.
33:55.350–33:57.897
Now this is going to send a message like start to the bot.
33:57.897–34:01.669
But the bot doesn't respond but it doesn't understand what start means.
34:01.679–34:04.653
So here we're just going to send a message to the bot like hi.
34:04.653–34:07.270
And if everything works the bot is going to start typing it.
34:07.270–34:13.039
So if you see this typing symbol then it means that the bot is configured and the bot is going to respond to you.
34:13.039–34:15.850
So the bot responded hi what can I help you with today.
34:15.850–34:18.207
Now we're not going to be talking to the bot in this session here.
34:18.207–34:21.588
What we want to create is we're going to create a telegram group for our bots.
34:21.588–34:24.985
The reason why we're going to create a group is that we're going to have basically three topics.
34:24.985–34:28.024
The first topic is going to be where we're going to be talking to the bots
34:28.024–34:29.672
which is going to be our orchestrator.
34:29.672–34:32.385
And then we're going to have a second topic or a second channel
34:32.385–34:34.778
which we're going to use to talk to our developer agent
34:34.778–34:36.906
who is going to build the whole dashboard for us.
34:36.906–34:38.746
And then we're going to have a third channel
34:38.746–34:40.177
which we're going to call studio.
34:40.177–34:42.711
And that is where we're going to brainstorm ideas and stuff like that
34:42.711–34:43.333
with our agents.
34:43.333–34:44.761
When we are creating the group,
34:44.761–34:48.717
a prerequisite to create a group is that you have to get at least two people in the group.
34:48.717–34:50.690
So we're going to need the username of our bots
34:50.690–34:53.494
so that we can add this bot to the group that we're going to create.
34:53.494–34:55.187
I'm going to click on the name of the bot here.
34:55.187–34:58.194
And then here we can click to copy the username of the bot.
34:58.194–35:00.287
And after that we can close this dialogue box
35:00.287–35:02.041
and then we can create this new group.
35:02.041–35:03.149
Now to create a new group,
35:03.149–35:06.211
click on the hamburger menu that you have here on the left section here
35:06.211–35:07.425
and then click on new group.
35:07.425–35:08.910
And then we're going to name the group.
35:08.910–35:11.405
In my case, I'm going to call this KM Content OS
35:11.405–35:12.653
and then click on next.
35:12.653–35:15.630
And then we're going to have to add at least one person to the group.
35:15.630–35:17.944
And that is why we copy the username of our bots.
35:17.944–35:19.035
So I paste in the username
35:19.035–35:20.749
and I'm going to click to select the bots
35:20.749–35:22.152
and I'm going to click on create.
35:22.152–35:24.266
And then now we have our group created.
35:24.266–35:27.438
But like I said, we want to create different channels in this group.
35:27.438–35:31.064
Now, we're going to have to make the bots that we added an administrator
35:31.064–35:33.040
so that the bots can talk in this group.
35:33.040–35:34.736
Click on the three dots that we have here.
35:34.736–35:36.013
Come to group info.
35:36.013–35:36.937
Click on manage.
35:36.937–35:39.249
Come down here and click on administrators.
35:39.249–35:40.267
Add administrator.
35:40.267–35:43.775
We're going to select the board that we created because the board is already in that group.
35:43.775–35:47.086
And just review the permissions that you want to give to the board and just click on save.
35:47.086–35:50.392
And then now you see that our bot has an admin privileges.
35:50.392–35:51.760
After that, click on close.
35:51.760–35:55.977
Now, whilst we are here, we also going to enable this aspect that I call channels.
35:55.977–36:01.404
So by default, Telegram doesn't enable these channels or what is called in Telegram topics for you.
36:01.404–36:05.883
So to enable this, just click on the topics section here, which is in my case by default off.
36:05.883–36:07.888
Click on this and then you can enable this.
36:07.888–36:10.240
And then here you can decide the view that you want to go for.
36:10.240–36:12.307
In this case, I'm going to go with the tabs option here.
36:12.307–36:13.633
And then just click on save.
36:13.633–36:15.097
And I'm going to click on save again.
36:15.097–36:16.640
And then we can now close this.
36:16.640–36:18.964
And then immediately we do that when we enable topics.
36:18.964–36:21.074
You see that now we have different channels.
36:21.074–36:24.406
We have all channel where we going to see all the messages from all the channels.
36:24.406–36:26.243
And also we have the general channel.
36:26.243–36:28.401
So first let's rename this general channel.
36:28.401–36:29.861
Click on the three dots here.
36:29.861–36:30.551
Come to edit.
36:30.551–36:32.577
And then we can call this channel orchestrator
36:32.577–36:35.537
because this is the channel where we're going to talk to our main bot.
36:35.537–36:36.737
I'm going to click on save.
36:36.737–36:38.844
And then we're going to start talking to orchestrator here.
36:38.844–36:41.218
So let me just send a message in the chat here.
36:41.218–36:45.382
When I send hi and our bot is typing that means that orchestrator is in this chat.
36:45.382–36:48.079
So we can basically start talking to orchestrator.
36:48.079–36:49.861
We are going to create other two channels.
36:49.861–36:51.030
But we are not there yet.
36:51.040–36:53.168
Let's just build the foundation and then when we get there,
36:53.168–36:54.862
we're going to go through that process as well.
36:54.862–36:57.341
All the prompts that I'm going to be using in this build
36:57.341–36:59.214
can be made available if you interested.
36:59.214–37:02.008
You can get this for a token of support on my website
37:02.008–37:04.336
or if you are also a member of my community,
37:04.336–37:05.533
you can also get this.
37:05.533–37:08.090
If you guys want to be a member of my community,
37:08.090–37:08.964
it's $10 a month
37:08.964–37:11.790
and you can get basically access to all the prompts
37:11.790–37:13.001
and all the templates
37:13.001–37:16.096
and all the tutorials prompts that I have on my channel.
37:16.096–37:18.586
And this goes to also support the work that I do.
37:18.586–37:21.149
A lot of effort goes into creating all these tutorials,
37:21.149–37:23.154
creating all these forms that I give to you.
37:23.154–37:26.967
All the AI models that I also use in building these are also quite expensive
37:26.967–37:30.041
and that is why I would need to get this with a token of support
37:30.041–37:33.485
to help me to be able to keep bringing these tutorials to you as well.
37:33.485–37:35.175
So if you want to join my membership group,
37:35.175–37:36.624
I'll be very happy to have you there.
37:36.624–37:38.226
We also do have a telegram channel
37:38.226–37:41.715
where you can basically get access to me or all the people in the community
37:41.715–37:43.202
ask any questions that you want
37:43.202–37:47.092
and everyone there would be happy to support you with the questions that you have.
37:47.092–37:48.633
And I also do create auto installers.
37:48.633–37:50.476
For instance, for the setup that I'm creating,
37:50.476–37:54.208
I'm building an auto installer that would build the entire thing for you in less than 5 minutes.
37:54.208–37:58.632
And this is going to be available to people in my community or my membership as well.
37:58.632–37:59.944
Said, hey, if you want to join,
37:59.944–38:01.466
I'm very happy to have you on board.
38:01.466–38:03.805
So, what I did now is that I moved Telegram to the left
38:03.805–38:05.980
and it basically had all the prompts on the right
38:05.980–38:07.503
so that we can basically copy this
38:07.503–38:08.591
and it will be very easy.
38:08.591–38:11.350
Now, whenever you set up Hemis for the first time,
38:11.350–38:13.032
the bot has no idea who you are.
38:13.032–38:14.473
The bot doesn't have a name.
38:14.473–38:18.420
the bot has no idea how the bots can help you with with whatever you want to do.
38:18.420–38:22.941
So the first thing that I always recommend to users is hey let the bot understand who you are.
38:22.941–38:24.047
Give the bot a name.
38:24.047–38:25.369
Tell the bot your name
38:25.369–38:28.748
and give the B a gist of how he or she can help you for this.
38:28.748–38:31.037
My first point that I'm going to give to my bot is this.
38:31.037–38:32.930
Your name is going to be orchestrator.
38:32.930–38:36.695
You are going to be my top level coordinator for my multi- aent setup
38:36.695–38:39.519
and I am the owner and I have the highest authority.
38:39.519–38:41.637
And then here you're going to fill in your name to the agents.
38:41.637–38:43.956
You're going to also give the agents your brand name.
38:43.956–38:46.363
You're going to give the agents your social media handle
38:46.363–38:49.599
because remember we are creating a social media content creation machine.
38:49.599–38:52.001
You're going to tell the agents what your brand teaches.
38:52.001–38:53.104
Now, this is very important
38:53.104–38:56.270
because we're going to have this dashboard that is going to create ideas for us.
38:56.270–38:59.516
And for the agents to be able to create these content creation ideas
38:59.516–39:00.849
or these post ideas for you,
39:00.849–39:03.109
they need to understand what you're building.
39:03.119–39:05.596
And that is why this part here is non-negotiable.
39:05.596–39:08.583
You can also tell the agent what your audience is and stuff like that.
39:08.583–39:09.520
So, I'm going to copy this.
39:09.520–39:10.759
I'm going to paste this in here.
39:10.759–39:12.878
And I'm going to fill in the sections for my build.
39:12.878–39:13.797
So here I bought,
39:13.797–39:14.060
hey,
39:14.060–39:14.979
my name is Larry.
39:14.979–39:16.677
My brand is computer mechanic.
39:16.677–39:18.486
My social handle is computer mechanic.
39:18.486–39:22.637
And here I teach it technical builders to build AI agents and automation,
39:22.637–39:23.726
who my audience is,
39:23.726–39:24.270
my voice,
39:24.270–39:25.699
and my working time zone.
39:25.699–39:26.883
Now the working time zone,
39:26.883–39:27.529
for instance,
39:27.529–39:30.488
is important because when the agent is creating like Chrome jobs,
39:30.488–39:33.771
then the agents will basically know when to reach you and stuff like that.
39:33.771–39:38.630
Now I'm going to send this to orchestrator to get him breast with who I am and also what we're going to be building today.
39:38.640–39:39.996
And then orchestrator responded,
39:39.996–39:40.510
"Hey, got it.
39:40.510–39:41.357
I'm orchestrator
39:41.357–39:42.204
and you are Larry.
39:42.204–39:44.073
Your brand is computer mechanic and
39:44.073–39:47.999
your content is plain direct content teaching builders to build agents and
39:47.999–39:48.996
automation." Now,
39:48.996–39:52.298
the next two prompts here are what I would recommend that you do.
39:52.298–39:56.267
The second prompt here is basically where you're telling orchestrator to interview you.
39:56.267–39:59.899
Now, what you give to orchestrator here is basically the backbone, the foundation.
39:59.899–40:03.159
But there are so much that you can let your agents learn about you.
40:03.159–40:05.297
So just take time and give this prompt to Kasha
40:05.297–40:08.054
is going to ask you some questions to understand who you are
40:08.054–40:11.318
of the setup that you want to build your audience and all those things.
40:11.318–40:13.119
But I'm going to skip this in the tutorial
40:13.119–40:15.291
because otherwise the tutorial will get lengthy
40:15.291–40:17.992
because for my testing or would ask you about 10 15 questions.
40:17.992–40:21.367
So I would skip this just not to get the tutorial too lengthy.
40:21.367–40:24.934
The second thing that I would also suggest to you is this permanent operating rules.
40:24.934–40:27.094
Now when you are working with the agents
40:27.094–40:32.591
it's always advisable to let the agents always give you a plan before they do anything they want to do.
40:32.591–40:34.080
And also when the agents are working,
40:34.080–40:37.539
you always want the agents to keep you updated in the process of what they are building.
40:37.539–40:42.556
Otherwise, sometimes you just sit in the dark and you do not know if the task is completed or the task is is done.
40:42.556–40:47.395
And that is why I prepare always these permanent operating rules which you can also give to your agent.
40:47.395–40:48.505
It's optional for you
40:48.505–40:49.676
if you want to have this
40:49.676–40:50.971
this there ready for you.
40:50.971–40:52.499
I'm going to skip this part as well
40:52.499–40:55.229
otherwise in my build orchestrator is always going to ask me
40:55.229–40:57.740
give me a plan that I have to type a proof before he does it
40:57.740–40:59.323
and this would slow down the build.
40:59.323–41:01.569
Now we're going to start with the main hat of the build.
41:01.569–41:03.251
We're going to tell orchestrator that
41:03.251–41:05.196
hey we're going to create different agents.
41:05.196–41:07.182
We're going to create an agent like Atlas
41:07.182–41:08.876
who is going to take care of content
41:08.876–41:10.102
creates carousel ideas.
41:10.102–41:11.101
We're going to have Vera
41:11.101–41:12.299
who is going to be our writer.
41:12.299–41:13.406
We're going to have Kite
41:13.406–41:14.790
who is going to be our designer
41:14.790–41:16.728
and also Kite is going to be our developer.
41:16.728–41:18.227
And we're also going to have origin
41:18.227–41:19.571
who is going to be our publisher
41:19.571–41:21.276
publishing things to whatever channel
41:21.276–41:22.103
that we want to use.
41:22.103–41:26.897
And here we are basically giving orchestrator a prep or a gist of what we want to build.
41:26.897–41:27.111
Right?
41:27.111–41:32.299
And we are telling orchestrator that hey you are already one of these five agents that we're going to create.
41:32.299–41:35.853
You are going to be the main agent and you are the one I'm talking to right now.
41:35.853–41:40.457
And also important I'm telling him when he is creating these profiles he shouldn't create one for himself
41:40.457–41:45.008
because I did test with some AI models that created a profile for themsel as well which doesn't make sense
41:45.008–41:46.630
and that is why I also tell it here that
41:46.640–41:46.780
hey
41:46.780–41:48.415
you do not need to create one for yourself.
41:48.415–41:49.578
So I'm going to copy this prompt
41:49.578–41:51.144
and I'm going to give this to orchestrator
41:51.144–41:52.755
to prep him what we're going to be building.
41:52.755–41:53.891
I'm also telling him,
41:53.891–41:54.143
hey,
41:54.143–41:56.162
confirm that you understand the plan,
41:56.162–41:58.371
the five rows and the profile name mapping
41:58.371–42:00.895
before he even goes to change or build anything.
42:00.895–42:02.853
And what I like about Hermes is that
42:02.853–42:04.879
whenever you send Hermes something
42:04.879–42:06.838
that if he finds useful long-term,
42:06.838–42:08.526
he commits this to the memory.
42:08.526–42:11.017
And that is why you always see this message like memory.
42:11.017–42:13.150
It means that something has been written to the memory.
42:13.150–42:13.729
And by the way,
42:13.729–42:15.998
cadence is the name that I give to the content creating OS
42:15.998–42:17.591
that we're going to be working on today.
42:17.591–42:18.821
And then he's just saying hey
42:18.821–42:20.564
the five cadence rules are orchestrator
42:20.564–42:23.589
which is me and then the other profiles that we're going to be creating.
42:23.589–42:25.326
And he's saying that you are Larry
42:25.326–42:27.126
the owner and the final authority.
42:27.126–42:29.880
Now in the next prompt this is going to be the most important prompt.
42:29.880–42:33.772
This is going to be the prompt that is going to create the AI agents that we're going to need.
42:33.772–42:35.254
I'm going to send the prompt to orchestrator.
42:35.254–42:36.982
So I'm telling orchestrator that
42:36.982–42:39.265
hey create five persistent hemis profiles.
42:39.265–42:42.129
Now the reason why I use persistent is that hemis can also
42:42.129–42:45.053
create agents that are basically called in to do a task and
42:45.053–42:46.942
then after that they basically dead.
42:46.942–42:49.321
So what I want to create is that I be created permanently.
42:49.321–42:51.032
So that means that whenever we need them,
42:51.032–42:52.139
they are going to be there.
42:52.139–42:54.561
Now here whenever you are creating an agent
42:54.561–42:57.599
always with Hermes there is always one default agent.
42:57.599–43:00.108
There's always one agent who is going to be at the top
43:00.108–43:02.091
and that is typically the default agent.
43:02.091–43:06.170
And below the default agent you can have whatever number of agents that you want to have
43:06.170–43:08.560
but there's always going to be one agent at the top.
43:08.560–43:13.364
And that is why in my setup I typically make the default agent who is at the top orchestrator
43:13.364–43:16.640
and then he builds the other agents that would work under him.
43:16.640–43:19.828
So someone for instance asked if you can have two orchestrators.
43:19.828–43:22.264
In principle you can have two orchestrators that
43:22.264–43:26.363
but it means that one orchestrator would have to be under the default orchestrator
43:26.363–43:27.432
which you can also do.
43:27.432–43:29.949
This is basically up to you how you want to configure this.
43:29.949–43:34.126
Now in creating a profile for an agent you basically need to tell the agent
43:34.126–43:35.495
hey what am I as an agent?
43:35.495–43:36.689
So for all the agents
43:36.689–43:39.780
we are telling orchestrator to add this information
43:39.780–43:40.693
into a document
43:40.693–43:42.800
that would be called their soul.md.
43:42.800–43:47.069
So a soul.md is a document that tells an agent hey my name is Larry.
43:47.069–43:48.088
This is what I do.
43:48.088–43:49.743
This is the person that I'm working with.
43:49.743–43:51.899
This is the system that we are working with and stuff like that.
43:51.899–43:57.934
And that is why in this prompt for all the agents I tell orchestrator what he is supposed to put in their description.
43:57.934–44:03.941
So for instance for scout I'm saying hey your name is scout you are a content scout for candid studio.
44:03.941–44:10.000
Your job is to find fresh scroll stopping Instagram Tik Tok carousel ideas and to research facts behind them.
44:10.000–44:12.708
So for all the agents I'm telling them what they are going to be doing.
44:12.708–44:15.561
And for instance Kite Kite is also going to be our designer.
44:15.561–44:17.257
He's also going to be our engineer.
44:17.257–44:20.912
So he has what I'm describing for Skype for him to understand what he does.
44:20.912–44:26.119
Now whenever you start a new chat session with an agent, they always load in their soul.md.
44:26.119–44:31.520
And that is why it's very advisable that we describe in detail what the agents are going to do.
44:31.520–44:35.383
Now he can change the text to whatever you want, whatever fits what you are doing.
44:35.383–44:40.557
For instance, in my case, I said Instagram and Tik Tok, but maybe you want to have both, LinkedIn and stuff like that.
44:40.557–44:42.169
You can basically add this here as well.
44:42.169–44:43.396
So, orchestrator responded.
44:43.396–44:44.067
He says done.
44:44.067–44:48.138
I have created a persistent herm profiles each with their own soul.MD.
44:48.138–44:51.044
And then you can see here we have scout who is Atlas.
44:51.044–44:52.462
We have Scribe who is Vera.
44:52.462–44:53.750
We have Dev who is Kite.
44:53.750–44:55.298
We have Rich who is Orin.
44:55.298–44:58.415
And he also confirmed that the profiles indeed exist.
44:58.415–45:00.386
Now if you want to also confirm yourself
45:00.386–45:02.716
because sometimes the agents do hallucinate.
45:02.716–45:04.764
It can be that the agent orchestrator told you
45:04.764–45:06.920
especially if you're not using a very good model
45:06.920–45:08.644
or can tell you hey I created the agents
45:08.644–45:10.315
but basically they were not created.
45:10.315–45:11.864
So you can double check this yourself.
45:11.864–45:15.330
You can come into your terminal and just type in a command hemis profile list
45:15.330–45:16.265
and then press enter
45:16.265–45:19.896
and then this is going to list all the profiles that you have on your hemis setup.
45:19.896–45:21.366
So you can see that in my case
45:21.366–45:23.348
I have default which is orchestrator
45:23.348–45:26.161
and then we also have the four agents that we created.
45:26.161–45:28.374
Now here you can see that the gateways are not running.
45:28.374–45:34.579
Their gateways are stopped which is fine because we want the gateway only to be activated when the agents are working.
45:34.579–45:37.791
So we verify that indeed orchestrator created all these agents.
45:37.791–45:40.724
Now this is going to be a prompt that is also very very important.
45:40.724–45:44.762
Now in this prompt I'm telling orchestrator to define this for each agent.
45:44.762–45:48.225
Now I want every agent to have their own dedicated memory.
45:48.225–45:50.160
Imagine you have five agents.
45:50.160–45:52.375
Every agent has their own particular role.
45:52.375–45:57.249
It's going to be a mess if all these agents are sharing one file for their memory.
45:57.249–46:01.315
So agents always write long-term stuffs into a file that is called memory.mmd.
46:01.315–46:04.572
So if all the five agents are using one file, it's going to be a mess.
46:04.572–46:07.991
Now that means that orchestrator is going to dump his long-term memory in there
46:07.991–46:10.530
very it's going to dump her long-term memory stuff in there
46:10.530–46:11.680
and it's going to be a mess.
46:11.680–46:15.305
And additionally, this is going to make the memory file very very heavy.
46:15.305–46:18.892
And remember, the bigger the memory MD file, the more tokens that you use.
46:18.892–46:22.833
And that is why I typically like to go with a dedicated memory for every agent
46:22.833–46:25.773
so that every agent writes own stuff into their own lane.
46:25.773–46:29.040
And every agent is also going to have their unique identity,
46:29.040–46:31.599
their dedicated folders and role boundaries.
46:31.599–46:36.353
So here we are telling every agent to only do stuffs that are within their role.
46:36.353–46:39.532
So for instance, if I go to my agent who does my research like Scout
46:39.532–46:41.593
and I tell Scout, hey build me a dashboard,
46:41.593–46:46.009
and Scout will tell me, hey, no, probably you should talk to Jeff because he's a developer.
46:46.009–46:50.799
Now this is quite important because for instance imagine that you have an agent who is your finance
46:50.799–46:55.180
and this agent maybe has access to your PayPal has access to your stripe and stuff like that
46:55.180–46:57.760
and you give your finance agent the particular rules
46:57.760–47:01.278
that he's supposed to work with maybe don't withdraw money from my account and stuff like that.
47:01.278–47:03.001
So finance agents knows these rules
47:03.001–47:05.873
but if another agent comes in and does that particular thing
47:05.873–47:09.318
and the agent doesn't even know what the rules that you give to finance is
47:09.318–47:11.558
then the agent can basically mess up your setup
47:11.558–47:13.119
and that is why I always have this
47:13.119–47:17.599
sort of role boundaries where every agent understands what their particular role is
47:17.599–47:20.692
and then here orchestrator is working on that as well for us
47:20.692–47:22.648
and here orchestrator is done as well
47:22.648–47:25.119
all the agents have their dedicated memory and
47:25.119–47:27.937
he also created dedicated folders for all the agents
47:27.937–47:29.987
and he also tested the role boundaries
47:29.987–47:33.190
for instance he asked Vera, Vera, can you write a code for me?
47:33.200–47:36.223
And then Vera responded, hey, that is Kite's department.
47:36.223–47:40.456
And he also asked Kite's ver research and kite responded that is Atlas department.
47:40.456–47:42.560
So that means that the role boundaries are working.
47:42.560–47:45.626
Now in the next step, we're going to create a project folder that is going to host our project.
47:45.626–47:49.370
And very important, we're going to create the agents login database system.
47:49.370–47:53.817
Now, whenever the agents are performing a task, we want them to log whatever they do.
47:53.817–47:56.542
So we're going to build sort of an agent login database.
47:56.542–48:01.647
The idea here is that before an agent sends you a message that, hey, I'm done with this task.
48:01.647–48:03.975
The agent is going to log their name into the list,
48:03.975–48:06.813
they're going to log exactly a description of what they did.
48:06.813–48:08.953
They also going to log the time stamp that they did this
48:08.953–48:12.234
and they're also going to write the AI model that they use for that particular task.
48:12.234–48:15.545
And then we're going to do this using what is called an SQL lightsaber.
48:15.545–48:18.132
We're going to build a small database server on our server
48:18.132–48:20.504
where the agents are going to log all the activities.
48:20.504–48:23.418
For instance, when we come to the dashboard I'm going to be building.
48:23.418–48:26.696
When you come to the agents tab, you can see that we have this heat map
48:26.696–48:28.686
where we see when every agent was active.
48:28.686–48:31.788
And here for instance, the agents also post the work that they did,
48:31.788–48:33.424
the most recent work that they did.
48:33.424–48:36.243
So this gives you full transparency of what the agents are doing.
48:36.243–48:39.059
So that if an agent is stuck somewhere, then you know that the agent
48:39.059–48:40.749
for instance didn't perform that task.
48:40.749–48:43.106
And by the way, this is the dashboard that we're going to be building.
48:43.106–48:45.901
And for that, I'm going to give this prompt to orchestrator
48:45.901–48:48.239
to build this agent login database system for us.
48:48.239–48:51.268
So orchestrator is done with the agent login database.
48:51.268–48:53.401
And he also did a smoke test where we can see
48:53.401–48:56.022
dev built the cadence store the AI model that he used
48:56.022–48:59.374
and the state that he's completed and when he performed this task.
48:59.374–49:02.124
Now remember we have created a base but the agents do not know.
49:02.124–49:05.423
So currently it's only orchestrator that knows that such a database exists.
49:05.423–49:08.232
So we're going to have to roll this out to all the agents
49:08.232–49:10.355
and then we are telling the orchestrator
49:10.355–49:12.790
hey save this operating rule in your own memory
49:12.790–49:16.286
and then first distribute it to Atlas Vera and all the other agents.
49:16.286–49:18.394
And this is the instruction that we are giving to them.
49:18.394–49:20.152
Before sending any response,
49:20.152–49:23.386
log what you did into the kid into the cadence runs table
49:23.386–49:24.862
by running this command.
49:24.862–49:27.365
So that's going to be the command that you're going to run
49:27.365–49:29.708
to basically insert what they did into the database.
49:29.708–49:30.786
I'm going to copy this
49:30.786–49:32.824
and I'm going to send this to install this
49:32.824–49:36.059
to make sure that all the agents are aware of the setup that we did.
49:36.059–49:37.952
And after that I'm also going to tell him
49:37.952–49:39.673
hey have every agent run a smoke test
49:39.673–49:41.910
so that they lock something into the database.
49:41.920–49:42.957
Now this would help us
49:42.957–49:43.820
for us to know that
49:43.820–49:45.203
all the agents have access to
49:45.203–49:46.700
this database that we created.
49:46.700–49:48.057
Now when the agents are working
49:48.057–49:49.623
sometimes you get a prompt like this
49:49.623–49:52.702
where you're going to have to allow them to be able to run some commands.
49:52.702–49:54.658
In my case you can either go with allow once
49:54.658–49:56.503
allow only for this particular session
49:56.503–49:58.012
or you can also allow this always
49:58.012–49:59.912
so that they don't ask you this every time
49:59.912–50:01.142
and then that is also done.
50:01.142–50:02.271
So he also did a smoke test
50:02.271–50:05.066
where all the five agents that we have performed the smoke test
50:05.066–50:07.431
where they just completed the AI model that they used
50:07.431–50:08.775
and the time that he performed
50:08.775–50:10.720
and the date and time that he performed this
50:10.720–50:11.013
task.
50:11.013–50:13.852
Now we're going to move in to one of the major parts.
50:13.852–50:17.656
So currently you can see that we are sending all our messages in the orchestrator channel
50:17.656–50:19.918
because so far we've been working with orchestrator
50:19.918–50:21.717
but now we're going to move into the aspect
50:21.717–50:23.876
where we're going to start building the dashboard
50:23.876–50:24.400
and for that
50:24.400–50:25.796
we're not going to be using orchestrator.
50:25.796–50:27.766
We're going to have a dedicated agent kite
50:27.766–50:28.666
who is our designer
50:28.666–50:29.510
and our developer
50:29.510–50:31.705
who is going to be creating the dashboard for us
50:31.705–50:33.562
because he's going to be our developer.
50:33.562–50:35.186
We're also going to have a third channel
50:35.186–50:36.515
which we're going to call studio
50:36.515–50:38.631
and that is going to be the channel we're going to use
50:38.631–50:40.451
to brainstorm ideas on new content to create
50:40.451–50:41.288
and stuff like that.
50:41.288–50:47.272
Now, by default, the issue is that Telegram doesn't allow you to use one bot token to talk to several bots.
50:47.272–50:49.443
So, with Telegram, one bot, one token.
50:49.443–50:52.179
So, if we want to create another dedicated Telegram channel
50:52.179–50:53.710
where we're going to talk to Kite,
50:53.710–50:56.063
then we basically can't use orchestrators B token.
50:56.063–50:59.109
We have to create a dedicated bot token for kite.
50:59.119–51:01.046
Now, there are workarounds around this
51:01.046–51:02.447
like I did in my earlier video
51:02.447–51:04.608
where we basically created a router plugin.
51:04.608–51:06.392
So what the router basically does is that
51:06.392–51:08.123
whenever you send a message in a channel
51:08.123–51:09.906
it first goes through that single B token
51:09.906–51:11.060
and the router determines
51:11.060–51:13.893
hey this is a message that is coming from orchestrator's channel
51:13.893–51:14.470
so let me send
51:14.480–51:15.449
this to orchestrator
51:15.449–51:16.903
the same thing that also happens
51:16.903–51:19.003
for instance if you have an agent that is called
51:19.003–51:21.264
a message comes from that scribe telegram channel
51:21.264–51:22.502
then it goes to your same bin
51:22.502–51:23.902
and then the router determines
51:23.902–51:24.710
hey this is coming
51:24.720–51:25.393
from thread 4
51:25.393–51:27.716
because every channel has their dedicated ID
51:27.716–51:31.690
so with that ID the router is able to determine where the message is coming from
51:31.690–51:34.075
and then it routes it to that particular agent.
51:34.075–51:37.522
Now, this is quite useful if you have different channels that you want to create.
51:37.522–51:39.458
But in our setup, we're going to create only three channels.
51:39.458–51:41.255
So, I'm going to show you another workar around
51:41.255–51:43.466
because with every tutorial, I try to bring in a new flavor
51:43.466–51:45.170
so you guys can learn also new things as well.
51:45.170–51:47.566
So, what we're going to do in this setup is that
51:47.566–51:50.908
we're going to create another bot token exclusively for kites.
51:50.908–51:57.660
So, that means that every message that goes through this particular gateway or this particular telegram bot token would go directly to kite.
51:57.660–51:59.635
But then we have another challenge.
51:59.635–52:02.392
So by default whenever you create channels in telegram
52:02.392–52:04.850
all the messages that we create in these channels
52:04.850–52:06.408
are going to go through one bot.
52:06.408–52:07.432
So which is now our case
52:07.432–52:09.696
every message is going to go through orchestrator
52:09.696–52:11.260
but which doesn't make sense right
52:11.260–52:13.955
we want orchestrator to only listen in a particular channel
52:13.955–52:17.351
and we also want kite to only listen in the channel that we'll create for him.
52:17.351–52:21.106
So what we're going to do is we're going to tell orchestrator to build sort of a plug-in
52:21.106–52:24.650
where orchestrator would only listen in the channels that are dedicated to him.
52:24.650–52:28.497
So orchestrator would never listen in the channel that we would create for Kite.
52:28.497–52:30.492
And the same thing also applies to Kite.
52:30.492–52:33.280
Kite would only listen to his channel that we'll create for him.
52:33.280–52:34.475
This would all make sense soon.
52:34.475–52:34.863
Trust me.
52:34.863–52:36.449
Because this is very very complex.
52:36.449–52:38.302
I typically like to brief the agents
52:38.302–52:40.650
whenever we want to create something complex
52:40.650–52:42.256
for them to know what is coming.
52:42.256–52:44.190
So here I'm sending this message
52:44.190–52:46.052
to prep him on what we want to do.
52:46.052–52:46.819
So I'm telling Oka,
52:46.819–52:48.687
hey, we're going to build something together.
52:48.687–52:53.068
The goal is that kite by default is going to build our studios dashboard
52:53.068–52:56.707
and I want to talk to this engineer directly in his own group
52:56.707–52:59.825
where he would have his own bot and his own identity
52:59.825–53:02.870
and then I'm explaining to why we need a second bot
53:02.880–53:06.711
and you can also read this to understand basically the reason why we need the second bot.
53:06.711–53:11.270
So I'm basically telling him hey this is what we're going to build so that can understand what we going to do.
53:11.280–53:13.510
Now, whilst orchestrator is working on this,
53:13.510–53:16.208
we're going to have to create a second bot token for Kite
53:16.208–53:19.494
because remember that Kite would need his own dedicated bot token.
53:19.494–53:21.531
Orchestrator responded that he understands
53:21.531–53:23.782
the goal is that Kite has his own Telegram presence
53:23.782–53:25.336
where we can speak to him directly.
53:25.336–53:28.027
But we first going to have to create this bot for Kite.
53:28.027–53:33.233
And to do so, we're going to come back to our bot fer that we used to create the first B that we have forestrator.
53:33.233–53:34.847
And we're going to create a second bot.
53:34.847–53:38.323
So, just type in new bot just like we did for the first time for orchestrator.
53:38.323–53:41.105
And we're going to call this bot km kite content.
53:41.105–53:42.862
Let me call this content kites.
53:42.862–53:43.198
Right?
53:43.198–53:44.703
And I'm going to copy the username.
53:44.703–53:45.346
We press enter.
53:45.346–53:48.803
And just like we did earlier, I'm going to use the same name that I g.
53:48.803–53:54.081
But I'm just going to end with a bot because every username with telegram for a bot has to end with the name bot.
53:54.081–53:55.367
And I'm going to press enter.
53:55.367–53:57.710
And then we get a dedicated token for bot.
53:57.710–54:01.258
Remember this was the token that we had for orchestrator.
54:01.258–54:03.887
And we have now create a dedicated token for kite.
54:03.887–54:08.048
So we're going to have to add this bottle for kites also to our hemis setup.
54:08.048–54:10.480
And to do that I created this command for you here.
54:10.480–54:10.953
Come here.
54:10.953–54:12.041
Copy this command here.
54:12.041–54:13.991
Come back into your terminal instance.
54:13.991–54:15.032
Let me clear the screen.
54:15.032–54:15.661
Very important.
54:15.661–54:17.022
Make sure that you're not on root.
54:17.022–54:20.511
You are on Larry or the new user that you created and just paste in this command.
54:20.511–54:23.196
Now this command is going to ask you to put in the bot token.
54:23.196–54:27.984
So I'm just going to run the command here and then it's going to tell you hey paste your kite token and press enter.
54:27.984–54:29.543
So I'm going to come back to Telegram.
54:29.543–54:30.720
I'm going to click here.
54:30.720–54:32.447
Make sure that you are copying the one for kite.
54:32.447–54:33.701
I'm going to click to copy this.
54:33.701–54:34.681
I'm going to minimize this.
54:34.681–54:37.467
I'm going to come back to the and I'm going to right click to paste this in.
54:37.467–54:38.803
And then the key is pasted here.
54:38.803–54:40.445
And after that, I'm just going to press enter.
54:40.445–54:43.628
And this is going to save the keys into our dashboard.
54:43.628–54:45.291
So, let's go back into our setup.
54:45.291–54:47.119
And then let's go into our group.
54:47.119–54:50.714
And then I'm going to tell the I have created this B token for Kite
54:50.714–54:53.970
and I have also added the B token myself in this space here.
54:53.970–54:57.044
So, I'm telling him to verify that the token that I have added exist
54:57.044–55:00.398
and also to do a few sanity checks to make sure that it would work for Kite.
55:00.398–55:03.451
I'm going to copy this and I'm going to send this to orchestrator.
55:03.451–55:06.725
And also what is quite useful and what I always recommend to you guys is that
55:06.725–55:11.635
whenever you're giving your agent a complex tax that you're not sure if the agents would be able to pull this off,
55:11.635–55:13.430
you can always give the agents reference
55:13.440–55:14.043
to the hemis.
55:14.043–55:18.784
So for instance, if I'm telling you, hey, if you are unsure, please look into the hemis in this part here
55:18.784–55:22.466
so that the agents would basically understand how he's supposed to build this.
55:22.466–55:24.543
Then I get this command approval from orchestrator.
55:24.543–55:25.623
I'm going to click on always.
55:25.623–55:28.400
And then orchestrator said, hey, step one is completed.
55:28.400–55:33.115
He's verified that the token that we added exists and he's also saying that hey the bot is live.
55:33.115–55:35.996
We can basically send stats to him to directly message Kite.
55:35.996–55:39.267
Now what we're going to do now is that we're going to create the channels that we need.
55:39.267–55:40.668
So we're going to create one channel for Kite.
55:40.668–55:42.978
We're going to create one channel as well for studio
55:42.978–55:45.073
which we're going to use for the brainstorming
55:45.073–55:46.900
before we even bring Kite into that chat.
55:46.900–55:49.267
So to do that we're going to click on the three dots here.
55:49.267–55:51.155
You wouldn't see the option to create a group.
55:51.155–55:52.383
So we're going to come back to all
55:52.383–55:54.385
and then you're going to click on the three dots here.
55:54.385–55:55.791
Then you're going to create a topic.
55:55.791–55:57.130
Now you're going to have to give the topic a name.
55:57.130–55:59.175
In our case, I'm going to call this kite, right?
55:59.175–56:01.289
And because kite is going to be a developer,
56:01.289–56:02.933
let me just give him a laptop icon.
56:02.933–56:04.638
And after that, just click on create.
56:04.638–56:06.586
Now, whenever you are creating a new topic,
56:06.586–56:07.993
before topic can be activated,
56:07.993–56:10.320
you're going to have to send a message in that topic.
56:10.320–56:12.151
For this topic that we are creating,
56:12.151–56:14.531
we're going to need the thread ID for this topic
56:14.531–56:18.986
because it is with this ID that orchestrator would bind this topic exclusively to kite.
56:18.986–56:20.218
So to kick off this group,
56:20.218–56:22.095
I'm just going to copy this prompt here
56:22.095–56:24.968
and I'm going to send this immediately to orchestrate that
56:24.968–56:26.728
hey, what is this topic's thread ID?
56:26.728–56:27.830
You can send it any message.
56:27.830–56:30.093
We could have sent in hi just to create the channel
56:30.093–56:32.191
and then we could follow up with a message like
56:32.191–56:33.792
what is the topic thread of this ID.
56:33.792–56:36.306
I'm also going to show you that other approach as well.
56:36.306–56:37.446
Now kite is created.
56:37.446–56:39.280
We have the telegram topic ID.
56:39.280–56:40.571
We have the thread ID.
56:40.571–56:41.458
Come back to all
56:41.458–56:43.505
and then here click on create topic.
56:43.505–56:44.964
And then we're going to create the next topic
56:44.964–56:46.000
which is going to be the studio.
56:46.000–56:49.003
Now remember the studio is where we're going to be brainstorming ideas
56:49.003–56:51.141
on new content, promos, ideas and stuff like that.
56:51.141–56:53.324
So I'm going to call this idea with this icon here
56:53.324–56:54.743
and I'm going to click on create
56:54.743–56:56.489
and to trigger and create this as well.
56:56.489–56:58.483
I'm just going to use a welcome message like
56:58.483–57:00.144
hey what is the topic ID of this group
57:00.144–57:02.480
and then here as well we're going to get a response.
57:02.480–57:04.171
Now remember we have created kites
57:04.171–57:06.621
but still it's orchestrator that we are talking to
57:06.621–57:09.246
because kite hasn't even been added to this group yet.
57:09.246–57:09.537
Right?
57:09.537–57:11.617
So all the messages that you are seeing here
57:11.617–57:13.927
the thread the response to the thread ID for kite
57:13.927–57:15.198
the response ID for studio
57:15.198–57:17.451
all of this is still coming from orchestrator.
57:17.451–57:18.685
So now we have the thread ID.
57:18.685–57:22.352
So we're going to send a message to orchestrator that hey now we have the thread ids.
57:22.352–57:24.468
So we want you to wire our telegram group.
57:24.468–57:27.708
I'm going to give orchestrator telegram group ID of our current group.
57:27.708–57:30.564
And I'm also going to give him the thread ids of all the channels.
57:30.564–57:33.343
So he would have the thread ID of where I'm talking to him.
57:33.343–57:35.246
He would have the thread ID for kite.
57:35.246–57:37.556
He would also have the thread ID for the studio group.
57:37.556–57:41.989
And then only with this he would be able to bind the channels to the particular agent.
57:41.989–57:45.391
So for orchestrator would have access to this channel that we are talking to him
57:45.391–57:48.071
and orchestrator would also have access to the studio channel
57:48.071–57:49.978
because that is what we going to he's the boss
57:49.978–57:53.510
and basically we will be brainstorming the ideas with him on the studio channel
57:53.510–57:55.639
but kite would only listen in this channel
57:55.639–57:58.375
and kite would have no access to the orchestra channel
57:58.375–57:59.834
and also to the kite channel.
57:59.834–58:00.718
I'm going to open notepad
58:00.718–58:01.981
and I'm going to paste in this prompt
58:01.981–58:03.792
because we're going to change a few things in there.
58:03.792–58:06.525
The first thing that we're going to need is the telegram group ID.
58:06.525–58:08.274
Now to get your telegram group ID.
58:08.274–58:13.074
We're going to use the same bot that we used to fetch our telegram ID called user infobot.
58:13.074–58:15.572
So when this opens, click on forum down here
58:15.572–58:18.079
and select the group that you just created.
58:18.079–58:19.852
In my case, this is KM content.
58:19.852–58:21.920
And then when you click on this, just press send.
58:21.920–58:24.863
And then the bot will send you the ID of the Telegram group.
58:24.863–58:26.333
You can click on here to copy this.
58:26.333–58:29.655
And I'm just going to replace this with this section here called Telegram ID.
58:29.655–58:33.239
In the next stage, we're going to fill in the thread ID for the three channels.
58:33.239–58:35.726
And for that, I'm going to come back into our Telegram group.
58:35.726–58:39.904
But in most of the cases, the first channel that you create always has a thread ID one.
58:39.904–58:42.480
So most likely orchestrator would reply that is one.
58:42.480–58:44.535
But just to be sure, let me just ask him this as well.
58:44.535–58:48.118
Okay, she responded that his thread ID is one because that is that was created.
58:48.118–58:49.283
So I'm going to put in one here.
58:49.283–58:50.574
I'm going to go to kite.
58:50.574–58:51.191
Kite was 36.
58:51.191–58:55.841
I'm going to put in 30 and I'm going to come to studio and studio is 40.
58:55.841–58:57.455
And then basically we're done.
58:57.455–59:00.563
Only these are the four parameters that you're going to have to fill in in this prompt.
59:00.563–59:01.229
And after that,
59:01.229–59:01.998
copy the message.
59:01.998–59:02.593
Very important.
59:02.593–59:04.081
Don't do this in studio or kite.
59:04.081–59:05.740
do this in orchestrator's channel
59:05.740–59:07.056
and then paste this message
59:07.056–59:08.887
and send this message to orchestrator
59:08.887–59:11.461
to basically implement the topic lane agents binding
59:11.461–59:12.892
and he orchestrator responds
59:12.892–59:13.750
hey I've saved the
59:13.760–59:16.218
four lane members to memory and completed the save part
59:16.218–59:17.874
but there is an issue that he's having
59:17.874–59:20.331
he's not able to run this command to restart the gateway
59:20.331–59:22.201
so he's telling us if we can run this for him
59:22.201–59:23.440
so I'm just going to copy the
59:23.440–59:23.950
command here
59:23.950–59:25.342
I'm going to come back to my terminal
59:25.342–59:27.291
let me just clear the screen to make it a bit cleaner
59:27.291–59:28.914
and I'm going to paste in this command here
59:28.914–59:29.935
very very important again
59:29.935–59:32.079
make sure that if you created a new user you are on the new
59:32.079–59:33.352
user not your root account
59:33.352–59:34.336
and and press enter.
59:34.336–59:39.470
And then it happened as well when I was testing this that you get this response failed to connect to bus.
59:39.470–59:45.473
So just copy everything here and then come to telegram and then tell okay I got this error and just paste it.
59:45.473–59:46.727
Oops, I think I didn't copy it.
59:46.727–59:50.164
Well, let me come back into PowerShell control shift C to copy this.
59:50.164–59:52.799
I'm going to come back to Telegram and I'm going to paste this.
59:52.799–59:56.917
And then he would basically correct this and give me another command that I can use to fix this issue.
59:56.917–59:58.163
And I should have found this.
59:58.163–1:00:00.931
He says the error means your shell didn't use a bus environment.
1:00:00.931–1:00:02.949
So he's basically giving me another command to run.
1:00:02.949–1:00:05.634
So I'm going to copy this and I'm going to clear the screen again.
1:00:05.634–1:00:07.003
I'm going to paste in this new command.
1:00:07.003–1:00:07.794
I'm going to press enter.
1:00:07.794–1:00:11.374
And then you see that immediately I get a notification that my gateway is restarting.
1:00:11.374–1:00:12.877
So that means that the command is
1:00:12.877–1:00:15.280
so it took a few seconds for everything to complete.
1:00:15.280–1:00:17.674
So just be a bit more patient when you see this.
1:00:17.674–1:00:18.839
So I'm going to copy this here.
1:00:18.839–1:00:22.640
Control shift C and I'm going to send this orchestrator it worked out.
1:00:22.640–1:00:24.135
This is the message I got.
1:00:24.135–1:00:26.527
So you see that when I sent it to immediately orchestrator,
1:00:26.527–1:00:29.749
he didn't respond because the gateway I think was still booting all the agents.
1:00:29.749–1:00:32.322
So sometimes when you restart a gateway immediately
1:00:32.322–1:00:35.655
it takes a while for all the gateways for the agents to get restarted.
1:00:35.655–1:00:37.134
So when you send this immediately
1:00:37.134–1:00:38.348
and you do not see a response
1:00:38.348–1:00:39.510
just be a bit more patient.
1:00:39.520–1:00:40.535
And here just as a tip
1:00:40.535–1:00:42.387
when you come back into your terminal
1:00:42.387–1:00:44.537
and you type in hemis profile list and enter
1:00:44.537–1:00:47.105
you would see that now we have two gateways running.
1:00:47.105–1:00:49.979
Initially we only had the default gateway that was running
1:00:49.979–1:00:51.738
and the gateway for dev was stopped.
1:00:51.738–1:00:56.160
But now you can see that we have another gateway that we have built for kite which is running.
1:00:56.160–1:01:00.152
So what we're going to do now is we're going to have to add kite into this group that we have created.
1:01:00.152–1:01:05.429
And to do that we're going to come to botfather click on the URL that he gave to us to be able to fetch the ID for kite.
1:01:05.429–1:01:10.407
Click on the name and then we're going to click to copy the of kite and then we're going to come back into our group.
1:01:10.407–1:01:11.211
I'm going to go to all.
1:01:11.211–1:01:13.199
I'm going to click on the three dots here
1:01:13.199–1:01:14.464
and go to view group info.
1:01:14.464–1:01:16.635
And then here I'm going to click on manage
1:01:16.635–1:01:18.807
and I'm going to come to members down here
1:01:18.807–1:01:20.723
and I'm going to click on add members
1:01:20.723–1:01:23.277
and I'm going to put in the username of kitespot.
1:01:23.277–1:01:24.611
And I'm going to select this
1:01:24.611–1:01:26.003
and I'm going to click on add.
1:01:26.003–1:01:28.360
And then now Kite is added to this group.
1:01:28.360–1:01:31.517
We also have to make Kite an administrator for him to be able to work here.
1:01:31.517–1:01:34.527
Still on the all tab, I'm going to click on the three dots.
1:01:34.527–1:01:35.838
I'm going to come to manage group.
1:01:35.838–1:01:37.657
Then I'm going to come to administrator
1:01:37.657–1:01:39.697
and I'm going to click on add administrator.
1:01:39.697–1:01:41.199
I'm going to add Kite there.
1:01:41.199–1:01:42.559
Review the permissions.
1:01:42.559–1:01:43.537
If you're fine with that,
1:01:43.537–1:01:44.283
just click on save.
1:01:44.283–1:01:45.811
And then we can close this.
1:01:45.811–1:01:47.662
So now we have added Kite to the group.
1:01:47.662–1:01:49.015
So what we're going to do now,
1:01:49.015–1:01:50.875
we're going to come into Kite's channel
1:01:50.875–1:01:53.186
and we're going to send a message like who are you?
1:01:53.186–1:01:55.454
And this is the part that always gets me nervous
1:01:55.454–1:01:57.256
because that is the point that you see
1:01:57.256–1:01:59.117
if the agent to channel binding works.
1:01:59.117–1:02:02.649
If everything works, we are supposed to see a message from Kite that I am Kite.
1:02:02.649–1:02:04.648
So let's see if this is going to work.
1:02:04.648–1:02:05.217
Perfect.
1:02:05.217–1:02:06.568
I'm a bit relieved.
1:02:06.568–1:02:08.032
So here Kite responded.
1:02:08.032–1:02:10.721
I'm Kite Laris Cadence designer and engineer.
1:02:10.721–1:02:14.130
Now just to make sure that the other parts are working, I'm also going to send this to orchestrator.
1:02:14.130–1:02:16.862
And if this should respond that he is orchestrator.
1:02:16.862–1:02:19.762
So if Kite is responding in the shadow, then we are screwed up.
1:02:19.762–1:02:25.112
Let me do the same thing for studio just to be on the safe side that we have the right agents behind these channels.
1:02:25.112–1:02:25.481
Great.
1:02:25.481–1:02:30.626
So in orchestrator's channel he still responded I'm orchestrator which means that this is working very well.
1:02:30.626–1:02:32.742
Kite if you remember also responded he is kite.
1:02:32.742–1:02:36.570
And then now when I go to studio orchestrator also responded orchestrator is there.
1:02:36.570–1:02:39.530
So that means that the telegram channel to agent binding work.
1:02:39.530–1:02:42.332
Kite is never going to listen in orchestrator's channel
1:02:42.332–1:02:45.074
and orchestrator would also not listen to ka's channel
1:02:45.074–1:02:46.684
and that's exactly what we want.
1:02:46.684–1:02:50.288
So now that we have all the core aspects of the framework that we need ready,
1:02:50.288–1:02:51.625
her message agent is ready,
1:02:51.625–1:02:53.019
orchestrator is fully set up
1:02:53.019–1:02:54.821
and kite our developer is also set up,
1:02:54.821–1:02:55.577
group is ready,
1:02:55.577–1:02:57.030
we can now start with the build
1:02:57.040–1:02:57.753
of the dashboard.
1:02:57.753–1:02:59.548
Now with the entire build of the dashboard,
1:02:59.548–1:03:00.694
we're going to be using Kite
1:03:00.694–1:03:02.638
who is basically playing the role of a designer
1:03:02.638–1:03:03.635
and also our developer.
1:03:03.635–1:03:06.096
And before we even let Kite start building the dashboard,
1:03:06.096–1:03:08.249
we're going to have to brief Kite on the whole thing
1:03:08.249–1:03:10.351
that we want to build from the beginning to the end
1:03:10.351–1:03:12.504
and a concept that we have for what we're building.
1:03:12.504–1:03:14.725
And for that I'm going to give Kite this prompt here
1:03:14.725–1:03:16.418
as a briefing to know what we want to do.
1:03:16.418–1:03:17.493
So I just sent this to Kite
1:03:17.493–1:03:19.541
and in the process I'll be explaining to you guys
1:03:19.541–1:03:20.565
what I just sent to Kite.
1:03:20.565–1:03:21.428
I'm telling Kite,
1:03:21.428–1:03:23.729
hey before we even write any single line of code,
1:03:23.729–1:03:25.915
here is the whole picture of what we building.
1:03:25.915–1:03:26.764
So I'm telling Kite
1:03:26.764–1:03:29.098
we're building a premium content automation studio
1:03:29.098–1:03:30.530
with a beautiful web dashboard.
1:03:30.530–1:03:32.752
I'm telling Kite how the whole process is going to work.
1:03:32.752–1:03:35.867
So we're going to have Atlas who is going to be our researcher.
1:03:35.867–1:03:39.531
basically go and propose some ideas and then we will promote one as a user
1:03:39.531–1:03:42.097
and then Vera would write the content of the slides
1:03:42.097–1:03:44.000
and after this is done Kite who is also
1:03:44.000–1:03:49.705
our developer and our designer would fit this content into one of the templates that we would pick
1:03:49.705–1:03:55.550
and then we would render that template from an HTML document into an image with about 10 1080 to 1350p
1:03:55.550–1:03:57.029
and then Orin who is going
1:03:57.039–1:04:00.430
to be our publisher would publish this to any network that we want to build this on
1:04:00.430–1:04:03.619
and I'm also telling Sky that we're going to set this on a small Python server
1:04:03.619–1:04:04.986
which is going to be on dashboard
1:04:04.986–1:04:08.345
and also very important I'm telling Kai that we're going to give him or a template
1:04:08.345–1:04:09.786
that we're going to be working with
1:04:09.786–1:04:12.071
and I want this template to be the design source of truth
1:04:12.071–1:04:15.791
because I don't want him to change anything that we're going to be putting in the template
1:04:15.791–1:04:17.571
and also a few things that I'm giving him
1:04:17.571–1:04:19.190
that I want to have a backup protocol
1:04:19.190–1:04:21.942
and also some principles of how the whole build is going to be.
1:04:21.942–1:04:25.774
So Kite responded that hey understood here is the plan in my own words.
1:04:25.774–1:04:31.224
Candice is a complete content automation studio with a polished web dashboard as a control interface
1:04:31.224–1:04:35.584
and he's basically just repeating all the things that we told Kite in the sequence
1:04:35.584–1:04:37.444
how the whole flow is going to work.
1:04:37.444–1:04:40.797
So Kite is basically ready to fill in to build the dashboard with us.
1:04:40.797–1:04:41.764
So in the next stage
1:04:41.764–1:04:44.363
we're going to tell Kite to build the Python back end
1:04:44.363–1:04:47.022
on which this web dashboard is going to be running on.
1:04:47.022–1:04:49.359
I'm going to give this prompt here to get that ready.
1:04:49.359–1:04:53.479
I'm telling Kai that hey we're going to build this dashboard in a way that is going to be very secured.
1:04:53.479–1:04:54.371
So for the first part
1:04:54.371–1:04:55.945
we're going to be setting this thing
1:04:55.945–1:04:57.361
on what is called SSA tunneling.
1:04:57.361–1:05:00.136
So that means that whenever you want to connect to the dashboard
1:05:00.136–1:05:02.963
you're going to use a command like SS minus N minus L this port here
1:05:02.963–1:05:06.000
and at the end you're going to put in your username and your IP address.
1:05:06.000–1:05:06.729
But I'm going to show you
1:05:06.729–1:05:07.349
how this would work.
1:05:07.359–1:05:09.749
Now the reason why we are using this in the first place
1:05:09.749–1:05:13.225
is that the web dashboard is not going to be available to the public internet.
1:05:13.225–1:05:18.495
It's only someone who knows the password of your VPS server that would be able to connect to the dashboard.
1:05:18.495–1:05:20.146
And that is why it makes it so secured.
1:05:20.146–1:05:25.286
But even after we are done with the build, we're going to be installing tails skill that will save the dashboard for us.
1:05:25.286–1:05:30.526
Now tail skill is one of the most solid security setups that we can use to get our dashboard online.
1:05:30.526–1:05:33.885
So for the first time, we're going to use SSH tunneling to access the dashboard.
1:05:33.885–1:05:34.718
But when we are done,
1:05:34.718–1:05:36.336
we're going to be installing tail skill
1:05:36.336–1:05:38.160
which is going to host the whole thing for us.
1:05:38.160–1:05:39.697
And the best thing about tail skill
1:05:39.697–1:05:41.976
is that we would then be able to access the dashboard
1:05:41.976–1:05:44.043
on any PC that is running our tail skill account
1:05:44.043–1:05:45.315
or even on your mobile phone.
1:05:45.315–1:05:45.772
All right.
1:05:45.772–1:05:46.444
So kite is done.
1:05:46.444–1:05:48.815
He set up the back end that we used to run the dashboard
1:05:48.815–1:05:50.647
and he also gave us the SSH tunnel command
1:05:50.647–1:05:52.802
that we're going to use to access the dashboard.
1:05:52.802–1:05:54.204
So what we're going to have to do
1:05:54.204–1:05:55.445
is to just copy this command
1:05:55.445–1:05:57.009
that Kite has provided for us here.
1:05:57.009–1:05:58.697
We're going to go back into PowerShell
1:05:58.697–1:06:00.755
and then in PowerShell just put in this command
1:06:00.755–1:06:01.283
ssh minus L.
1:06:01.283–1:06:02.063
This is the port
1:06:02.063–1:06:03.743
that we use to save the dashboard.
1:06:03.743–1:06:04.884
This is the security end
1:06:04.884–1:06:06.481
and also this is the your username
1:06:06.481–1:06:08.363
which in my case I created a new username
1:06:08.363–1:06:09.732
if you remember called Larry
1:06:09.732–1:06:11.785
and this is the IP address of the VPS server.
1:06:11.785–1:06:14.480
Now here I'm going to put in my password and then just press enter.
1:06:14.480–1:06:16.248
Now it's going to bring you to this point here.
1:06:16.248–1:06:17.979
It's going to be a ca just blinking.
1:06:17.979–1:06:20.882
That means that you are connected to the back end of the VPS server.
1:06:20.882–1:06:23.725
So what we're going to do now is we're going to open a browser
1:06:23.725–1:06:27.680
and then just as Kite gave to us, he says that we should open this URL on our browser.
1:06:27.680–1:06:28.996
We're going to copy this URL here.
1:06:28.996–1:06:30.906
We're going to paste this in here and press enter.
1:06:30.906–1:06:33.062
And then you see that we are connected to the dashboard.
1:06:33.062–1:06:36.667
But because we do not have anything there yet, that is why we get this error response.
1:06:36.667–1:06:37.442
But in principle,
1:06:37.442–1:06:39.714
we are connected to the back end of the Python server.
1:06:39.714–1:06:41.306
Now what we're going to do is in the next thing
1:06:41.306–1:06:43.629
we're going to have to put something on the dashboard for us to see
1:06:43.629–1:06:44.790
basically what we're building.
1:06:44.790–1:06:47.731
And for that we're going to tell Kite to create a web upload page.
1:06:47.731–1:06:48.889
Now in this web upload page
1:06:48.889–1:06:50.416
we're going to upload all the files
1:06:50.416–1:06:51.890
that is going to save the template
1:06:51.890–1:06:52.943
of what we want to build.
1:06:52.943–1:06:54.694
I'm going to copy this prompt to Kite
1:06:54.694–1:06:56.271
and I'm going to send this to Kite
1:06:56.271–1:06:57.497
to build the upload point
1:06:57.497–1:06:59.657
where we can upload all the dashboard stuffs
1:06:59.657–1:07:00.299
that we need.
1:07:00.299–1:07:03.276
And this would contain the HTML template to the dashboard
1:07:03.276–1:07:04.392
and all the the slides
1:07:04.392–1:07:05.818
that we're going to be using
1:07:05.818–1:07:07.927
when we building these carousel slides.
1:07:07.927–1:07:10.921
Whilst Kite is building that, let me show you how the template looks.
1:07:10.921–1:07:15.520
So this is the empty template that we're going to give to Kite to upload on the dashboard for us.
1:07:15.520–1:07:18.198
So we see that we have the content tab which is a bit populated.
1:07:18.198–1:07:19.551
The idea tab looks empty.
1:07:19.551–1:07:21.270
The studio tab also looks empty.
1:07:21.270–1:07:22.457
Everything looks empty.
1:07:22.457–1:07:25.400
But once he's done, he's going to basically add this to the back end
1:07:25.400–1:07:28.503
and then we're going to populate this dashboard template as we build.
1:07:28.503–1:07:29.048
All right.
1:07:29.048–1:07:29.801
So Kite is done.
1:07:29.801–1:07:32.657
He's built the back end which we're going to use to upload all the files
1:07:32.657–1:07:34.381
that he would need to build the dashboard.
1:07:34.381–1:07:36.038
And he gave us this URL here for that.
1:07:36.038–1:07:37.190
So I'm going to copy the URL.
1:07:37.200–1:07:38.478
I'm going to open the browser and
1:07:38.478–1:07:39.661
I'm going to paste in this URL.
1:07:39.661–1:07:42.400
Hopefully, we have a web upload upload dashboard.
1:07:42.400–1:07:43.794
Okay, so this is working quite well.
1:07:43.794–1:07:45.945
So, he built the cadence upload back end
1:07:45.945–1:07:48.487
and he's telling us that he expects four files.
1:07:48.487–1:07:49.384
So, the template,
1:07:49.384–1:07:50.461
so the HTML templates
1:07:50.461–1:07:51.477
and three JSON files
1:07:51.477–1:07:54.348
which are going to be the templates of the carousel slides
1:07:54.348–1:07:55.245
and for the reuse.
1:07:55.245–1:07:57.264
So, I uploaded all the four files that are required
1:07:57.264–1:07:58.994
and also this is confirmed on the dashboard
1:07:58.994–1:08:00.292
that these four files are saved.
1:08:00.292–1:08:01.041
So the next point
1:08:01.041–1:08:02.538
what I'm going to tell Kite is that
1:08:02.538–1:08:04.195
hey I have uploaded all the four files
1:08:04.195–1:08:06.014
that are required to build the templates
1:08:06.014–1:08:07.083
to build the dashboard.
1:08:07.083–1:08:09.558
So I want him to serve these files on the Python temp
1:08:09.558–1:08:11.915
so that we can actually see that this is working.
1:08:11.915–1:08:14.575
So what we're basically telling Kite in this prompt
1:08:14.575–1:08:19.091
is that the file that we upload the template is called cadence dashboard template.html
1:08:19.091–1:08:21.256
but I want him to rename this to index.html
1:08:21.256–1:08:23.669
into the dedicated folder that we have created
1:08:23.679–1:08:24.203
for the dashboard
1:08:24.203–1:08:25.147
that we're going to be building.
1:08:25.147–1:08:27.042
And also very very important at least in my case
1:08:27.042–1:08:30.444
if you want to change the templates then you don't need to give Kite this instruction
1:08:30.444–1:08:33.759
but what I'm telling Kite is that hey this is going to be the design source of truth.
1:08:33.759–1:08:36.926
So whenever he's building anything he should always check for the template
1:08:36.926–1:08:39.490
to make sure that he hasn't made any design changes to the temp
1:08:39.490–1:08:43.110
so that whatever he's going to be building is going to be identical to what we have in the
1:08:43.120–1:08:43.688
templates.
1:08:43.688–1:08:47.948
on telling him that hey the template contains basically mock values like hardcoded stuff
1:08:47.948–1:08:49.765
so that nothing basically looks empty
1:08:49.765–1:08:53.968
but those numbers that we have on the templates are going to be replaced with real metrics
1:08:53.968–1:08:54.309
once we
1:08:54.319–1:08:57.904
start building the dashboard and this one of the nice things not that I like about Hermes
1:08:57.904–1:09:01.784
so what you can see here for instance is that he's done with basically the work that we give to him
1:09:01.784–1:09:06.581
and you can see that he's using an inbuilt browser to check to see if everything that is there is correct
1:09:06.581–1:09:08.908
so he's clicking and taking browser snapshots
1:09:08.908–1:09:12.428
he's clicking different sections and taking snapshots of that aspect
1:09:12.428–1:09:15.590
just to be sure that whatever he did is identical to what is in the
1:09:15.600–1:09:15.877
template.
1:09:15.877–1:09:18.866
And this is one of the main reasons why I really like working with Hemis
1:09:18.866–1:09:20.309
because I build dashboards a lot.
1:09:20.319–1:09:24.081
And if the agents or Hemis allows the agent to be able to work with a headless browser
1:09:24.081–1:09:25.717
to be able to see what it's building,
1:09:25.717–1:09:26.644
this is really cool.
1:09:26.644–1:09:27.131
All right.
1:09:27.131–1:09:28.402
So Kite says he's done.
1:09:28.402–1:09:32.986
He says the template is logged in but is partially complete because there's one file that is missing.
1:09:32.986–1:09:37.127
So when I look here, he says that he didn't find the templates packed because it's false zero.
1:09:37.127–1:09:38.719
Let me see why this is the case.
1:09:38.719–1:09:40.231
So it could be that our upload didn't work.
1:09:40.231–1:09:43.678
So he's saying that we should re-upload this file through the upload point.
1:09:43.678–1:09:47.446
So I'm going to put in this here again and I'm going to re-upload the templates pack.
1:09:47.446–1:09:50.934
So I'm going to tell Kite I have re-upload templates pack.json.
1:09:50.934–1:09:52.175
Can you confirm?
1:09:52.175–1:09:52.795
Perfect.
1:09:52.795–1:09:55.546
So it appears that something happened the first time that I uploaded this.
1:09:55.546–1:09:56.540
So he says that yes,
1:09:56.540–1:09:57.410
he can see it now.
1:09:57.410–1:09:58.423
He checked the file
1:09:58.423–1:10:01.717
and all the uploaded source files are now present in the folder
1:10:01.717–1:10:03.047
that we require them to be
1:10:03.047–1:10:03.997
which is perfect.
1:10:03.997–1:10:05.475
So now let's go to the dashboard
1:10:05.475–1:10:07.691
and see if the dashboard is actually rendering
1:10:07.691–1:10:08.544
on the Python ser.
1:10:08.544–1:10:08.977
So to do that
1:10:08.977–1:10:10.364
we're going to use local host to do that
1:10:10.364–1:10:11.750
we're going to use local host col8892.
1:10:11.760–1:10:13.345
The 8892 is the part of the server
1:10:13.345–1:10:16.222
and the local host is basically the local area on our server
1:10:16.222–1:10:18.570
that we're going to use to access the dashboard.
1:10:18.570–1:10:20.692
And then when I open this hopefully beautiful.
1:10:20.692–1:10:23.737
So you can see that now we have the dashboard loaded just as we had in the template.
1:10:23.737–1:10:26.635
So let me open the template for us to do a one is to one copy.
1:10:26.635–1:10:30.216
This what we had in the template and this is what is being saved on our dashboard.
1:10:30.216–1:10:33.766
So all the pages are identical to what we had in the template.
1:10:33.766–1:10:35.240
So kite is doing a pretty good job.
1:10:35.240–1:10:35.991
Now, in the next stage,
1:10:35.991–1:10:36.505
we're going to,
1:10:36.505–1:10:38.087
this is one of the things that I always recommend
1:10:38.087–1:10:39.590
when you're building stuffs with the agents.
1:10:39.600–1:10:42.038
Let the agents always create a copy of the dashboard
1:10:42.038–1:10:43.456
before they make any changes.
1:10:43.456–1:10:44.901
I always say this in every video
1:10:44.901–1:10:47.069
that I worked on the dashboard for several days
1:10:47.069–1:10:48.514
and my agent just made a mistake
1:10:48.514–1:10:50.070
and basically I lost everything.
1:10:50.080–1:10:52.767
And that is why it's very important that you tell your agent that,
1:10:52.767–1:10:54.857
hey, before you make any changes to the dashboard,
1:10:54.857–1:10:57.345
please create a copy of the dashboard and save it somewhere.
1:10:57.345–1:11:00.877
And also on the dashboard, we have this section here that is the version number.
1:11:00.877–1:11:04.700
And I want him to update a version number anytime he makes a change to the dashboard.
1:11:04.700–1:11:06.030
So I'm going to copy this prompt
1:11:06.030–1:11:08.077
and I'm going to send it to Kite to implement this
1:11:08.077–1:11:09.520
and Kite is done with that as well.
1:11:09.520–1:11:10.842
So when we come to the dashboard
1:11:10.842–1:11:12.012
and we reload the template.
1:11:12.012–1:11:14.143
So we should now see that he has changed.
1:11:14.143–1:11:15.522
So we used to have editorial.
1:11:15.522–1:11:18.417
Let me open the template for you to see what this looked like before.
1:11:18.417–1:11:20.751
So in the template in this bottom section here
1:11:20.751–1:11:22.655
we used to have version 0.1 editorial
1:11:22.655–1:11:25.358
and you can see that now this is updated in our version
1:11:25.358–1:11:26.095
to version 0.1
1:11:26.095–1:11:29.350
which means that kite is going to keep the version update always
1:11:29.360–1:11:30.543
updated as we move on.
1:11:30.543–1:11:32.403
So currently we're going to start with the build.
1:11:32.403–1:11:37.371
So all the parameters that you see here in the content tab are basically hardcoded from the template that I built
1:11:37.371–1:11:41.644
and also the all the stuffs that we have in the agents tab, the heat map, everything is hardcoded.
1:11:41.644–1:11:48.175
So we're going to tell Kite, we're going to give Kite a prompt to basically update the dashboard metrics that we have here
1:11:48.175–1:11:53.074
and also the agents tab so that we have real data, real data from our hemis setup that we have
1:11:53.074–1:11:55.714
but not from the hardcoded stuff that we have in the template.
1:11:55.714–1:11:57.201
And I'm telling him that hey
1:11:57.201–1:11:58.106
when you are done
1:11:58.106–1:12:00.305
confirm that both tabs show the real data
1:12:00.305–1:12:02.374
and the heat map matches the run table.
1:12:02.374–1:12:03.284
Now for the heat map
1:12:03.284–1:12:07.379
all the information is going to be pulled from the agents login database that we built.
1:12:07.379–1:12:08.161
If you remember
1:12:08.161–1:12:11.411
we built something where every agent is going to log the activity
1:12:11.411–1:12:12.795
whenever they do something
1:12:12.795–1:12:14.540
whenever they perform any action.
1:12:14.540–1:12:14.970
All right.
1:12:14.970–1:12:16.327
So Kite is done with that as well.
1:12:16.327–1:12:17.499
Let's look at what Kite built.
1:12:17.499–1:12:18.850
Let's reload the dashboard.
1:12:18.850–1:12:23.289
So here you can see that he's now pulling the real metrics from our data agent database that we built.
1:12:23.289–1:12:28.470
So you can see that now kite is trying to pull the real metrics from the agents login database.
1:12:28.480–1:12:31.033
So you can see that currently in the agent workload
1:12:31.033–1:12:33.708
because none of the agents have done something today
1:12:33.708–1:12:36.261
that is why everything stays at zero for atlas vera
1:12:36.261–1:12:39.544
and origin and kite is the only one that'll be working with today.
1:12:39.544–1:12:41.083
So kite is basically at 100%.
1:12:41.083–1:12:43.413
And the same thing when you come to the agent database
1:12:43.413–1:12:46.061
you can see that everything is almost zero for all the agents
1:12:46.061–1:12:47.967
because they haven't done anything today.
1:12:47.967–1:12:50.179
So I'm recording today on the second day.
1:12:50.179–1:12:53.725
So basically I would expect that there would be some metrics from the previous day.
1:12:53.725–1:12:58.672
So I'm going to tell Kai that hey it appears that the metrics that are being pulled are only being pulled from today
1:12:58.672–1:13:01.619
but there should be some activity from the agents the previous day.
1:13:01.619–1:13:04.925
So he should make sure that the dashboard doesn't only reflect today
1:13:04.925–1:13:08.636
but basically reflects all the data that we have in the agent login database.
1:13:08.636–1:13:11.016
So I'm telling Kite hey this looks awesome.
1:13:11.016–1:13:11.440
Thanks.
1:13:11.440–1:13:15.154
However it appears that the agent metrics being displayed are only from today.
1:13:15.154–1:13:17.689
I do not see any data for instance from yesterday.
1:13:17.689–1:13:20.100
even though the database should contain this.
1:13:20.100–1:13:22.425
So he should basically investigate and see what is wrong
1:13:22.425–1:13:26.185
and make sure that we are serving all the data that is currently in our agent login database.
1:13:26.185–1:13:26.719
All right.
1:13:26.719–1:13:27.733
So Kai says he's done.
1:13:27.733–1:13:29.011
It appears there was an issue.
1:13:29.011–1:13:33.468
So he says that the real problem was there was this issue with the test server Python server
1:13:33.468–1:13:36.737
that was basically deleting stuff from the production database.
1:13:36.737–1:13:38.315
So he basically fixed this as well.
1:13:38.315–1:13:39.898
So he says that the fixes are made.
1:13:39.898–1:13:42.143
The test no longer touch the production database
1:13:42.143–1:13:43.895
and he's basically put in some metrics
1:13:43.895–1:13:46.688
some implementations to make sure that this does not happen.
1:13:46.688–1:13:49.732
But what I would like Kai to do here before we even proceed further,
1:13:49.732–1:13:51.724
I want to be sure that this problem is fixed.
1:13:51.724–1:13:53.164
I'm going to tell Kai that hey
1:13:53.164–1:13:54.963
perform a quick end to end smoke test
1:13:54.963–1:13:55.743
to all the agent
1:13:55.743–1:13:57.242
trigger a few test activities
1:13:57.242–1:14:00.242
and verify that the resulting data are saved in the database
1:14:00.242–1:14:02.641
and also correctly reflected on the dashboard.
1:14:02.641–1:14:04.316
If there is anything that is not there,
1:14:04.316–1:14:05.310
he should fix it as well
1:14:05.310–1:14:08.084
because the agent login database is going to be an integral part
1:14:08.084–1:14:09.602
of what we are going to be building.
1:14:09.602–1:14:13.395
And that is why I want to be thousand% sure that the agents are logging
1:14:13.395–1:14:17.588
and also that all the things that they do also reflect here on the dashboard.
1:14:17.588–1:14:19.717
And by the way, all these deep prompts that I'm adding,
1:14:19.717–1:14:21.326
I'm going to make these available to you.
1:14:21.326–1:14:23.112
So that should you have the same situation,
1:14:23.112–1:14:26.586
you can just copy paste the prompt and give it to the agents or Kite to fix this for you.
1:14:26.586–1:14:27.049
All right.
1:14:27.049–1:14:28.963
So Kite says he's done with the smoke test.
1:14:28.963–1:14:30.576
He repeated this across all the agents.
1:14:30.576–1:14:33.120
And currently you can see that all the agents completed.
1:14:33.120–1:14:36.942
When we come back to the dashboard, you can see that now we don't have the 00 that we had.
1:14:36.942–1:14:41.600
We basically have metrics from all the agents that is being pulled correctly from the agent login database.
1:14:41.600–1:14:43.317
And the same thing also applies to the heat map.
1:14:43.317–1:14:47.450
And when we come to the dashboard, we also see that the agents total runs are also correct.
1:14:47.450–1:14:49.667
There is one more thing that is not correct here
1:14:49.667–1:14:52.226
which has to do with the agent workload distribution.
1:14:52.226–1:14:54.278
This would always have to sum up to 100
1:14:54.278–1:14:57.521
so that we can always see which agent has the most workload.
1:14:57.521–1:14:59.161
I'm also going to tell Kite to fix this
1:14:59.161–1:15:01.172
and after that we can continue with the build.
1:15:01.172–1:15:02.436
And for that I'm telling Kite,
1:15:02.436–1:15:03.750
hey on the dashboard homepage,
1:15:03.750–1:15:06.278
the agent workload share distribution does not make sense.
1:15:06.278–1:15:07.602
So basically I'm telling him
1:15:07.602–1:15:09.313
that everything should add up to 100%
1:15:09.313–1:15:11.199
but currently everything adds up to 350.
1:15:11.199–1:15:11.861
The idea is that
1:15:11.861–1:15:12.828
whenever I look at this
1:15:12.828–1:15:15.069
I'm supposed to see which agent has been more active.
1:15:15.069–1:15:17.521
So he should basically correct this for us as well.
1:15:17.521–1:15:18.965
And Kite has done with that as well.
1:15:18.965–1:15:19.659
So basically now
1:15:19.659–1:15:20.800
when I look on the dashboard
1:15:20.800–1:15:22.883
you can see that the distribution now makes sense.
1:15:22.883–1:15:24.034
It all adds up to 100%
1:15:24.034–1:15:27.079
and I can see clearly that Kite is the most active agent
1:15:27.079–1:15:30.057
because he is the one building the dashboard anyway.
1:15:30.057–1:15:32.621
So now the agent login database is working correctly.
1:15:32.621–1:15:35.982
all the metrics that have been put on the agent tab are also making sense
1:15:35.982–1:15:39.344
so we can start with the build of the other components of the dashboard.
1:15:39.344–1:15:42.473
I'm going to explain the concept of what all the prompts are going to do
1:15:42.473–1:15:44.630
and I'm going to put in all these prompts in one go
1:15:44.630–1:15:47.597
so that you don't have to sit and watch me put in one after the other.
1:15:47.597–1:15:50.232
Now in the next prompt we're going to build an exporter
1:15:50.232–1:15:51.930
and let me explain why we need this.
1:15:51.930–1:15:56.636
So initially, previously whenever you wanted to build a carousel image like a slide or something like that,
1:15:56.636–1:15:59.303
you always had to design everything in a photo editor, right?
1:15:59.303–1:16:01.181
And then save it, export it as a picture
1:16:01.181–1:16:03.001
and then you had your carousel image.
1:16:03.001–1:16:04.937
But the trick what we're going to be using here is
1:16:04.937–1:16:06.341
we're going to render every slide.
1:16:06.341–1:16:08.564
We're going to build every slide as an HTML.
1:16:08.564–1:16:13.495
Now, if you build a slide as an image, you pay for every image that you generate.
1:16:13.495–1:16:18.666
So if you want to change any text in the image, then it means that you always have to pay for API calls,
1:16:18.666–1:16:21.189
which makes it not fun anymore to work on slides.
1:16:21.199–1:16:22.916
So, we're going to build this in a smarter way.
1:16:22.916–1:16:26.929
What we're going to do is we're going to build every carousel as an HTML file.
1:16:26.929–1:16:32.540
Now, because it's going to be an HTML file, it will be very easy for us to edit any text that we want to edit.
1:16:32.540–1:16:33.931
And let me just go into my setup
1:16:33.931–1:16:35.211
just to explain for you guys
1:16:35.211–1:16:37.549
to get a concept of how we're going to build a slice.
1:16:37.549–1:16:39.370
So, let me take this one here for instance.
1:16:39.370–1:16:42.209
Everything that you are seeing here looks like an image,
1:16:42.209–1:16:43.840
but it's basically not an image.
1:16:43.840–1:16:47.002
It's an HTML document that is rendering the file like this.
1:16:47.002–1:16:49.406
So whenever I want to export this as an image
1:16:49.406–1:16:52.677
then I'm going to deploy what is called a headless browser.
1:16:52.677–1:16:55.466
So a headless browser doesn't need a desktop to run.
1:16:55.466–1:16:58.073
It's basically going to render this file here
1:16:58.073–1:16:59.857
which is basically an HTML file
1:16:59.857–1:17:02.121
and then take a snapshot of what it sees.
1:17:02.121–1:17:04.918
So eventually all the things here that we are seeing
1:17:04.918–1:17:06.349
which is rendered as a code
1:17:06.349–1:17:08.041
would be then exported as a JPEG
1:17:08.041–1:17:10.838
and then with that you can upload this to Instagram,
1:17:10.838–1:17:11.879
Tik Tok or whatever
1:17:11.879–1:17:13.765
wherever you want to build this on.
1:17:13.765–1:17:15.784
Now the reason why we do it in this smart way
1:17:15.784–1:17:18.899
is that originally whenever you want to build any carousel slide
1:17:18.899–1:17:20.572
you have to use an image generator.
1:17:20.572–1:17:22.105
Maybe you can use nano banana
1:17:22.105–1:17:25.172
or all the AI models that are out there to generate images.
1:17:25.172–1:17:27.165
But when you even want to change one text
1:17:27.165–1:17:29.098
then you have to tell the AI model again
1:17:29.098–1:17:30.547
hey I want to change the text.
1:17:30.547–1:17:33.255
Maybe for instance I want to change this from most people
1:17:33.255–1:17:33.888
to most users
1:17:33.888–1:17:35.444
and I have to tell my a model again
1:17:35.444–1:17:38.267
hey I want to change the text from most people to most users.
1:17:38.267–1:17:40.480
And then you pay for every edit that you do
1:17:40.480–1:17:42.628
which is probably not the smartest way.
1:17:42.628–1:17:43.508
So how I build this
1:17:43.508–1:17:44.917
and what most users are using
1:17:44.917–1:17:47.264
is that you build the whole slide as an HTML file.
1:17:47.264–1:17:48.058
And by so doing
1:17:48.058–1:17:51.366
when you can change everything that you want to do in the file
1:17:51.366–1:17:53.682
without having to regenerate the prompts
1:17:53.682–1:17:55.280
or regenerate some API keys.
1:17:55.280–1:17:57.858
So here for instance this is what our dashboard is also going to do.
1:17:57.858–1:17:59.175
When I click on fine-tune
1:17:59.175–1:18:00.367
and I pick this element
1:18:00.367–1:18:03.880
I can just change the text here from people to most builders, right?
1:18:03.880–1:18:05.254
And you see that it does
1:18:05.254–1:18:06.629
I can save and rerender
1:18:06.629–1:18:08.220
and then I have my new slide
1:18:08.220–1:18:10.400
without me having to do any API call.
1:18:10.400–1:18:11.150
the same thing.
1:18:11.150–1:18:12.545
I can change all the contents.
1:18:12.545–1:18:14.634
This is why I really like what we're building here.
1:18:14.634–1:18:15.641
I can change the layout.
1:18:15.641–1:18:17.220
I can move every content here,
1:18:17.220–1:18:18.104
change the size,
1:18:18.104–1:18:20.188
put it in every format that I want to do it
1:18:20.188–1:18:22.398
without me having to pay for any API calls.
1:18:22.398–1:18:23.383
So, what we build,
1:18:23.383–1:18:26.207
we're building every carousel slide as an HTML file
1:18:26.207–1:18:27.652
and then when we are ready,
1:18:27.652–1:18:29.228
we deploy a headless browser
1:18:29.228–1:18:31.592
that looks at that HTML file we have created
1:18:31.592–1:18:33.628
and creates a snapshot of as a picture
1:18:33.628–1:18:35.280
that we can then upload to more
1:18:35.280–1:18:36.614
any social media platform.
1:18:36.614–1:18:40.550
So we avoiding the aspect of complicating the whole carousel image design
1:18:40.550–1:18:43.026
where you have to make an API call for every edit
1:18:43.026–1:18:44.232
and pay for every edit.
1:18:44.232–1:18:48.147
We are rendering everything as an HTML file that will be completely edited.
1:18:48.147–1:18:50.525
Quite crazy the things that you can do with standard HTML.
1:18:50.525–1:18:53.564
Like you see here all these templates that you are seeing here,
1:18:53.564–1:18:54.675
none of it is a picture.
1:18:54.675–1:19:01.559
Everything is built with standls that someone might not even believe you that this built with HTML.
1:19:01.559–1:19:03.325
So basically with this prompt here,
1:19:03.325–1:19:07.623
what the prompt is doing is that we're going to build this setup of this headless browser
1:19:07.623–1:19:11.096
that would render whatever that we build from an HTML file into an image
1:19:11.096–1:19:13.510
that can be uploaded on any social media platform
1:19:13.520–1:19:14.081
that we have.
1:19:14.081–1:19:16.562
So we are not building images straight ahead.
1:19:16.562–1:19:19.479
We build an HTML file which contains the structure that we want.
1:19:19.479–1:19:22.960
Then once we are satisfied with it, we export it into an image.
1:19:22.960–1:19:26.123
And for this we are using a headless browser that is called Chromium.
1:19:26.123–1:19:29.507
And by default, most of the Hemis setups come with Chromium.
1:19:29.507–1:19:31.754
So we might not even need to install this on our own.
1:19:31.754–1:19:35.840
We can just leverage what Hemis already has and then use it to build what we want to build.
1:19:35.840–1:19:40.310
If you remember when we were building the dashboard, there was a aspect that I told you that the agents were basically.
1:19:40.320–1:19:41.205
So here for instance,
1:19:41.205–1:19:43.023
you can see that Kite was rendering a browser
1:19:43.023–1:19:44.448
where he was going to the dashboard
1:19:44.448–1:19:46.315
and making sure that everything was working.
1:19:46.315–1:19:47.840
That is the same concept I'm going to use.
1:19:47.840–1:19:49.548
We're going to let the designer in this case
1:19:49.548–1:19:50.545
as well is going to be Kite
1:19:50.545–1:19:51.779
use the same headless browser.
1:19:51.779–1:19:54.362
But right now he's not going to use it to check the dashboard,
1:19:54.362–1:19:56.893
but he's going to use it lots of what the HTML file contains.
1:19:56.893–1:20:01.472
It makes it so easy to be able to build slides without having to pay for API calls every time.
1:20:01.472–1:20:03.292
And Kite is done with that as well.
1:20:03.292–1:20:04.353
He did a smoke test
1:20:04.353–1:20:07.821
and he verified that the images were indeed being rendered
1:20:07.821–1:20:08.812
from the browser
1:20:08.812–1:20:10.793
into for instance here a PNG file.
1:20:10.793–1:20:14.557
Now in the next stage we're going to build all the things that are going to run from the back end.
1:20:14.557–1:20:18.390
So I'm going to explain all these backend prompts and then I'm going to give these to kites
1:20:18.390–1:20:23.414
but I'm going to explain all these prompts to the point where we get to a prompt that would trigger a front-end design.
1:20:23.414–1:20:24.950
So when you are using the prompt
1:20:24.950–1:20:26.014
everything that I say
1:20:26.014–1:20:26.841
backend back end
1:20:26.841–1:20:27.609
I try to add this
1:20:27.609–1:20:29.264
so that you can see what to expect.
1:20:29.264–1:20:30.360
If it's a backend prompt
1:20:30.360–1:20:32.608
then it wouldn't show anything on the dashboard.
1:20:32.608–1:20:34.297
It's basically building the foundation
1:20:34.297–1:20:35.241
on which we would build
1:20:35.241–1:20:36.731
to show something on the dashboard.
1:20:36.731–1:20:38.989
When we get to the aspect here where I write design
1:20:38.989–1:20:41.853
then it means that what you going to do is going to show a design.
1:20:41.853–1:20:44.883
But if I get to an aspect where I realize that it's quite useful to explain
1:20:44.883–1:20:46.701
I'm going to explain this to you guys as well
1:20:46.701–1:20:49.277
so that you can also understand what these prompts look like.
1:20:49.277–1:20:50.132
And in every case
1:20:50.132–1:20:52.085
I always include sort of a description
1:20:52.085–1:20:54.648
to basically explain what the prompt is going to do
1:20:54.648–1:20:56.052
and what you should expect.
1:20:56.052–1:20:58.094
So now we are done with the exporter prompt.
1:20:58.094–1:21:01.108
The next prompt is going to be the template packs auto fit.
1:21:01.108–1:21:06.080
Now whenever we are generating an idea, let me use my setup to give you a concept of what I'm doing.
1:21:06.080–1:21:07.872
So when I click on generate ideas, let's see.
1:21:07.872–1:21:10.599
I already have some ideas that are already generated here.
1:21:10.599–1:21:14.670
So let's look at for instance building a one person AI operation team.
1:21:14.670–1:21:15.907
Now when I like this idea
1:21:15.907–1:21:17.021
and I click on promote
1:21:17.021–1:21:19.372
basically I can decide on the number of slides
1:21:19.372–1:21:20.609
that I want to generate.
1:21:20.609–1:21:21.687
So let's say for instance
1:21:21.687–1:21:22.918
I want to generate six slides
1:21:22.918–1:21:23.893
and I say write slides.
1:21:23.893–1:21:25.679
What is going to happen is that Vera
1:21:25.679–1:21:27.034
who is going to be our right
1:21:27.034–1:21:29.313
is going to write the slides for the carousel
1:21:29.313–1:21:31.469
or the content or the text for the carousel
1:21:31.469–1:21:32.762
that we want to generate.
1:21:32.762–1:21:37.061
Now like I said all these things that Vera is going to give to us is just going to be raw text
1:21:37.061–1:21:40.006
but we have to be able to insert these text into the template.
1:21:40.006–1:21:43.077
This prompt that we're going to build here is going to build that part
1:21:43.077–1:21:46.095
where it's going to take the content that has been generated by Vera
1:21:46.095–1:21:48.304
and insert it into the HTML template that we have.
1:21:48.304–1:21:52.098
So all the templates that you see here like I said these are basically HTML templates.
1:21:52.098–1:21:57.405
So for instance when I look at this example here you can see that some of it have longer word characters than some.
1:21:57.405–1:21:59.580
So this one for instance has longer characters.
1:21:59.580–1:22:01.536
This has a different layout and stuff like that.
1:22:01.536–1:22:07.111
So then what is going to happen is that the back end that we're going to build is going to look at a template that you select and
1:22:07.111–1:22:10.117
then adapt the text that Vera generated here to fit that template.
1:22:10.117–1:22:12.324
And this is what I call the auto fit feature.
1:22:12.324–1:22:13.212
And for this to work,
1:22:13.212–1:22:16.971
we have to build a render engine that is going to look at the content that Vera generated
1:22:16.971–1:22:18.381
look at a destination template.
1:22:18.381–1:22:19.385
So here for instance,
1:22:19.385–1:22:19.999
if I say that,
1:22:19.999–1:22:20.222
hey,
1:22:20.222–1:22:21.170
I like this content.
1:22:21.170–1:22:23.230
When I come to approve and pick templates,
1:22:23.230–1:22:25.644
then it ask me which of the templates I want to use.
1:22:25.644–1:22:27.873
So whenever I select the template that I want to use,
1:22:27.873–1:22:32.019
then the back end that we're going to build here is going to look at the template that we selected,
1:22:32.019–1:22:34.558
look at the number of words and characters that are in there
1:22:34.558–1:22:35.750
and then adapt the text that
1:22:35.760–1:22:37.892
Vera generated to fit that template.
1:22:37.892–1:22:42.665
Now imagine that if the words that Vera generated are way longer than what the template can fit,
1:22:42.665–1:22:47.377
then the carousel just becomes ugly and that is why we build this render take care of that for us
1:22:47.377–1:22:49.199
and after that we're going to build a
1:22:49.199–1:22:50.612
pipeline to talk to the crew.
1:22:50.612–1:22:52.915
So currently whenever I'm talking to the crew right
1:22:52.915–1:22:54.897
I'm chatting with Kite able to chat with Vera
1:22:54.897–1:22:56.505
I'm not able to chat to our publisher
1:22:56.505–1:22:59.022
but we want to be able to chat with them from the dashboard
1:22:59.022–1:23:00.800
and by chat what I mean is that when I come
1:23:00.800–1:23:03.289
to the idea tab and I click on generate idea
1:23:03.289–1:23:06.133
this sends a message to Atlas who is our research
1:23:06.133–1:23:08.195
look for ideas of what we can build.
1:23:08.195–1:23:09.933
I'm talking to Atlas through a code
1:23:09.933–1:23:12.870
where I send a trigger to Atlas that hey generate some ideas
1:23:12.870–1:23:15.447
and the same thing applies for all the other agents.
1:23:15.447–1:23:17.029
Whenever we want to publish something
1:23:17.029–1:23:19.502
we're not going to come to Telegram and tell them to publish.
1:23:19.502–1:23:21.161
We want to push a button the dashboard
1:23:21.161–1:23:23.729
that is going to trigger the agent to publish the content.
1:23:23.729–1:23:26.768
And these are the things that prompt 17 is going to do.
1:23:26.768–1:23:28.366
It's going to build an interface
1:23:28.366–1:23:30.853
where whenever we click a button on the dashboard,
1:23:30.853–1:23:34.000
it sends and triggers an agent to do that particular task for us.
1:23:34.000–1:23:35.760
And then we're going to have prompt 18.
1:23:35.760–1:23:38.341
Prompt 18 is going to be exclusively for Atlas
1:23:38.341–1:23:40.583
who is our ideas guy and our researcher.
1:23:40.583–1:23:44.755
And I'm basically just telling Atlas how I want the carousels to be designed.
1:23:44.755–1:23:46.628
So here, these are just examples of what I put in.
1:23:46.628–1:23:50.219
I'm telling Atlas that hey whenever you're writing the carousel slides
1:23:50.219–1:23:52.792
I want to have this written in plain simple language
1:23:52.792–1:23:54.228
short words short sentences
1:23:54.228–1:23:56.263
no hype no buzz words and stuff like that.
1:23:56.263–1:24:00.979
So this prompt is basically giving Atlas an orientation of how we want the content
1:24:00.979–1:24:06.041
and also Vera who is our content writer how we want the content of the slides to look like.
1:24:06.041–1:24:09.861
And here we're also giving them an orientation on how he's generating an idea.
1:24:09.861–1:24:11.432
He should generate four ideas
1:24:11.432–1:24:15.767
and basically an orientation on how we want the whole carousel slides to look like.
1:24:15.767–1:24:17.911
And then we're going to have this last prompt here
1:24:17.911–1:24:20.003
which is going to be basically for our publisher
1:24:20.003–1:24:21.258
whenever we want to publish.
1:24:21.258–1:24:23.354
So for instance when we come to the dashboard
1:24:23.354–1:24:25.168
and I come to my studio tab for instance
1:24:25.168–1:24:26.811
if I want to publish something here
1:24:26.811–1:24:28.227
I'm just going to click on post
1:24:28.227–1:24:30.720
and then this can be published directly to Instagram
1:24:30.720–1:24:31.920
to Tik Tok or wherever you
1:24:31.920–1:24:33.008
want to apply this to.
1:24:33.008–1:24:34.922
But for that as well we need to build a backend
1:24:34.922–1:24:36.732
and that is what this prompt is going to do.
1:24:36.732–1:24:38.496
This prompt is going to build a backend
1:24:38.496–1:24:40.204
so that whenever we trigger an upload
1:24:40.204–1:24:43.566
then the upload can be pushed directly to whatever social media platform
1:24:43.566–1:24:44.834
that we want to push this in.
1:24:44.834–1:24:46.433
So I'm going to render all these prompts.
1:24:46.433–1:24:51.212
The first prompt being the one that is going to take the text that has been generated and adapt it to the template.
1:24:51.212–1:24:52.015
The next prompt
1:24:52.015–1:24:53.992
which is going to be taking care of that
1:24:53.992–1:24:56.154
we can use all the buttons on our dashboard
1:24:56.154–1:24:57.884
to trigger an action to the agent.
1:24:57.884–1:25:02.027
The prompt 18 which is going to take care of how we want our ideas to be generated.
1:25:02.027–1:25:04.408
The number of ideas that we want to be generated,
1:25:04.408–1:25:05.419
how we want the cast,
1:25:05.419–1:25:07.026
how we want the carousel slides,
1:25:07.026–1:25:08.276
the content to look like.
1:25:08.276–1:25:09.969
And we would also have the last prompt
1:25:09.969–1:25:12.372
that is going to take care of publishing to the server
1:25:12.372–1:25:13.682
or the social media platform
1:25:13.682–1:25:15.102
that we want to publish this to.
1:25:15.102–1:25:16.732
So I'm going to run all these prompts.
1:25:16.732–1:25:17.456
If I get any backs,
1:25:17.456–1:25:18.180
I'm going to pause
1:25:18.180–1:25:19.579
and I'm going to explain this to you
1:25:19.579–1:25:20.833
so that you guys can also follow
1:25:20.833–1:25:21.750
what we would do there.
1:25:21.760–1:25:22.057
Right.
1:25:22.057–1:25:24.633
So Kite is done with processing all those prompts as well.
1:25:24.633–1:25:26.746
Like I said, I didn't have to respond to anything.
1:25:26.746–1:25:30.255
I just copy pasted all the prompts to Kite and he processed all the back end.
1:25:30.255–1:25:36.021
Now in the next stage, we're going to grab some API keys and I'm going to explain every API key and why we need that.
1:25:36.021–1:25:36.845
The first API key
1:25:36.845–1:25:38.141
that we're going to search
1:25:38.141–1:25:39.024
is for publicity.
1:25:39.024–1:25:44.293
So perplexity is one of the AI models that you can use that is very very strong in research.
1:25:44.293–1:25:45.447
So I added this feature
1:25:45.447–1:25:47.390
so that when you are writing a carousel
1:25:47.390–1:25:49.819
and you want the agents to really use recent data
1:25:49.819–1:25:52.855
then for instance you can use perplexity as a research model
1:25:52.855–1:25:55.830
where Atlas is going to query perplexity to do the research
1:25:55.840–1:25:58.130
before the contents of the slides have been written.
1:25:58.130–1:26:00.194
Just to give you an example of where we would need this.
1:26:00.194–1:26:03.317
For instance, when I come to my dashboard and I click on generate ideas,
1:26:03.317–1:26:06.281
you see that I have a couple of ideas that have been generated for me.
1:26:06.281–1:26:09.533
So for instance, let's go for the builder AI automation map.
1:26:09.533–1:26:13.904
Now when I want to promote this article or when I want to promote this idea into slides,
1:26:13.904–1:26:16.920
I do have this option where I take research with publicity.
1:26:16.920–1:26:18.799
If you take research with publicity,
1:26:18.799–1:26:21.526
then the agent will query publicity as a research tool
1:26:21.526–1:26:23.768
to gather this information on this new idea.
1:26:23.768–1:26:25.253
If you do not take this article,
1:26:25.253–1:26:27.539
then the agent will just do a standard web search
1:26:27.539–1:26:28.910
to get ideas for this content
1:26:28.910–1:26:31.481
or probably what the agent is also already trained on.
1:26:31.481–1:26:34.040
But if you want really research based content,
1:26:34.040–1:26:36.532
then you can toggle this research perplexity
1:26:36.532–1:26:39.944
and then the agents will basically do a researchbased content
1:26:39.944–1:26:42.896
for the article or for the idea that you want to create.
1:26:42.896–1:26:44.960
So that's going to be the first key that we're going to get.
1:26:44.960–1:26:45.576
Now to get this,
1:26:45.576–1:26:46.760
you can come to Now to get this,
1:26:46.760–1:26:48.229
you can come to console.plexity.ai.
1:26:48.239–1:26:51.073
I'm also going to provide a link to this in the description section.
1:26:51.073–1:26:53.865
Then when you're here, just create an account or login if you already have one.
1:26:53.865–1:26:56.481
And then when you are logged in into the console, you do not have to do much here.
1:26:56.481–1:26:59.274
You can just come to the left section here and click on API keys.
1:26:59.274–1:27:03.843
And then under API keys, just come to the top right section here, click on generate API key.
1:27:03.843–1:27:05.830
And you can put in web key you want to go with.
1:27:05.840–1:27:09.009
For this tutorial, I'm going to call this comp mechanic tutorial test
1:27:09.009–1:27:10.593
and then just click on create a key.
1:27:10.593–1:27:13.451
And after that, you see that an API key would be generated for you.
1:27:13.451–1:27:15.922
So just copy this API key, save it in the safe space,
1:27:15.922–1:27:17.628
and we're going to use this API key.
1:27:17.628–1:27:20.271
The next stage we're going to get an API key from imageB.
1:27:20.271–1:27:22.427
But let me explain to you why we need this.
1:27:22.427–1:27:25.785
So what we want to do with our setup is that we have our cadence
1:27:25.785–1:27:29.345
and we want to push images from here to Instagram for an example.
1:27:29.345–1:27:29.760
Right?
1:27:29.760–1:27:35.486
The issue is that if we want to push our slides directly from cadence to we need to get Instagram API key.
1:27:35.486–1:27:38.837
If you want to do this for Tik Tok, you need to build your own Tik Tok flow.
1:27:38.837–1:27:42.194
If you want to do this for Facebook, you have to create your own keys,
1:27:42.194–1:27:43.873
your own flow and stuff like that.
1:27:43.873–1:27:45.539
And this is very very complex, right?
1:27:45.539–1:27:48.009
We're going to spend more time building those connections
1:27:48.009–1:27:49.773
than basically focusing on the dashboard
1:27:49.773–1:27:50.731
that we want to create.
1:27:50.731–1:27:52.492
So what we're going to do is that
1:27:52.492–1:27:55.338
there are some platforms like buffer or metrical.
1:27:55.338–1:27:56.802
And what these platforms do is
1:27:56.802–1:27:59.261
they have access to all the social media platforms
1:27:59.261–1:28:01.720
and they have worked on all those backends for you.
1:28:01.720–1:28:06.449
So all we would have to do is to push our slides through a platform like metricle or buffer
1:28:06.449–1:28:10.800
and they would push the slides to the social media platforms that we want to go to.
1:28:10.800–1:28:16.810
There is one c however that at least from my testing buffer doesn't allow us to push our images directly to that platform.
1:28:16.810–1:28:21.508
So what we're going to need is an intermediate storage where the images that we generate will be pushed to
1:28:21.508–1:28:23.669
and then from there the images would go to buffer
1:28:23.669–1:28:26.315
and for that we're going to need a platform called image BB.
1:28:26.315–1:28:27.366
Now this BB is free.
1:28:27.366–1:28:30.492
So what is going to happen is that whenever you push an image
1:28:30.492–1:28:33.554
or whenever you push a story or a carousel from our cadence
1:28:33.554–1:28:35.341
this would be first be pushed to BB
1:28:35.341–1:28:37.829
and then from image they would go to Instagram.
1:28:37.829–1:28:40.253
Now, it looks complicated from the setup that I'm explaining to you,
1:28:40.253–1:28:41.358
but we're going to wire this in.
1:28:41.358–1:28:42.577
And when you click on post,
1:28:42.577–1:28:44.905
like for instance, when I come to my dashboard here
1:28:44.905–1:28:45.736
and I click on post
1:28:45.736–1:28:48.286
and I choose, for instance, I want to post to Instagram.
1:28:48.286–1:28:49.413
This is going to happen.
1:28:49.413–1:28:51.450
All this transfer is going to happen automatically.
1:28:51.450–1:28:54.340
So, you do not have to go here, push from here to here, push from here to here.
1:28:54.340–1:28:56.454
We're going to wire in all those connections.
1:28:56.454–1:28:58.800
And to do that, we're going to come to image.b.
1:28:58.800–1:28:59.611
It's completely free.
1:28:59.611–1:29:01.153
So, you can just create an free account.
1:29:01.153–1:29:02.835
And then once you create the account,
1:29:02.835–1:29:04.897
come to the left section here and click on API.
1:29:04.897–1:29:06.959
And this brings you to the API page.
1:29:06.959–1:29:09.423
When you are here, just click on add API key.
1:29:09.423–1:29:11.484
Create an API key, store the API key,
1:29:11.484–1:29:14.849
and then we can proceed to the next API key that we will need.
1:29:14.849–1:29:16.598
Now, the next API key that we will need
1:29:16.598–1:29:18.797
is the platform that is going to push our slides
1:29:18.797–1:29:21.120
to the social media platform that we want to go to.
1:29:21.120–1:29:23.281
Now, here there are several platforms that are out there.
1:29:23.281–1:29:25.913
As an example, we have Buffer who can do this for us.
1:29:25.913–1:29:28.411
And we also have Metro who can also do this for us.
1:29:28.411–1:29:29.466
Both of them work.
1:29:29.466–1:29:34.117
I know that a lot of people use metrical because they have a very very powerful dashboard that they use.
1:29:34.117–1:29:41.526
But from my testing, I realized that for you to be able to push our slides from Cadence OS to Instagram or Tik Tok,
1:29:41.526–1:29:46.278
if you want to use metrical, then we have to go for a higher payment plan.
1:29:46.278–1:29:52.772
It's only the advanced option where you're going to pay 43 in my case a month that would come with the metrical API.
1:29:52.772–1:29:54.413
So this was quite expensive for me
1:29:54.413–1:29:55.292
because in my case
1:29:55.292–1:29:57.578
if you really need metric code to work with kers
1:29:57.578–1:29:59.395
then you would have to go with advance
1:29:59.395–1:30:01.154
where you pay dollars a month a month
1:30:01.154–1:30:02.912
to be able to get access to their API.
1:30:02.912–1:30:06.841
Remember an AP is an interface that would allow us to be able to communicate with the platform.
1:30:06.841–1:30:10.126
And in my case I had just two social media accounts that I was using to test.
1:30:10.126–1:30:13.751
So I didn't want to pay €43 a month just for two social media platforms.
1:30:13.751–1:30:17.693
But advantage with metricle is that you can go for instance with their starter plan
1:30:17.693–1:30:21.521
where you would pay $16 a month and then you can add so many social media platforms
1:30:21.521–1:30:23.521
without having to increase your pricing.
1:30:23.521–1:30:27.693
So for instance if you have four social media platforms Tik Tok, Facebook, LinkedIn etc.
1:30:27.693–1:30:30.512
you would still be paying $16 a month which I find pretty cool
1:30:30.512–1:30:32.936
and I'm going to show you when I would go with metric.
1:30:32.936–1:30:34.844
We have another platform that is called buffer
1:30:34.844–1:30:37.193
and that is what I used in what we are building with hidden.
1:30:37.193–1:30:41.327
Advantage with buffer is that they would allow us to be able to use their API assets
1:30:41.327–1:30:42.665
even with a standard plan.
1:30:42.665–1:30:46.266
And I think in my case I went with the five plan which is essential right?
1:30:46.266–1:30:48.750
So even with this you have access to three API keys
1:30:48.750–1:30:50.325
and you would be able to use this
1:30:50.325–1:30:54.445
but with metrical you can only get access to the API key if you have the dollar plan.
1:30:54.445–1:30:59.187
But the caveat with Buffer is that every social media platform that you add you pay an extra $5.
1:30:59.187–1:31:02.669
So if you have Tik Tok, Facebook, Instagram it becomes $15.
1:31:02.669–1:31:04.674
If you add LinkedIn it becomes $20
1:31:04.674–1:31:06.608
and so it can get a bit expensive.
1:31:06.608–1:31:12.258
So in that case, if you don't really care about pushing directly from cadence to the social media platform,
1:31:12.258–1:31:16.955
I also did add an option on the dashboard where you can basically download all the slides.
1:31:16.955–1:31:18.312
Let me do an example here for you.
1:31:18.312–1:31:19.418
When I click on slides,
1:31:19.418–1:31:21.747
you can see that the slides are downloaded here.
1:31:21.747–1:31:22.804
When I click on this,
1:31:22.804–1:31:25.415
you see that I have all the slides downloaded here.
1:31:25.415–1:31:26.472
Let me go to thumbnails
1:31:26.472–1:31:28.363
and you can see that I have all the images.
1:31:28.363–1:31:29.008
And what I also
1:31:29.008–1:31:34.596
added for you is that you can click on caption where you're going to see the caption that is going to be required for you to post.
1:31:34.596–1:31:37.067
and then you can post this yourself and in that case then
1:31:37.067–1:31:39.270
probably metrical would be a best option because
1:31:39.280–1:31:41.314
they do have for instance for the $16 plan
1:31:41.314–1:31:43.349
you would be able to add more social media
1:31:43.349–1:31:44.844
you can see here up to 10 brands
1:31:44.844–1:31:46.041
which makes it very cool
1:31:46.041–1:31:49.990
but if you really want to leverage the push from cadence directly to your social
1:31:50.000–1:31:52.098
media platform then buffer might be a cheaper option
1:31:52.098–1:31:55.770
I'm just trying to explain how you can decide on which are the platforms that you want to go for
1:31:55.770–1:31:57.916
so for this example we're going to be going with Buffer
1:31:57.916–1:32:00.300
because like I said I had only two social media accounts
1:32:00.300–1:32:02.376
and I didn't want to pay €43 here for my testing
1:32:02.376–1:32:05.926
so you can just create an account with whatever platform that you want to go for
1:32:05.926–1:32:07.729
and then just loging into your account.
1:32:07.729–1:32:10.393
Once you're logged in into your buffer dashboard,
1:32:10.393–1:32:13.944
just come to the bottom section here where you have my organization
1:32:13.944–1:32:14.768
and click on API
1:32:14.768–1:32:16.290
and then here click on new key
1:32:16.290–1:32:18.066
and then you can create an API key.
1:32:18.066–1:32:21.696
Now with these three API keys from perplexity, imageb and buffer,
1:32:21.696–1:32:23.941
we would be able to wire this into cadence
1:32:23.941–1:32:25.525
and continue with the build.
1:32:25.525–1:32:27.414
Now with these API keys that we have gathered,
1:32:27.414–1:32:29.253
we have to store these API keys to our server.
1:32:29.253–1:32:31.440
And to do that, we're going to come back to PowerShell.
1:32:31.440–1:32:33.325
I'm going to log in back into the terminal.
1:32:33.325–1:32:34.133
come back into the
1:32:34.133–1:32:35.856
and I'm going to paste in this command.
1:32:35.856–1:32:38.728
Now this command is going to ask us for all the API keys
1:32:38.728–1:32:41.404
and these are going to be secretly stored into the
1:32:41.404–1:32:44.732
you can in principle just give kite directly into the API keys
1:32:44.732–1:32:46.821
but this is not a recommended approach
1:32:46.821–1:32:50.277
because if gets compromised then someone has access to your API keys
1:32:50.277–1:32:52.934
and that is why whenever I'm adding API keys or secrets
1:32:52.934–1:32:56.654
I prefer to do it from the rather than directly giving it to kite or telegram.
1:32:56.654–1:32:57.527
So just press enter
1:32:57.527–1:33:00.201
and then it's going to ask you for your buffer access token.
1:33:00.201–1:33:02.286
So here I'm going to paste in my buffer key.
1:33:02.286–1:33:03.009
Paste this in.
1:33:03.009–1:33:04.452
And after that just press enter.
1:33:04.452–1:33:07.630
And then it's going to ask you if your image BB API key.
1:33:07.630–1:33:09.090
I'm going to copy this as well.
1:33:09.090–1:33:10.173
I'm going to paste this in.
1:33:10.173–1:33:10.792
Press enter.
1:33:10.792–1:33:13.547
And then the last one you're going to be asked for your perplexity.
1:33:13.547–1:33:13.777
Oops.
1:33:13.777–1:33:15.294
I realized that I made a mistake.
1:33:15.294–1:33:18.041
So the first one that I put in wasn't for buffer.
1:33:18.041–1:33:19.156
It was for perplexity.
1:33:19.156–1:33:21.443
So I'm going to cancel this and I'm going to run this again.
1:33:21.443–1:33:22.699
I hope it doesn't get messed up.
1:33:22.699–1:33:24.921
I'm going to tell Kite in the process that I made a mistake.
1:33:24.921–1:33:26.631
I'm going to recall the same command that I used.
1:33:26.631–1:33:27.879
I'm going to press enter and then
1:33:27.879–1:33:29.358
I'm going to copy the right buffer key.
1:33:29.358–1:33:31.010
Then I'm going to copy the image PV.
1:33:31.010–1:33:33.023
Then I'm going to copy the Plexity API key.
1:33:33.023–1:33:34.278
I'm going to paste this in.
1:33:34.278–1:33:36.580
And then you can see that all the characters are saved
1:33:36.580–1:33:38.307
and we get a notification that all done.
1:33:38.307–1:33:40.488
So what I'm going to do now is I'm going to come to Kite
1:33:40.488–1:33:41.959
and I'm going to tell Kite that hey,
1:33:41.959–1:33:43.440
we've stored these three API keys.
1:33:43.440–1:33:44.508
He should do a smoke test
1:33:44.508–1:33:46.377
to make sure that all the keys are working.
1:33:46.377–1:33:47.182
So I'm going to copy this
1:33:47.182–1:33:48.149
and I'm going to give to Kite.
1:33:48.149–1:33:50.538
But because I made a mistake and did it twice,
1:33:50.538–1:33:51.700
I'm going to send him a
1:33:51.700–1:33:52.668
I'm going to write
1:33:52.668–1:33:54.670
I did make a mistake and added it twice
1:33:54.670–1:33:56.219
so you can ignore this entry.
1:33:56.219–1:33:58.124
Then I'm going to tell him to do a smoke test.
1:33:58.124–1:33:59.745
I hope that the first mistake that I did,
1:33:59.745–1:34:01.120
he would be able to just rectify it
1:34:01.120–1:34:02.642
and see that all the keys are working.
1:34:02.642–1:34:05.375
Hey, if you're finding value in this content that I'm creating,
1:34:05.375–1:34:06.510
hit the subscribe button,
1:34:06.510–1:34:07.593
subscribe to my channel,
1:34:07.593–1:34:12.337
and hit the like button for YouTube algorithm to keep pushing this video to other people that will be out there.
1:34:12.337–1:34:13.420
It doesn't cost you anything,
1:34:13.420–1:34:15.153
but it really does support my channel's growth.
1:34:15.153–1:34:17.429
A lot of work goes into crafting all these tutorials,
1:34:17.429–1:34:18.101
creating that,
1:34:18.101–1:34:19.033
creating the prompt,
1:34:19.033–1:34:21.567
and that is why I'm not even able to upload a video every week
1:34:21.567–1:34:24.464
because I test everything about 20 times before I push it out there.
1:34:24.464–1:34:27.126
And that is why I have to upload videos on a bi-weekly schedule
1:34:27.126–1:34:29.631
because a lot of work goes into crafting all these things.
1:34:29.631–1:34:30.705
And kite is done as well.
1:34:30.705–1:34:31.740
So he did a smoke test.
1:34:31.740–1:34:33.223
He verified that buffer works,
1:34:33.223–1:34:33.907
imageb works,
1:34:33.907–1:34:34.991
and perplexity works.
1:34:34.991–1:34:35.440
All right.
1:34:35.440–1:34:36.115
In the next stage,
1:34:36.115–1:34:37.285
we're going to put in prompt 20.
1:34:37.285–1:34:39.860
Prompt 20 is basically going to give us a trigger
1:34:39.860–1:34:41.406
where we can publish an idea,
1:34:41.406–1:34:42.243
create an idea,
1:34:42.243–1:34:43.209
render a content,
1:34:43.209–1:34:45.269
render a carousel and stuff like that.
1:34:45.269–1:34:46.513
So just copy this prompt here
1:34:46.513–1:34:48.380
and we're going to give this as well to Kite.
1:34:48.380–1:34:48.822
All right.
1:34:48.822–1:34:50.370
And Kite is done with that as well.
1:34:50.370–1:34:53.272
Now the next three prompts are basically going to be the design prompts.
1:34:53.272–1:34:55.167
This is going to wire the ideas tab,
1:34:55.167–1:34:56.147
the promotes tab,
1:34:56.147–1:34:57.454
and also the studio tab.
1:34:57.454–1:34:58.067
And after that,
1:34:58.067–1:34:59.906
we're going to basically test the whole thing.
1:34:59.906–1:35:02.458
So now we have this idea tab that has nothing there.
1:35:02.458–1:35:04.407
We have the studio tab that has nothing there.
1:35:04.407–1:35:06.480
We have the publish tab that also has nothing there.
1:35:06.480–1:35:07.552
And also the templates tab.
1:35:07.552–1:35:08.604
So what we're going to do is
1:35:08.604–1:35:10.803
we're going to give Kite these prompts to wire those up.
1:35:10.803–1:35:11.462
And after that,
1:35:11.462–1:35:12.577
we can test some functions
1:35:12.577–1:35:14.452
so that you guys can see what we are building.
1:35:14.452–1:35:17.036
So I'm going to give all these prompts to Kite sequentially
1:35:17.036–1:35:18.460
and then we can go to see the test.
1:35:18.460–1:35:18.868
All right.
1:35:18.868–1:35:21.157
So Kite is done with processing all those prompts.
1:35:21.157–1:35:21.359
Now,
1:35:21.359–1:35:23.232
I know we've been building for some time now.
1:35:23.232–1:35:26.849
Now, let's see a real demo of the end to end to make sure that everything is working.
1:35:26.849–1:35:31.834
So, I'm going to come back to the dashboard and I'm going to reload the dashboard and then let's go to the ideas tab.
1:35:31.834–1:35:37.360
Now, I see that Kite did a smoke test where he tested one agent tonight before you trusted.
1:35:37.360–1:35:40.160
So, he just did a smoke test to make sure that the ideas are working.
1:35:40.160–1:35:44.846
Now, let's click on generate ideas to see if the end to end flow with Atlas doing the research,
1:35:44.846–1:35:46.733
giving us some ideas is going to work.
1:35:46.733–1:35:49.317
So, I see a notification that he's doing the research.
1:35:49.317–1:35:50.927
Let's wait till the results come out.
1:35:50.927–1:35:51.922
And this worked very well.
1:35:51.922–1:35:55.120
So you can see that we have four ideas that was generated by Atlas.
1:35:55.120–1:35:57.998
Browser agents should verify, not just click.
1:35:57.998–1:36:00.659
Your agent needs a sandbox before it needs more tokens.
1:36:00.659–1:36:03.189
Now let's say that we want to promote one of these ideas.
1:36:03.199–1:36:05.593
So let's go with stop giving agents your whole app.
1:36:05.593–1:36:06.870
And let's click on promote.
1:36:06.880–1:36:07.621
And then here,
1:36:07.621–1:36:10.151
let's say we want to generate 10 carousel slides.
1:36:10.151–1:36:12.167
And I'm going to say research perlexity.
1:36:12.167–1:36:13.891
And then here perplexity is enabled
1:36:13.891–1:36:16.305
because we want to research perplexity is enabled
1:36:16.305–1:36:19.007
just to make sure that we test that the API key is working.
1:36:19.007–1:36:21.283
And I also added this option here steroid mode.
1:36:21.283–1:36:25.806
Now this is going to create more of like a power sort of words for the carousel slides.
1:36:25.806–1:36:27.470
So let's just enable those two as well.
1:36:27.470–1:36:29.384
And then let's go to write 10 slides.
1:36:29.384–1:36:30.611
And then this is working.
1:36:30.611–1:36:31.784
So Vera is triggered.
1:36:31.784–1:36:34.384
Vera is the agent that does the writing of the content.
1:36:34.384–1:36:38.284
So he's basically reading the idea and doing the research to make sure that everything is working.
1:36:38.284–1:36:42.419
Doing the research to make sure that she got us all the information that we need to write that content.
1:36:42.419–1:36:42.892
All right.
1:36:42.892–1:36:44.013
And Vera created the content.
1:36:44.013–1:36:46.999
So you can see here that we have all the 10 slides generated.
1:36:46.999–1:36:49.686
We have the cover text which says your agent is not dump
1:36:49.686–1:36:50.820
your packet is bloated
1:36:50.820–1:36:55.059
and then it basically writes all the content that would be on every slide that we have.
1:36:55.059–1:36:56.425
Now let's say we want to approve this
1:36:56.425–1:36:58.064
and we want to promote this into a template.
1:36:58.064–1:37:01.245
So let's click on approve and then let's pick a template in the next stage.
1:37:01.245–1:37:03.896
Now here we're going to be generating an Instagram carousel.
1:37:03.896–1:37:05.810
So we need a 4 is to5 aspect ratio.
1:37:05.810–1:37:07.074
Let's say just for this example
1:37:07.074–1:37:09.213
I'm going to go with this purple one that we have here.
1:37:09.213–1:37:10.300
I'm going to select that
1:37:10.300–1:37:12.040
and I'm going to click fit copy to this.
1:37:12.040–1:37:14.739
Now what is going to happen is that Vera is going to check
1:37:14.739–1:37:16.793
if the content the text that she generated
1:37:16.793–1:37:19.493
fits the number of characters that are in that template
1:37:19.493–1:37:22.545
because if the words are way more than what the template can fit
1:37:22.545–1:37:24.129
then the whole design gets ugly.
1:37:24.129–1:37:25.459
So what Vera is going to do is
1:37:25.459–1:37:28.696
Vera is going to read all the hardcoded text that are in the template
1:37:28.696–1:37:32.686
and try to adapt and fit the content that she generated to that particular template
1:37:32.686–1:37:34.719
and Vera basically readapted the content
1:37:34.719–1:37:37.048
that she generated to fit the template that we have.
1:37:37.048–1:37:40.530
So because the template that we chose has less words in the cover,
1:37:40.530–1:37:42.723
she just rewrote the package into agent.
1:37:42.723–1:37:46.987
Okay, package fat and then basically wrote all the content that would be on the slide.
1:37:46.987–1:37:48.551
Now I'm going to click on render now
1:37:48.551–1:37:49.953
to push this into the studio tab
1:37:49.953–1:37:51.678
so that we would see how this would look
1:37:51.678–1:37:53.188
on the template that we selected.
1:37:53.188–1:37:55.116
Now you see a notification open in studio.
1:37:55.116–1:37:56.861
Now we can click open in studio here
1:37:56.861–1:37:58.305
and this would open the slide
1:37:58.305–1:37:59.990
that we just generated in studio.
1:38:00.000–1:38:01.259
Now let's click on this
1:38:01.259–1:38:03.445
and you can see that just as Barard wrote
1:38:03.445–1:38:05.763
agent okay packet fat packet fat bad agent
1:38:05.763–1:38:07.552
run starts with too much context
1:38:07.552–1:38:09.075
whole ripple noise guesses
1:38:09.075–1:38:10.731
and then when you click on this
1:38:10.731–1:38:11.990
you can see all the text
1:38:12.000–1:38:12.908
that was generated
1:38:12.908–1:38:16.142
so assuming maybe we don't want to go with this text here for the cover
1:38:16.142–1:38:17.333
we want to just fine-tune
1:38:17.333–1:38:19.262
you can click on fine-tune the slide here
1:38:19.262–1:38:21.361
and this would basically load the slide here
1:38:21.361–1:38:22.950
and when we click on this here just
1:38:22.960–1:38:24.636
for an example I can write agents
1:38:24.636–1:38:26.001
not the problem packet fat
1:38:26.001–1:38:30.222
and then you can also move the slides up and down however you want to have them right
1:38:30.222–1:38:32.270
this is all possible in the fine tune tab
1:38:32.270–1:38:33.574
so I'm going to close this
1:38:33.574–1:38:34.629
I'm going to discard
1:38:34.639–1:38:37.840
the changes and then let's say we want to push this to Instagram
1:38:37.840–1:38:39.932
and this is the part that makes me nervous
1:38:39.932–1:38:43.441
and for that I created a dummy Instagram account called content vibe
1:38:43.441–1:38:46.149
so that when we push directly from our this would come
1:38:46.159–1:38:49.916
hopefully it would go through buffer and then this would come to this Instagram account
1:38:49.916–1:38:53.211
open the package again let me click on and then here by the way you can come here
1:38:53.211–1:38:56.000
and you can always change the template whenever you want to pick a
1:38:56.000–1:38:58.658
different template you can pick whatever template that you want
1:38:58.658–1:39:01.759
and then cadence would basically rewrite the content to fit that template.
1:39:01.759–1:39:02.731
Now, let me come here.
1:39:02.731–1:39:03.988
Let me click on post now.
1:39:03.988–1:39:07.503
And then here, because I've configured only Instagram, it's only going to show Instagram.
1:39:07.503–1:39:09.061
I'm going to click on Instagram only.
1:39:09.061–1:39:11.440
And it's going to warn me and I'm going to get notification.
1:39:11.440–1:39:12.880
Hey, are you sure you want to post this?
1:39:12.880–1:39:14.715
I'm going to say yes, post now.
1:39:14.715–1:39:16.639
And then this is going to be pushed to buffer.
1:39:16.639–1:39:22.248
And hopefully, if the end to end stream works, we should see the post coming directly to Instagram.
1:39:22.248–1:39:24.844
And we get notification that this has been pushed to buffer.
1:39:24.844–1:39:25.891
Let's click on okay.
1:39:25.891–1:39:28.618
And this gets put from the studio tab into the publish tab.
1:39:28.618–1:39:30.038
Once this is pushed to buffer.
1:39:30.038–1:39:32.134
Now let's go to Instagram and see if we'll see this post.
1:39:32.134–1:39:35.964
I'm going to come to my Instagram and hey you see this it posted directly to Instagram.
1:39:35.964–1:39:39.372
So you can see this exact post that we had and generated in our cadence
1:39:39.372–1:39:42.302
which is the first post that I've tested with this account.
1:39:42.302–1:39:46.970
And then you can see that all the text came just as we rendered them on the cadence website.
1:39:46.970–1:39:52.521
And then here as well we have the text that was generated also by the AI for the description section.
1:39:52.521–1:39:53.811
So this is working very well.
1:39:53.811–1:39:55.648
Now when I come back to the studio tab
1:39:55.648–1:39:56.873
and I go to the published
1:39:56.873–1:39:57.486
I should see
1:39:57.486–1:39:58.772
oh so this is not working.
1:39:58.772–1:40:00.367
So it renders that we have one all
1:40:00.367–1:40:02.552
but I do not see the slide that was generated.
1:40:02.552–1:40:03.437
So I'm telling kite
1:40:03.437–1:40:06.260
hey the publish tab is not displaying any published content.
1:40:06.260–1:40:07.370
I can see a count of one
1:40:07.370–1:40:09.281
which indicates that the item exists
1:40:09.281–1:40:11.377
but the page itself is completely empty.
1:40:11.377–1:40:12.925
So that kite should fix this for us
1:40:12.925–1:40:16.021
and hopefully after that we should see the content popping up here.
1:40:16.021–1:40:17.462
Now two more things that we're going to do.
1:40:17.462–1:40:19.322
I'm going to be show you how that tab would work
1:40:19.322–1:40:20.595
like on the configuration tab.
1:40:20.595–1:40:24.096
You would have the opportunity to be able to always edit your brand name,
1:40:24.096–1:40:24.971
edit your handle,
1:40:24.971–1:40:27.246
write a bit about what content you are creating
1:40:27.246–1:40:29.871
so that the agents would always read this to find ideas
1:40:29.871–1:40:31.680
and to generate your content for you.
1:40:31.680–1:40:35.167
And then you can also select the number of generation defaults that you want to have.
1:40:35.167–1:40:38.554
And for that, we're going to give Cadence this prompt here to wire the configuration tab.
1:40:38.554–1:40:41.930
But I'm going to wait till he's done with the back that we have on the publish tab.
1:40:41.930–1:40:45.146
And after that, we can go into the configuration tab and wire this in as well.
1:40:45.146–1:40:47.830
And then also whilst we are here we also do have the calendar tab
1:40:47.830–1:40:51.236
where whenever you schedule a post maybe you don't want to publish immediately
1:40:51.236–1:40:53.198
you want to schedule this as a particular date
1:40:53.198–1:40:55.840
when you come into your calendar you would also see the number
1:40:55.840–1:40:57.036
of posts that you have scheduled.
1:40:57.036–1:41:00.410
So here for instance you can see that the post that we posted today 24th of July
1:41:00.410–1:41:02.466
this is already showing up in the calendar tab.
1:41:02.466–1:41:04.087
All right so kite is done with that.
1:41:04.087–1:41:05.199
Let's reload the dashboard.
1:41:05.199–1:41:06.629
Then let's come to the publish tab.
1:41:06.639–1:41:06.948
Perfect.
1:41:06.948–1:41:09.839
And now you see that the post that was published is already here.
1:41:09.839–1:41:12.344
Now the next two things that we're going to work on like I said
1:41:12.344–1:41:15.602
is a configuration tab where you can basically alter the configurations here
1:41:15.602–1:41:17.806
and the agent would pick the new updates that you have
1:41:17.806–1:41:19.510
and for that I'm going to send kite to this
1:41:19.520–1:41:21.360
prompt to wire in the configuration tab.
1:41:21.360–1:41:21.735
All right.
1:41:21.735–1:41:23.962
So that means that when we come to the configuration put up,
1:41:23.962–1:41:24.689
let me reload this.
1:41:24.689–1:41:26.535
You can basically change your brand name,
1:41:26.535–1:41:27.063
the handle,
1:41:27.063–1:41:29.278
the number of slides that you want to default with,
1:41:29.278–1:41:31.072
if you want to have perlexity by default.
1:41:31.072–1:41:35.900
For instance, when I toggle this off and I save the configuration and I'm generating an idea,
1:41:35.900–1:41:38.470
it wouldn't use publicity toggle on as a default.
1:41:38.480–1:41:39.140
And after that,
1:41:39.140–1:41:41.476
we're basically done with the main aspect of the build.
1:41:41.476–1:41:46.857
I do have some other prompts that I'm giving to you as optional things that you can add to your setup to make it even more powerful.
1:41:46.857–1:41:48.716
Now what we're going to build now
1:41:48.716–1:41:51.195
is going to be the telegram remote control.
1:41:51.195–1:41:53.974
So if you remember we do have this studio tab that we created
1:41:53.974–1:41:56.810
which ideally we want to also use to be able to generate ideas
1:41:56.810–1:41:58.852
without us having to come to the dashboard.
1:41:58.852–1:42:01.349
Now the idea here is that whenever you want to create an idea
1:42:01.349–1:42:03.489
you can just come to the studio tab here in telegram
1:42:03.489–1:42:05.477
generate an idea promoted and stuff like that.
1:42:05.477–1:42:07.568
So for that we're going to give kite as prompt here
1:42:07.568–1:42:09.200
to set up the telegram remote control.
1:42:09.200–1:42:10.917
All right so kite says he's done
1:42:10.917–1:42:14.220
he built and verified the telegram remote so far as he could.
1:42:14.220–1:42:16.111
He also said that he did a smoke test.
1:42:16.111–1:42:17.540
So let's come to the studio tab
1:42:17.540–1:42:19.199
and then we can see that he did a test
1:42:19.199–1:42:22.172
where we can see the things that he triggered on the studio tab.
1:42:22.172–1:42:24.426
Now he did mention something that he couldn't run.
1:42:24.426–1:42:25.969
Let me scroll down to the bottom.
1:42:25.969–1:42:27.447
He said that he's he has a blocker.
1:42:27.447–1:42:30.408
So he wasn't able to restart the hermits gateway himself.
1:42:30.408–1:42:32.717
So he's telling us from a separate shell on the machine
1:42:32.717–1:42:33.486
we should run this
1:42:33.486–1:42:35.744
and then we should just tell him that it's restarted.
1:42:35.744–1:42:36.672
So let me copy this.
1:42:36.672–1:42:37.780
Let me come to PowerShell.
1:42:37.780–1:42:38.957
Let me clear the screen here.
1:42:38.957–1:42:40.000
Then let me paste in this.
1:42:40.000–1:42:41.642
Let me connect to the server again.
1:42:41.642–1:42:43.600
Then let me run the command he gave to us.
1:42:43.600–1:42:44.148
All right.
1:42:44.148–1:42:45.607
So this gateway has restarted.
1:42:45.607–1:42:48.184
So, I'm going to wait a bit for the gateway to completely boot.
1:42:48.184–1:42:50.387
And after that, I'm going to send a message to Kite restarted.
1:42:50.387–1:42:52.994
So, I'm going to now send Kite a message restarted.
1:42:52.994–1:42:56.033
And then hopefully he should be able to continue with what he was doing.
1:42:56.033–1:42:56.431
All right.
1:42:56.431–1:42:57.747
And he says that he's done.
1:42:57.747–1:42:59.795
So, basically, everything is wired in.
1:42:59.795–1:43:01.534
Now, let's go to the studio tab
1:43:01.534–1:43:05.440
and let's write something like let's forward slash let's run idea.
1:43:05.440–1:43:07.156
Now, let me check what the slash command was.
1:43:07.156–1:43:09.748
I don't remember if it was ideas or if it was idea.
1:43:09.748–1:43:10.616
So, it's ideas.
1:43:10.616–1:43:12.509
So, let's send forward slash ideas.
1:43:12.509–1:43:16.153
And then hopefully this should trigger the ideas tab on the studio right
1:43:16.153–1:43:17.610
in this work in this workown.
1:43:17.610–1:43:20.576
So we have fresh ideas stop asking one agent to do the whole job.
1:43:20.576–1:43:22.980
So when I come to the studio tab I also see the same thing.
1:43:22.980–1:43:25.751
So basically this is mirroring whatever that we have on our dashboard.
1:43:25.751–1:43:27.595
Now the reason why we are doing this is that
1:43:27.595–1:43:29.914
I want you to be able to build ideas and stuff like that
1:43:29.914–1:43:32.180
without you having to always come to the dashboard.
1:43:32.180–1:43:34.961
Now let's say we want to promote this idea/promote
1:43:34.961–1:43:37.544
and then let's put in the number of that idea 11.
1:43:37.544–1:43:38.838
Oops, I made a mistake.
1:43:38.838–1:43:40.249
I intended to type in 11.
1:43:40.249–1:43:41.878
And this was exactly correct.
1:43:41.878–1:43:43.818
He says that idea one was not found.
1:43:43.818–1:43:45.055
So let me do it again.
1:43:45.055–1:43:47.320
Forward/promotees and then let me send 11.
1:43:47.320–1:43:48.627
That was what I intended to send.
1:43:48.627–1:43:50.707
And then you can see that immediately we triggered this.
1:43:50.707–1:43:52.205
This is also live on the dashboard.
1:43:52.205–1:43:54.222
We can see that Vera is now promoted.
1:43:54.222–1:43:58.759
You can see that the idea was promoted and Vera is basically writing this idea that we have.
1:43:58.759–1:44:03.134
And we can see exactly the same thing here is actually done with the promotion of the idea.
1:44:03.134–1:44:04.708
So it worked on the dashboard.
1:44:04.708–1:44:06.614
We can see the ideas have been generated.
1:44:06.614–1:44:10.663
But on Telegram we did get this promotes field list attributes no get.
1:44:10.663–1:44:13.203
So I'm going to tell Kite to fix this as well for us.
1:44:13.203–1:44:14.733
So I'm giving Kite this prompt.
1:44:14.733–1:44:17.273
I tested the idea telegram command enabled perfectly.
1:44:17.273–1:44:20.538
However, when I promote an idea using the command promote idea number,
1:44:20.538–1:44:24.467
the idea is promoted correctly on the dashboard, but Telegram sends us this message.
1:44:24.467–1:44:26.446
So you see what the problem is and fix it for us.
1:44:26.446–1:44:26.865
All right.
1:44:26.865–1:44:27.830
So Kite says he's done.
1:44:27.840–1:44:28.498
Let's try this again.
1:44:28.498–1:44:30.754
I'm going to come back to this app and I'm going to trigger ideas.
1:44:30.754–1:44:34.188
Now what you can also do to make it a bit easier when you are promoting an idea,
1:44:34.188–1:44:37.186
you can also directly add the template that you want to use, right?
1:44:37.186–1:44:41.022
And then what I would suggest to you is that just use it to basically brainstorm ideas
1:44:41.022–1:44:43.105
and then promote it to come into the studio tab
1:44:43.105–1:44:47.270
and then once you're in the studio tab then you do all the stuff to do with the templates which
1:44:47.280–1:44:50.096
templates you want to use the edits that you want to do and stuff like that
1:44:50.096–1:44:53.568
but it would be better to use the telegram just for the idea generation and stuff like that
1:44:53.568–1:44:56.159
or maybe whenever you want to have an idea you can just come here and
1:44:56.159–1:44:59.760
tell which agent say hey give me some ideas on automation and stuff like that.
1:44:59.760–1:45:03.128
So let's say here for instance that we want to promote just an example.
1:45:03.128–1:45:06.070
Let me go to promote and let me put in oops 18.
1:45:06.080–1:45:09.801
Sorry there's a typo here promote 18 and then let me put in the templates.
1:45:09.801–1:45:12.394
Let me go to the templates tab just to get an example.
1:45:12.394–1:45:15.194
Let's say I want to go with the statement template.
1:45:15.194–1:45:19.662
Let me just type in statements then enter and then hopefully this will be produced then for us.
1:45:19.662–1:45:21.667
So weirdly it says template not found.
1:45:21.667–1:45:22.982
Let me see why this is the case.
1:45:22.982–1:45:25.831
Let me type in templates to see if I can get a list of templates.
1:45:25.831–1:45:29.072
So it appears that the names of the templates are different than what I see here.
1:45:29.072–1:45:30.641
So let's look for an example.
1:45:30.641–1:45:34.191
Let me say I want to go with a template called isometric.
1:45:34.191–1:45:34.644
Right?
1:45:34.644–1:45:36.865
Let me come back and promote this again.
1:45:36.865–1:45:39.148
And then let me go to isometric.
1:45:39.148–1:45:40.150
Now what you can also
1:45:40.150–1:45:47.632
tell kites to do for you later would be to basically make sure that the names that you see for the template stylist with the names that is on the dashboard so
1:45:47.632–1:45:50.107
that it becomes a bit easier for you to work with it.
1:45:50.107–1:45:52.799
I think the reason why there are different names is that
1:45:52.799–1:45:54.496
for instance tip deck has two words
1:45:54.496–1:45:57.130
and then for you to use it you have to use tip hyphen deck
1:45:57.130–1:45:58.183
but it's just a prompt
1:45:58.183–1:45:59.646
we can tell kite to just do this
1:45:59.646–1:46:01.109
and he would be able to correct
1:46:01.119–1:46:01.857
this for you as well
1:46:01.857–1:46:04.210
and then basically you can see that the slides are generated.
1:46:04.210–1:46:05.250
So when I come to this now
1:46:05.250–1:46:07.434
you can see that the template that we picked is here
1:46:07.434–1:46:09.722
and then we can see all the slides that are generated.
1:46:09.722–1:46:11.619
Now, what I think I can also do for you is
1:46:11.619–1:46:14.643
I can just give you the prompts to correct this inconsistency
1:46:14.643–1:46:19.030
where we have the temp name been different than the templates that we can use in Telegram.
1:46:19.040–1:46:20.734
And then I'm also going to give you this prompt
1:46:20.734–1:46:22.427
that we can just give to Kite to fix this for us.
1:46:22.427–1:46:24.059
So, we're just going to tell Kite,
1:46:24.059–1:46:28.837
hey, the template names shown on the dashboard do not match the names accepted by promote command.
1:46:28.837–1:46:31.319
For instance, on the dashboard when I type statement,
1:46:31.319–1:46:32.753
it tells me template not found.
1:46:32.753–1:46:32.880
So,
1:46:32.880–1:46:34.231
he should make sure that he fixes this.
1:46:34.231–1:46:36.373
Now I'm going to provide all these prompts to you
1:46:36.373–1:46:37.444
so that you guys can also
1:46:37.444–1:46:38.569
if you have the same issue
1:46:38.569–1:46:40.122
you can just copy paste the prompts
1:46:40.122–1:46:42.264
and your agent should be able to fix this for you.
1:46:42.264–1:46:47.017
Now whilst kite is building and correcting the issue with the templates name not matching telegram
1:46:47.017–1:46:48.964
there is one more thing that we want to do.
1:46:48.964–1:46:52.534
I just want to make good use of the time whilst we are waiting for kite to be done.
1:46:52.534–1:46:59.321
So currently if you remember whenever we want to access a dashboard we do this through what is called SSH tunneling right
1:46:59.321–1:47:04.140
where we put in this command here SSH minus N minus L and all the name and stuff like that
1:47:04.140–1:47:05.440
we press enter and then
1:47:05.440–1:47:10.644
we put in the password of our user account and then only with that the SSH handling is activated
1:47:10.644–1:47:12.845
that we are able to access the dashboard
1:47:12.845–1:47:17.715
but what you can do which is even a better way to access the dashboard is to use tail skill.
1:47:17.715–1:47:21.801
Now what tails skill does is that tilk skill gives you with which you can access the dashboard
1:47:21.801–1:47:24.773
without you having to go through SSA tunneling and stuff like that.
1:47:24.773–1:47:27.800
The idea is that you going to download the tail skill application
1:47:27.800–1:47:30.882
connect your account and right there you get a unique with that URL
1:47:30.882–1:47:33.517
you would be able to connect to the dashboard very easily
1:47:33.517–1:47:35.896
without you having to put in your password every time.
1:47:35.896–1:47:41.560
The best part about tail skill in the setup is that on every PC for instance in my case I have a desktop that I'm working with and
1:47:41.560–1:47:43.429
I have a MacBook I have my mobile phone and
1:47:43.429–1:47:45.189
a whole lot of devices that I work with.
1:47:45.199–1:47:48.331
Now on any of these devices that I have installed tail skill on
1:47:48.331–1:47:49.621
and connected my account
1:47:49.621–1:47:51.218
I can also access the dashboard
1:47:51.218–1:47:54.227
without me having to go through all the terminal every time
1:47:54.227–1:47:55.947
especially on your mobile phone.
1:47:55.947–1:47:56.598
Wherever you are
1:47:56.598–1:47:58.596
you can work with the dashboard on your mobile phone
1:47:58.596–1:48:00.408
so long as you have the tail skill app installed
1:48:00.408–1:48:01.430
and connect your account.
1:48:01.440–1:48:01.969
Now to do this
1:48:01.969–1:48:03.605
we're going to download the application
1:48:03.605–1:48:04.664
that is called tail skill.
1:48:04.664–1:48:06.080
Now this is completely for free.
1:48:06.080–1:48:08.653
I have seven servers currently running on tail skill
1:48:08.653–1:48:10.290
and I do not pay anything for this.
1:48:10.290–1:48:11.293
Now when you are here
1:48:11.293–1:48:12.768
just come to this section here
1:48:12.768–1:48:14.007
and click on get started.
1:48:14.007–1:48:15.646
Now when you click on get started
1:48:15.646–1:48:16.921
you can basically sign up
1:48:16.921–1:48:17.831
create an account
1:48:17.831–1:48:18.802
everything is free
1:48:18.802–1:48:20.927
you you would not have to pay for anything.
1:48:20.927–1:48:22.779
Now once the installation is complete
1:48:22.779–1:48:23.822
you can then come here
1:48:23.822–1:48:25.153
and download sales skills.
1:48:25.153–1:48:26.300
So on their homepage.com
1:48:26.300–1:48:28.049
just click on the download button here
1:48:28.049–1:48:31.108
and then this is going to download the tail skill application here.
1:48:31.108–1:48:33.171
Select whatever operating system that you're working with.
1:48:33.171–1:48:34.584
In my case I'm working with Windows.
1:48:34.584–1:48:38.272
So I'm going to click on the Windows and download the Windows application for TK skill.
1:48:38.272–1:48:42.977
If you're using the interface for Mac OS is even way better than the interface for Windows.
1:48:42.977–1:48:44.408
So I'm going to open the installer.
1:48:44.408–1:48:47.261
I'm going to accept the terms and conditions and then just click on install.
1:48:47.261–1:48:49.471
And the tail scale application is going to be completed.
1:48:49.471–1:48:55.093
Looks like the task that I gave to Kite to basically make sure that the template matches with the was a pretty heavy tax.
1:48:55.093–1:48:57.585
He's been working for close to 15 minutes now.
1:48:57.585–1:48:58.663
And he's still not done.
1:48:58.663–1:49:03.054
Now once the tail installation is completed on my end, I can basically click on close here.
1:49:03.054–1:49:07.199
And then when I come down here in Windows, you're going to see a small symbol here.
1:49:07.199–1:49:11.430
Yeah, this one here for tail skill with some I think about eight or seven dots.
1:49:11.440–1:49:11.685
Right?
1:49:11.685–1:49:12.856
When you right click on this
1:49:12.856–1:49:15.299
then you would have to sign in into your tailskll account.
1:49:15.299–1:49:17.357
Now once you are signing into your tailskll account
1:49:17.357–1:49:19.703
you are basically done with the installation on tailskll.
1:49:19.703–1:49:21.834
Now when you loging into your tail skill account
1:49:21.834–1:49:25.679
you would see all the devices that are currently connected to your tail skill account.
1:49:25.679–1:49:28.382
And with all these devices you're going to get a unique URL
1:49:28.382–1:49:31.648
that you would be able to use to access the server that we are building.
1:49:31.648–1:49:33.632
So now the tail skill application is installed.
1:49:33.632–1:49:34.946
We've created a tail skill account
1:49:34.946–1:49:37.040
or if you already have an account this would be perfect.
1:49:37.040–1:49:40.774
What we would have to then do is to tell kites to install tailskll for us
1:49:40.774–1:49:45.602
and bind the dashboard or the cadence dashboard that we have built to our tail skill server
1:49:45.602–1:49:48.960
and with that we would be able to access the dashboard directly
1:49:48.960–1:49:50.794
from the URL directly on the browser
1:49:50.794–1:49:54.094
without us having to go through the part where the sit tunneling.
1:49:54.094–1:49:56.595
So let me wait for kite to finish the task that he's doing.
1:49:56.595–1:49:57.738
I think he's almost done.
1:49:57.738–1:50:02.105
So currently you can see that he's browsing to make sure that all the changes that he did are working
1:50:02.105–1:50:06.259
and then once he's done we can basically give Kite the command to do the tail skill wiring for us
1:50:06.259–1:50:07.760
and then we would be done with this
1:50:07.760–1:50:08.182
tutorial.
1:50:08.182–1:50:08.529
And hey
1:50:08.529–1:50:10.090
I'm working on an auto installer
1:50:10.090–1:50:11.998
that is going to install all this for you
1:50:11.998–1:50:13.097
in a matter of minutes.
1:50:13.097–1:50:14.258
So just sign up to my membership.
1:50:14.258–1:50:15.642
You're going to get a unique key
1:50:15.642–1:50:17.717
which would you'll be able to use the installer
1:50:17.717–1:50:19.473
and I will also create a tutorial for you
1:50:19.473–1:50:20.964
on how to use the installer as well
1:50:20.964–1:50:21.815
when this is ready.
1:50:21.815–1:50:24.628
And now finally kite is done with that big job.
1:50:24.628–1:50:31.065
The names of the templates that we see on the dashboard here would tally with the names that we see on Telegram.
1:50:31.065–1:50:33.924
Going back to the tail skill points, Kite is done with the work.
1:50:33.924–1:50:37.654
So, we can basically give Kite the prompt to work on the tail skill connection for us.
1:50:37.654–1:50:38.169
And for that,
1:50:38.169–1:50:39.714
I'm going to give Kite this prompt here.
1:50:39.714–1:50:40.668
I'm telling Kite,
1:50:40.668–1:50:40.923
hey,
1:50:40.923–1:50:43.085
set up tail skill access to the dashboard
1:50:43.085–1:50:45.503
so I can securely access it from my own devices
1:50:45.503–1:50:46.775
without the SSA tunnel.
1:50:46.775–1:50:48.623
And I'm just giving him the guide
1:50:48.623–1:50:49.924
on how I want this to be.
1:50:49.924–1:50:50.820
And when he's done,
1:50:50.820–1:50:52.053
he's going to give us a link
1:50:52.053–1:50:53.397
that we're going to use click
1:50:53.397–1:50:54.854
to bind this particular server
1:50:54.854–1:50:56.086
to our tail skill account.
1:50:56.086–1:50:57.500
So let make sure I'm on kite stop
1:50:57.500–1:50:59.023
and let me send this prompt to kite
1:50:59.023–1:50:59.513
to do this.
1:50:59.513–1:51:00.856
And then once we are done with this,
1:51:00.856–1:51:02.719
then we are basically at the end of the tutorial.
1:51:02.719–1:51:03.734
I'm already exhausted.
1:51:03.734–1:51:05.843
I've been recording for more than 10 hours.
1:51:05.843–1:51:07.303
So I'm getting tired myself.
1:51:07.303–1:51:07.848
All right.
1:51:07.848–1:51:08.669
So Kite is done.
1:51:08.669–1:51:09.955
He's given us this login link
1:51:09.955–1:51:12.260
that we're going to use to authenticate our account
1:51:12.260–1:51:13.439
to this particular server
1:51:13.439–1:51:14.297
that we have built.
1:51:14.297–1:51:15.687
So I'm going to open a new tab
1:51:15.687–1:51:17.803
and just put in the URL that Kite gave to us.
1:51:17.803–1:51:18.418
And after that,
1:51:18.418–1:51:20.075
all you're going to have to do is to connect
1:51:20.075–1:51:21.684
and sign in into your tail skill account.
1:51:21.684–1:51:25.205
Now, this is going to bring you to a page here where tailskll is going to ask you,
1:51:25.205–1:51:28.346
hey, I want to connect the device cadence dashboard to your computer.
1:51:28.346–1:51:30.265
So, in my case, computer mechanic.com tailnet.
1:51:30.265–1:51:33.422
I'm going to click on connect and then the login is accessible.
1:51:33.422–1:51:36.593
So, our device has now been bound to our tail skill account.
1:51:36.593–1:51:38.851
So, I'm going to come here and I'm going to tell kite done
1:51:38.851–1:51:42.435
because he says that when I'm done with authentication, I should just reply we're done.
1:51:42.435–1:51:42.758
Right.
1:51:42.758–1:51:44.457
So, kite is done with that as well.
1:51:44.457–1:51:47.853
He also said that he did a public IP testing and all failed to connect
1:51:47.853–1:51:51.794
which means that the dashboard can only be accessed through the tail skill IP.
1:51:51.794–1:51:53.626
Now let me be sure that this is working.
1:51:53.626–1:51:54.743
Let me reload the dashboard.
1:51:54.743–1:51:57.375
Here we have the SSA tunneling working which is expected.
1:51:57.375–1:52:00.488
I'm going to come to PowerShell and I'm going to kill the SSH connection
1:52:00.488–1:52:02.546
and then I'm going to come back to the dashboard
1:52:02.546–1:52:05.448
and I'm going to try to access the dashboard through the SSA tunnel
1:52:05.448–1:52:07.517
and you see that I get the sites cannot be reached.
1:52:07.517–1:52:12.075
Now whenever I want to connect to the dashboard I can just use this URL that Kite gave to us.
1:52:12.075–1:52:13.811
So let me copy the dashboard URL.
1:52:13.811–1:52:15.199
Let me paste in this URL.
1:52:15.199–1:52:15.780
And then hooray.
1:52:15.780–1:52:20.675
You see that we can access the dashboard without us having to go through the complication with the SSA tunnel.
1:52:20.675–1:52:25.752
Now tails skill works by setting sort of a local viva or on the PC on which it's installed.
1:52:25.752–1:52:30.623
So if you have any other VPN services running, you would have to stop this VPN before tail skill can work
1:52:30.623–1:52:35.093
because if you have two parallel services running, then tails scale would not be able to work.
1:52:35.093–1:52:40.227
So make sure that you always stop any other running so that tail scale would be able to deploy the server for you.
1:52:40.227–1:52:42.470
So this brings us to the end of the tutorial.
1:52:42.480–1:52:43.623
Let me walk you through shortly
1:52:43.623–1:52:44.326
what we have built.
1:52:44.326–1:52:45.574
We have the dashboard tab
1:52:45.574–1:52:48.485
where we can see and all the things that the agents are doing
1:52:48.485–1:52:49.257
an activity log
1:52:49.257–1:52:51.099
all pulled from the agents database.
1:52:51.099–1:52:52.812
Now when you come to the ideas tab,
1:52:52.812–1:52:55.504
we can always create any new idea by picking your idea
1:52:55.504–1:52:58.013
and the agents at last is going to pick up that idea
1:52:58.013–1:52:59.787
and build it into a content for you.
1:52:59.787–1:53:01.895
And then also whenever you don't have any idea,
1:53:01.895–1:53:04.003
you can just come and click on the generate idea
1:53:04.003–1:53:05.679
and an idea will be generated for you.
1:53:05.679–1:53:07.202
Whenever we want to promote an idea,
1:53:07.202–1:53:08.369
we can just click on promote
1:53:08.369–1:53:10.551
and this will be promoted for us into the studio tab.
1:53:10.551–1:53:13.211
And whenever we want to push any of the post to Instagram,
1:53:13.211–1:53:14.683
Tik Tok, whatever we want to do.
1:53:14.683–1:53:15.781
When we click on post now,
1:53:15.781–1:53:19.128
this will directly be pushed to the social media platform that we want to use.
1:53:19.128–1:53:20.174
And then when this is done,
1:53:20.174–1:53:21.838
this will bring the post to the publish tab
1:53:21.838–1:53:24.786
so that you can always refer to it whenever you want to do something with it.
1:53:24.786–1:53:26.038
We also have a templates tab
1:53:26.038–1:53:27.726
that is packed with a lot of templates
1:53:27.726–1:53:28.760
currently in the setup
1:53:28.760–1:53:30.066
that you can always pick from
1:53:30.066–1:53:31.482
and develop any carousel slide
1:53:31.482–1:53:32.625
that you want to develop.
1:53:32.625–1:53:34.597
And then we have the dedicated agents tab
1:53:34.597–1:53:36.454
where we see all the agents that we have
1:53:36.454–1:53:37.208
their heat map.
1:53:37.208–1:53:38.198
You have your calendar
1:53:38.198–1:53:40.386
where you can see the post that you have scheduled,
1:53:40.386–1:53:42.001
post that you have already published
1:53:42.001–1:53:43.043
and also upcoming post.
1:53:43.043–1:53:45.447
A configuration tab where you can configure your brand name,
1:53:45.447–1:53:48.322
the things that you want the agents to work on when they are generating the
1:53:48.322–1:53:50.867
and a docs tab where you can basically understand the dashboard.
1:53:50.867–1:53:54.228
Now I do have way more prompts that I'm going to provide to you that you can also use
1:53:54.228–1:53:56.034
that I would highly recommend that you use.
1:53:56.034–1:53:58.000
For instance, for the agent login activity,
1:53:58.000–1:54:01.189
the agents are going to log in the database whenever they perform a task.
1:54:01.199–1:54:02.707
But if you run this for a whole year,
1:54:02.707–1:54:04.786
then your database is going to get so cluttered.
1:54:04.786–1:54:06.679
So you can set up sort of a weekly cleanup
1:54:06.679–1:54:09.030
where the agents are going to look for activities
1:54:09.030–1:54:10.234
that are older than 7 days
1:54:10.234–1:54:11.783
and basically clean all of them.
1:54:11.783–1:54:13.678
And I also included some additional problems
1:54:13.678–1:54:15.224
that you can use to basically amplify
1:54:15.224–1:54:16.221
the setup that you have.
1:54:16.221–1:54:19.669
I know it's a lengthy tutorial, but I wanted to go through everything that we are building,
1:54:19.669–1:54:22.381
the thought process that I have when I'm building something like this.
1:54:22.381–1:54:26.109
And also you see me troubleshoot all the errors that we have so that when you have a similar situation,
1:54:26.109–1:54:27.307
you can do the same thing as well.
1:54:27.307–1:54:29.525
If you found the video helpful, please hit the like button.
1:54:29.525–1:54:33.119
Subscribe to my channel to see more like this.
0:00.160–0:03.066
This is a full social media content machine.
這是一套完整的社群媒體內容生產機器。
0:03.066–0:07.588
Four AI agents that research, write, design, and publish posts for you.
四個 AI 代理,為你進行研究、撰寫、設計和發布貼文。
0:07.588–0:08.961
Watch it work right now.
現在就來看看它是如何運作的。
0:08.961–0:10.072
This content idea,
這個內容構想,
0:10.072–0:12.850
five signs your agent stack is overengineered,
「你的代理堆疊過度設計的五大徵兆」,
0:12.850–0:16.044
is turning itself into a finished Instagram carousel.
正在自動轉化為完成的 Instagram 輪播貼文。
0:16.044–0:17.293
Atlas found the angle
Atlas 找到了切入角度
0:17.293–0:18.820
Vera is writing the slides
Vera 正在撰寫投影片內容
0:18.820–0:20.138
and in about 2 minutes,
大約兩分鐘後,
0:20.138–0:22.845
Kite renders all of them with just a few clicks.
Kite 只需點擊幾下就能渲染所有內容。
0:22.845–0:24.024
And here's the thing,
重點在於,
0:24.024–0:26.448
nothing goes online without your approval.
沒有任何內容會在未經你批准的情況下發布。
0:26.448–0:27.992
You check the words first
你先檢查文字內容
0:27.992–0:29.904
and you approve the final post.
然後批准最終的貼文。
0:29.904–0:31.165
The agents do the work
代理們負責執行工作
0:31.165–0:32.426
and you keep control.
而你掌握最終控制權。
0:32.426–0:33.974
Today we are building the entire thing
今天我們將從頭開始建構整個系統
0:33.974–0:34.699
from the scratch.
從零開始。
0:34.699–0:36.813
Every prompt and template is linked below.
每個提示詞和範本都連結在下方。
0:36.813–0:38.960
If you'd rather skip the 4 plus hours build,
如果你不想花四個多小時來建構,
0:38.960–0:43.315
there is also an auto installer that can set up everything for you in a matter of minutes.
還有一個自動安裝程式,可以在幾分鐘內為您設定一切。
0:43.315–0:45.556
Hey, Larry here and welcome to the channel.
嗨,我是 Larry,歡迎來到這個頻道。
0:45.556–0:47.399
Today we're building Cadence,
今天我們要建構 Cadence,
0:47.399–0:51.520
a content operations autopilot run by four specialists you just saw.
這是一個由您剛才看到的四位專家運行的內容作業自動駕駛系統。
0:51.520–0:54.538
Packed with over 50 beautifully designed templates,
內含超過 50 個精美設計的範本,
0:54.538–0:56.751
Atlas researches and posts your ideas.
Atlas 會研究並發布您的點子。
0:56.751–1:00.284
Vera writes every slide, caption, and hashtag for you.
Vera 會為您撰寫每一張投影片、標題和標籤。
1:00.284–1:02.296
Then Kite does the finished designs.
接著 Kite 會完成設計。
1:02.296–1:05.818
Once this is done, Orion ships them to your social media platform.
一旦完成,Orion 就會將它們發布到您的社群媒體平台。
1:05.818–1:07.806
And above them all is an orchestrator agent
而在它們之上是一個協調代理程式
1:07.806–1:09.904
that can take your orders in the Telegram chat
可以透過 Telegram 聊天接收您的指令
1:09.904–1:11.892
and route every job down the [music] chain.
並將每項工作路由到 [音樂] 鏈的下游。
1:11.892–1:14.205
If you post content regularly, you know the hassle.
如果您定期發布內容,您會知道其中的麻煩。
1:14.205–1:16.756
You stare at a blank page hunting for [music] an idea.
您盯著空白頁面尋找 [音樂] 點子。
1:16.756–1:18.052
When you finally get one,
當您終於想到一個時,
1:18.052–1:19.287
now comes the research,
接下來就是研究,
1:19.287–1:20.954
then writing slide after slide.
然後一張接一張地撰寫投影片。
1:20.954–1:23.256
They're making it look good in a template
它們在範本中看起來很不錯
1:23.256–1:26.642
followed by the caption, the hashtag, the scul and all that.
接著是標題、標籤、縮圖和所有這些。
1:26.642–1:29.524
Now, Cadence orchestrates and eats up the entire chain
現在,Cadence 協調並吞噬整個鏈
1:29.524–1:30.714
in a matter of minutes.
短短幾分鐘內即可完成。
1:30.714–1:33.309
You tell the agents once what your brand is about.
你只需向代理程式說明一次你的品牌定位。
1:33.309–1:36.664
From then on, one click generates fresh post ideas for you
從那時起,只需點擊一次,就能為你產生全新的貼文構想。
1:36.664–1:38.621
or you type your own rough thought
或者你可以輸入自己的初步想法。
1:38.621–1:42.326
and they build the entire story for you from idea to publish post
它們會為你從構想開始,一路建構出完整的貼文故事。
1:42.326–1:43.934
all handled in a few clicks.
整個過程只需點擊幾下即可處理完畢。
1:43.934–1:45.413
Then your post is online.
接著,你的貼文就會上線。
1:45.413–1:48.545
And here is where this build beats every other AI slide tool.
而這裡正是這個建構功能擊敗其他所有 AI 簡報工具的地方。
1:48.545–1:51.426
Normally, you would generate slides with an image model
通常,你會使用影像模型來產生簡報投影片。
1:51.426–1:53.520
and you would pay for every single slide.
並且你需要為每一張投影片付費。
1:53.520–1:58.149
And even fixing one word means you pay again to regenerate the whole image.
即使只修改一個字,你也得再次付費重新產生整張影像。
1:58.159–2:01.269
Cadence doesn't touch an [music] image model at all.
Cadence 完全不會觸及影像模型。
2:01.269–2:07.155
Every slide is built from a beautifully designed HTML template with real code, not with AI pixels.
每一張投影片都是基於精心設計的 HTML 範本,使用真實程式碼建構而成,而非由 AI 像素組成。
2:07.155–2:08.657
So, every edit is free.
因此,每一次編輯都是免費的。
2:08.657–2:14.757
You can grab any elements, change the text, the size, the position, and it rerenders it in a matter of seconds.
你可以抓取任何元素,修改文字、大小或位置,它會在短短幾秒內重新渲染。
2:14.757–2:18.493
Meaning you have unlimited revisions with zero cost per slide.
這意味著你可以無限制地進行修改,且每張投影片的費用為零。
2:18.493–2:20.422
So your money goes into the words,
所以,你的資金是用在文字上,
2:20.422–2:21.731
not into the pictures.
而不是用在圖片上。
2:21.731–2:24.944
The dashboard shows the whole operation in one glance.
儀表板能讓你一眼掌握整個運作情況。
2:24.944–2:27.726
Every number pulled from your own agent's database
每個數據都來自於你自己代理程式的資料庫。
2:27.726–2:29.473
where every agent logs its name,
每個代理程式都會記錄其名稱,
2:29.473–2:30.832
the task they performed,
他們執行的任務,
2:30.832–2:32.061
the AI model they used,
使用的 AI 模型,
2:32.061–2:34.400
and exactly when they performed that task.
以及執行該任務的確切時間。
2:34.400–2:36.800
So there are no fake metrics anywhere.
因此,任何地方都沒有虛假的指標數據。
2:36.800–2:38.358
My favorite part is the studio.
我最喜歡的部分是工作室。
2:38.358–2:41.498
You can edit every slice text or grab a single element,
您可以編輯每個切片文字或抓取單一元素,
2:41.498–2:43.311
move it, resize it, rewrite it,
移動它、調整大小、重寫它,
2:43.311–2:48.544
plus even the phone preview, a template library, and some that carousel into a video rule.
此外還有手機預覽、範本庫,以及將輪播轉為影片規則的功能。
2:48.544–2:54.051
We would also build a published archive where you can see all the posts that you've generated so far and published,
我們還會建立已發布的存檔,您可以在其中查看截至目前為止所生成並發布的所有貼文,
2:54.051–2:57.181
and also a calendar tab where every schedule content can be seen.
以及一個日曆標籤頁,用於查看所有排程內容。
2:57.181–3:01.753
We would also have a configurations page which would hold your brand name, handle, voice,
我們還會有設定頁面,用於存放您的品牌名稱、帳號、語氣,
3:01.753–3:04.080
and it flows into every word the agent writes.
並影響代理程式撰寫的每個字詞。
3:04.080–3:07.618
Now, let me give you a live demo and walk through of what we are building today.
現在,讓我為您進行即時示範,並帶您 walkthrough 我們今天要建構的內容。
3:07.618–3:11.233
So on the dashboard you see the total number of runs that the agents have performed.
因此,在儀表板上您可以看到代理程式執行的總運行次數。
3:11.233–3:14.138
The number of ideas that we have generated in this setup.
我們在此設定中生成的想法數量。
3:14.138–3:15.920
The number of posts that we have published.
我們已發布的貼文數量。
3:15.920–3:18.803
In my case I just have one because I used this to test for the tutorial
在我的情況下,我只有一個,因為我用它來測試這個教學影片
3:18.803–3:21.119
and the percentage of runs that have been successful.
以及成功運行所佔的百分比。
3:21.119–3:25.204
Now here we have an agent activity that is pulled from the agents activity database.
現在這裡顯示的是從代理程式活動資料庫中提取的代理程式活動。
3:25.204–3:29.389
So you can see currently on Friday I did a lot with the agents because I was building the setup
所以你可以看到,目前在星期五我對代理程式做了很多操作,因為我正在建置設定
3:29.389–3:31.812
and that is why you see that this is basically going up
這就是為什麼你會看到這個基本上是在上升
3:31.812–3:36.107
and on the right side you can also see which of the agents have currently the largest workload.
而在右側你也可以看到哪些代理程式目前擁有最大的工作負載
3:36.107–3:39.106
So in my case for instance these are Vera who is my content writer
所以在我的情況下,例如這些是 Vera,她是我的內容撰寫者
3:39.106–3:43.350
and Kite who is a developer because those are the two that were doing most of the work so far.
以及 Kite,他是一名開發人員,因為到目前為止是這兩位做了最多工作
3:43.360–3:44.561
Now when you come down here
現在當你往下捲動到這裡
3:44.561–3:47.236
you can also see a summary of what the agents have been doing
你也可以看到代理程式所做工作的摘要
3:47.236–3:49.146
all pulled from the agent login database.
這些都是從代理程式登入資料庫中提取的
3:49.146–3:51.160
Now the magic happens in the ideas tab.
現在真正的魔法發生在「想法」標籤頁中
3:51.160–3:53.948
Here you can see a few ideas that the agents generated for me
在這裡你可以看到代理程式為我生成的一些想法
3:53.948–3:55.484
because I'm doing stuff with AI.
因為我正在進行與 AI 相關的專案
3:55.484–3:59.440
So I just made them generate ideas around AI automation and stuff like that.
所以我只是讓它們針對 AI 自動化等相關事物生成想法
3:59.440–4:02.230
Now here you can put in your own idea whatever idea that you have
現在你可以在這裡輸入你自己的任何想法
4:02.230–4:06.093
or when you don't even have an idea you can tell the agent hey generate some ideas for me.
或者即使你還沒有想法,你也可以告訴代理程式:嘿,為我生成一些想法
4:06.093–4:07.904
So let me just click on generate some ideas
所以讓我點擊「生成一些想法」
4:07.904–4:10.077
and let me see what ideas are going to be generated.
並讓我看看會生成哪些想法
4:10.077–4:11.495
So here you can see that Atlas
所以你可以在這裡看到 Atlas
4:11.495–4:12.559
who is our researcher
他是我們的研究員
4:12.559–4:14.508
is the one that is going to look for ideas
是負責尋找想法的人
4:14.508–4:15.867
around what we are building
針對我們正在建構的事物以及
4:15.867–4:17.581
and what we haven't posted before.
以及我們之前未曾發布的內容。
4:17.581–4:19.203
And this is going to trigger Atlas
這將觸發 Atlas
4:19.203–4:20.245
who is our researcher
也就是我們的研究員
4:20.245–4:22.156
who is going to basically look for ideas
基本上負責尋找點子
4:22.156–4:23.025
of what we can post
關於我們可以發布的內容
4:23.025–4:25.110
based on what the agents have learned so far
基於代理程式迄今所學到的
4:25.110–4:26.326
about what I'm building.
關於我正在建構的東西。
4:26.326–4:28.646
And then you can see that they generated five ideas.
然後你可以看到他們生成了五個點子。
4:28.646–4:31.590
So the first idea is automation fails at the handoff.
第一個點子是自動化在交接時失效。
4:31.600–4:34.966
We also have some ideas like your agent should run the test it claims to fix
我們也有一些點子,例如你的代理程式應該執行它聲稱要修復的測試
4:34.966–4:38.056
which is going to be a good one because the agents hallucinate a lot.
這會是個好點子,因為代理程式經常產生幻覺。
4:38.056–4:42.390
Now just to demonstrate an example let's say I want to write some slides on this idea.
現在僅為了示範一個例子,假設我想針對這個點子撰寫一些投影片。
4:42.400–4:44.325
All I have to do is to just click on promote
我所要做的就是點擊「提升」
4:44.325–4:46.307
and then here I can put in a number of slides
然後在這裡我可以輸入想要加入的投影片數量
4:46.307–4:47.280
that I want to put in.
我想要加入的數量。
4:47.280–4:49.170
So for instance I want to go for eight slides
例如,我想設定為八張投影片
4:49.170–4:50.903
10 or whatever number you want to go for.
十張或任何你想要的數量。
4:50.903–4:53.054
So what you have to remember is that the first slide
所以你必須記住的是,第一張投影片
4:53.054–4:54.284
is always going to be the hook
永遠會是吸引注意力的開場
4:54.284–4:56.179
and then the last slide is going to be the CTA.
然後最後一張投影片將是行動呼籲。
4:56.179–4:58.977
So the main content is going to be between the hook and the CTA.
因此,主要內容會放在開場鉤子和行動呼籲之間。
4:58.977–5:05.199
So here if I go for 10 slides or let's say eight slides that it means that I'm going to have six content slides with one being the hook and
所以這裡如果我選擇 10 張投影片,或者說 8 張投影片,這意味著我將擁有 6 張內容投影片,其中一張是開場鉤子,而
5:05.199–5:06.047
one being the CTA.
一張是行動呼籲。
5:06.047–5:07.268
And then here I can decide
然後在這裡我可以決定
5:07.268–5:09.129
if the agent should do a deep research.
代理人是否應該進行深度研究。
5:09.129–5:09.920
So for instance
所以舉例來說
5:09.920–5:11.744
if I click research with perplexity
如果我點擊使用 Perplexity 進行研究
5:11.744–5:15.090
then the agents are going to do a deep research through perplexity
代理人將會透過 Perplexity 進行深度研究
5:15.090–5:17.401
to really find the right content for this job.
以真正找到這份工作所需的正確內容。
5:17.401–5:19.922
And then here I also built in a sort of a steroids mode
然後在這裡我也內建了一種類似「類固醇模式」的功能
5:19.922–5:22.619
where the agents are going to write more punchy slides.
代理人將會撰寫更具衝擊力的投影片。
5:22.619–5:23.897
And then when you are done
然後當你完成時
5:23.897–5:25.965
you can just click on write eight slides.
你只需點擊撰寫 8 張投影片。
5:25.965–5:29.501
Now what is going to happen is that basically Atlas is done with his job.
接下來會發生的事情是,基本上 Atlas 已經完成他的工作。
5:29.501–5:32.903
Atlas did the research right and now Vera is going to take over.
Atlas 完成了研究,現在 Vera 將接手。
5:32.903–5:36.199
Vera is the AI agent that does the writing of the content.
Vera 是負責撰寫內容的 AI 代理人。
5:36.199–5:39.765
So let's wait till Vera is done with the research and have the content ready.
所以讓我們等到 Vera 完成研究並準備好內容。
5:39.765–5:40.397
All right.
好的。
5:40.397–5:42.061
So Vera is done with the research.
所以 Vera 已經完成研究。
5:42.061–5:48.160
Remember we asked for nice slides and Vera is basically giving us an idea of what the content on each slide is going to be.
記得我們要求了精美的投影片,而 Vera 基本上給了我們每個投影片上內容的構想。
5:48.160–5:51.130
Basically you can see the content that is going to come on every slide.
基本上,你可以看到每個幻燈片上將要顯示的內容。
5:51.130–5:53.306
If I do not like the slide and I want to refine the slide,
如果我不喜歡這個幻燈片,想要進行調整,
5:53.306–5:57.280
I can click on refine copy and then the agents would basically refine this based on what I tell them.
我可以點擊「優化文案」,然後代理程式會根據我的指示來優化這份內容。
5:57.280–5:59.638
Now, assuming I'm fine with this and I want to promote this,
現在,假設我對這份內容感到滿意,並想要將其推廣,
5:59.638–6:01.371
I can click on approve and pick a templates.
我可以點擊「核准」並選擇一個範本。
6:01.371–6:06.777
Remember that the contents that the agents did is basically from the idea of what the content should look like.
請記住,代理程式所執行的內容,基本上是基於我們對內容呈現方式的構想。
6:06.777–6:10.231
But here, I have a pile of beautifully designed templates that I'm going to give to you guys,
但這裡,我準備了一堆設計精美的範本要提供給大家,
6:10.231–6:13.048
which you can just copy without you having to design everything yourself.
你們可以直接複製使用,而不需要自己設計一切。
6:13.048–6:16.711
So, what we're going to have to do is just look for whatever templates we want to build with.
所以,我們接下來要做的是,找出我們想要使用的任何範本。
6:16.711–6:19.928
Now, because my brand is orange, let me go with this template here, 10 count.
現在,因為我的品牌色是橘色,讓我選擇這裡的這個範本,共10頁。
6:19.928–6:22.340
Now what is going to happen is I'm going to click fit copy to this.
接下來要發生的是,我會點擊「將文案套用到此」。
6:22.340–6:23.730
Now why do we do this step?
那麼,為什麼我們要執行這一步呢?
6:23.730–6:26.870
Because every template has the number of characters it can support.
因為每個範本都有其能支援的字數限制。
6:26.880–6:30.422
So assuming the number of characters is way more than what a template can support
所以,假設字數遠遠超過了範本所能支援的範圍,
6:30.422–6:32.113
then the design basically looks ugly.
那麼設計基本上看起來會很醜。
6:32.113–6:36.445
So what Vera is going to do is that Vera is going to look at the template that we have picked
所以,Vera 會做的是,Vera 會查看我們所選擇的範本,
6:36.445–6:40.302
and adapt the text that goes onto the slides to match that particular template
並調整要放入幻燈片的文字,以符合該特定範本的要求,
6:40.302–6:43.625
and then Vera adapted the slide text to the template that we picked.
然後 Vera 會將幻燈片文字調整為我們所選擇的範本格式。
6:43.625–6:45.550
So here I'm just going to click on render this
所以這裡我只需要點擊「渲染此內容」,
6:45.550–6:49.347
and then this is going to trigger another agent called kite who is basically for design.
接著這將觸發另一個稱為 Kite 的代理程式,它專門負責設計。
6:49.347–6:51.557
So when I come here you can see that the slide is ready
所以當我來到這裡時,你可以看到投影片已經準備好了
6:51.557–6:53.254
and I can click to open this in the studio
我可以點擊在工作室中開啟這個
6:53.254–6:54.796
or you can also come to the studio tab
或者你也可以來到工作室標籤頁
6:54.796–6:56.235
and this will show you the slides.
這將顯示你的投影片
6:56.235–6:59.730
So when I click open in studio you can see the slides that the agents generated.
所以當我點擊在工作室中開啟時,你可以看到代理程式生成的投影片
6:59.730–7:04.130
So that you can see that I have eight slides basically tailored to exactly what we did.
這樣你就可以看到我基本上有八張投影片,完全針對我們所做的內容進行客製化
7:04.130–7:07.813
Now the beauty about how these slides are generated is that typically when
現在這些投影片生成的優點是,通常當
7:07.813–7:16.309
people are generating Instagram slides you need to get an image generation agent or an an image generating model that is going to cost you for every slide that you generate.
人們生成 Instagram 投影片時,你需要一個影像生成代理程式或影像生成模型,這會為你生成的每一張投影片收費
7:16.319–7:17.876
And the most painful part is that
而最痛苦的部分是
7:17.876–7:19.664
whenever you want to change any text,
每當你想更改任何文字時,
7:19.664–7:21.510
then you need to pay for every API call.
你就需要為每個 API 呼叫付費
7:21.520–7:25.609
The beauty about what we building here is that every slide is rendered as an HTML file.
我們在此建構的優點是,每張投影片都呈現為 HTML 檔案
7:25.609–7:30.205
That means that when you come here and click on fine-tune the slide and I pick on any slide,
這意味著當你來到這裡並點擊微調投影片,且我選擇任何一張投影片時,
7:30.205–7:32.627
I can basically edit and add my name Larry here.
我基本上可以編輯並在此處加上我的名字 Larry
7:32.627–7:35.468
I can do whatever I want to do without having to pay for anything.
我可以做任何我想做的事,而不需要為任何事情付費
7:35.468–7:41.575
What you can even also do that I also added is that you can also tune the slide to be left to up down.
我還額外添加的功能是,你也可以將投影片調整為左、上、下
7:41.575–7:42.649
You can reduce the slide.
你可以縮小投影片
7:42.649–7:43.911
You can change the font size and everything.
你可以更改字體大小等一切
7:43.911–7:46.436
And then when you're done, you just click on save and this will be done.
然後當你完成時,只需點擊儲存,這就完成了
7:46.436–7:50.562
Now assuming you're done and you're basically happy with all the contents, then you can promote this.
現在假設你已完成,並且基本上對所有內容都感到滿意,那麼你可以推廣這個
7:50.562–7:54.368
Now you can also convert this into a real where you can click on animate this carousel.
現在你也可以將它轉換為真實的 Reels,點擊「動畫化此輪播」即可。
7:54.368–7:59.707
You can animate all the slides that are going to come one after the other like a real with a 4 is to 5 aspect ratio
你可以動畫化所有依序出現的投影片,就像真實的 Reels 一樣,比例為 4:5。
7:59.707–8:02.733
or you can also create a full reel with a 9 is to 16 aspect ratio.
或者你也可以建立完整的 Reels,比例為 9:16。
8:02.733–8:05.580
Now assuming I'm done and I'm happy with what I've built so far,
現在假設我已完成,且對目前所建立的內容感到滿意,
8:05.580–8:09.687
I can just come here click post now and then in my case I have already configured Instagram.
我只需來到這裡點擊「立即發布」,而在我的情況下,我已經設定好了 Instagram。
8:09.687–8:11.227
So I can click on post to only.
因此我可以點擊僅發布到 Instagram。
8:11.227–8:15.456
And then the agents are going to warn me, hey, are you sure you want to post this image to is
接著代理程式會警告我:「嘿,你確定要將這張圖片發布到 Instagram 嗎?」
8:15.456–8:16.904
I'm going to say yes, post now.
我會回答「是,立即發布」。
8:16.904–8:21.180
And then the image is going to be pushed through a platform that we're going to be using, which is called Buffer
接著,圖片會被推送到我們將要使用的平台,這個平台叫做 Buffer
8:21.180–8:22.871
that connects to all the social platforms.
該平台連接了所有社交媒體平台。
8:22.871–8:25.744
And then this will be pushed directly to Instagram for us.
然後這將直接發布到我們的 Instagram。
8:25.744–8:28.647
And now I get a notification from Orion, which is our publisher,
現在我收到了來自 Orion(我們的發布工具)的通知,
8:28.647–8:30.454
that the post has been pushed to buffer.
指出該帖子已推送到 Buffer。
8:30.454–8:32.961
So in a few minutes, we should see this directly on Instagram.
因此幾分鐘後,我們應該會直接在 Instagram 上看到它。
8:32.961–8:34.214
And right then you see it.
就在這時你看到了它。
8:34.214–8:37.240
So this is a test account that I created on basically to test what I'm building.
所以這是一個我建立的測試帳號,基本上是用來測試我正在建構的內容。
8:37.240–8:40.928
And when I come here, you see that the post that we just created is live on Instagram
當我來到這裡時,你會看到我們剛剛建立的帖子已在 Instagram 上發布,
8:40.928–8:42.230
exactly as we rendered them.
完全符合我們渲染的效果。
8:42.240–8:45.139
And this exactly what I'm going to be building with you guys today.
這正是我今天要與大家一起建構的內容。
8:45.139–8:50.389
We also do have a dedicated agents tab that gives you more insight into the agent architecture that we have.
我們還有一個專屬的代理程式標籤頁,提供有關我們代理程式架構的更多見解。
8:50.389–8:53.529
You can see that we have every sub agents have their dedicated card
你可以看到,每個子代理人都擁有專屬的卡片
8:53.529–8:56.156
where you can see the AI model that the agents are using.
你可以在卡片中看到代理人所使用的 AI 模型。
8:56.156–8:59.064
You can see the number of runs that particular agent has performed,
你可以看到該特定代理人執行的運行次數,
8:59.064–9:00.934
how many of these runs have been successful
其中有多少次運行是成功的
9:00.934–9:03.531
and also some of the recent tasks that the agents performed.
以及代理人最近執行的一些任務。
9:03.531–9:05.152
On top of all these four agents,
在上述四個代理人之上,
9:05.152–9:08.206
we have the orchestrator who is more or less the boss agent.
我們還有一位協調者,也就是所謂的「主管代理人」。
9:08.206–9:14.753
Now below we have an activity heat map where you can see in a time frame of 24 hours which agent has been active.
現在,下方有一個活動熱力圖,你可以看到在 24 小時的時間範圍內,哪些代理人處於活躍狀態。
9:14.753–9:19.567
So the more brighter the color here, it just means that the agent was more active within that hour window.
因此,顏色越亮,代表該代理人在此小時區間內越活躍。
9:19.567–9:23.438
And darker spaces just mean that the agent was not active within that time frame.
而較暗的空間則表示該代理人在此時間範圍內未處於活躍狀態。
9:23.438–9:27.930
So the entire build is going to take you about four to 5 hours if you have all the prompts and the templates.
如果你已經擁有所有提示詞和模板,整個建置過程大約需要四到五小時。
9:27.930–9:31.472
So I also created an auto installer that can do everything for you in a matter of minutes.
因此,我還創建了一個自動安裝程式,可以在幾分鐘內為你完成所有工作。
9:31.472–9:33.602
If you'll be interested in getting the auto installer,
如果你對獲取自動安裝程式感興趣,
9:33.602–9:35.594
this model will also be in the description section.
該模型也會出現在描述區塊中。
9:35.594–9:36.756
Now, let's get into the build.
現在,讓我們開始進行建置。
9:36.756–9:39.212
To get started, we're going to first install her.
要開始使用,我們首先會安裝 Her。
9:39.212–9:42.746
He agents allows you to be able to build multiple agent infrastructure
He Agents 讓你能夠建置多個代理人基礎架構
9:42.746–9:44.782
where you can be talking to your AI agents
你可以透過各種流行的應用程式與你的 AI 代理人互動
9:44.782–9:47.058
using all the popular applications out there
使用市面上所有流行的應用程式
9:47.058–9:49.214
like Telegram, Discord, Slack, WhatsApp,
例如 Telegram、Discord、Slack、WhatsApp,
9:49.214–9:51.440
and all the popular messaging applications
以及所有其他流行的訊息應用程式
9:51.440–9:52.336
that are out there.
目前市面上所擁有的那些。
9:52.336–9:56.497
Additionally, instead of being confined to using one particular AI model,
此外,你不必受限於使用單一特定的 AI 模型,
9:56.497–9:58.545
you can use any AI model that you want.
你可以使用任何你想要的 AI 模型。
9:58.545–10:03.103
been it from OpenAI, Ben from Antropic or any other popular model that is out there.
無論是來自 OpenAI、Anthropic 的模型,或是市面上其他任何流行的模型。
10:03.103–10:06.424
And to install Hemisen, there are several options that are out there for you.
要安裝 Hemisen,市面上有幾種選項供你選擇。
10:06.424–10:10.821
You can install this on a Windows PC if you have a dedicated PC that you want to run this on,
如果你有一台專門用來運行此系統的 Windows 電腦,你可以將它安裝在 Windows PC 上,
10:10.821–10:13.713
or you can also install this via a Linux operating system.
或者你也可以透過 Linux 作業系統來安裝。
10:13.713–10:16.482
For this setup, I'm going to be using the Linux approach.
對於這個設定,我將採用 Linux 的方式。
10:16.482–10:18.114
I know Linux sounds intimidating.
我知道 Linux 聽起來可能讓人卻步。
10:18.114–10:19.976
Don't worry, I'm going to walk you through the entire step.
別擔心,我會一步步帶你完成整個過程。
10:19.976–10:21.559
And then once we are done with the setup,
然後當我們完成設定後,
10:21.559–10:22.998
which is going to take a few minutes,
這大概會花幾分鐘時間,
10:22.998–10:24.629
everything that you're going to be doing
你接下來要做的一切
10:24.629–10:25.925
is going to be from the dashboard
都可以從儀表板進行
10:25.925–10:27.172
that we're going to be building
我們將要建立的那個儀表板,
10:27.172–10:29.187
or also from the Telegram messaging application.
或是透過 Telegram 訊息應用程式來操作。
10:29.187–10:31.032
So you wouldn't have to come into the terminal
所以你不需要進入終端機
10:31.032–10:32.925
to do any stuff with quotes and stuff like that.
去處理任何關於提示詞(prompts)或其他類似的事情。
10:32.925–10:35.065
But I'm going to walk you through the entire process
但我會帶你走完整個流程
10:35.065–10:35.463
from A to Z
從頭到尾
10:35.463–10:37.902
so that you get a breast with how this whole flow would work.
這樣你就能了解整個流程是如何運作的
10:37.902–10:40.129
Now, if you have a PC that you can run this on,
現在,如果你有一台可以運行這個的電腦,
10:40.129–10:41.614
hey, you can use this as well.
嘿,你也可以使用這個。
10:41.614–10:42.836
But in my case, for instance,
但在我的情況下,例如,
10:42.836–10:44.007
I do not have a dedicated PC.
我沒有專屬的電腦。
10:44.007–10:45.859
So you can rent a server somewhere
所以你可以在某處租用一台伺服器
10:45.859–10:47.380
that you used to run this on.
你用來運行這個的伺服器。
10:47.380–10:48.884
I personally prefer this option,
我個人比較偏好這個選項,
10:48.884–10:49.904
but hey, it's up to you.
但嘿,這取決於你。
10:49.904–10:51.683
With using a private server is that
使用私人伺服器的好處是,
10:51.683–10:53.831
you rent a server from a different company
你會從不同的公司租用伺服器,
10:53.831–10:55.303
where you pay about $4 a month
每月支付大約 4 美元的費用,
10:55.303–10:57.451
and then this server is going to be on 24/7.
然後這台伺服器將全天候 24/7 運行。
10:57.451–10:59.555
You do not have to worry about maintenance.
你不需要擔心維護問題。
10:59.555–11:01.764
You do not have to worry about internet connectivity
你不需要擔心網路連線問題
11:01.764–11:02.617
and stuff like that.
以及類似的事情。
11:02.617–11:04.301
But of course, this comes for a price
但當然,這是要付出代價的
11:04.301–11:05.816
and that is why you have to decide
這就是為什麼你必須決定
11:05.816–11:07.724
if you want to run this on your personal PC
是否要在你的個人電腦上運行這個
11:07.724–11:08.678
that you have at home
你在家裡的
11:08.678–11:10.699
or if you want to rent a server to run this on.
還是你想租用伺服器來運行這個。
11:10.699–11:11.954
And for the VPS provider,
對於 VPS 供應商,
11:11.954–11:14.583
my personal picks are typically Racknet and Conabo.
我個人通常推薦 Racknet 和 Conabo。
11:14.583–11:16.498
Now, with Rocknet, for instance,
現在,以 Racknet 為例,
11:16.498–11:18.688
you can get a server with two CPU cores,
你可以獲得一台擁有兩個 CPU 核心的伺服器,
11:18.688–11:19.782
35 GB of this space,
35 GB 的空間,
11:19.782–11:20.329
2 GB of RAM
2 GB 的記憶體
11:20.329–11:21.492
for about $35 a year,
每年大約 35 美元,
11:21.492–11:23.545
which amounts to about $2.9 a month,
這相當於每月約 2.9 美元,
11:23.545–11:25.802
which is quite affordable for a server,
對於伺服器來說相當實惠,
11:25.802–11:28.480
considering that you do not have to worry about
考慮到你不必擔心
11:28.480–11:29.626
keeping it online 24/7,
讓它全天候 24/7 在線,
11:29.626–11:30.600
internet activity,
網路活動,
11:30.600–11:31.288
maintenance,
維護,
11:31.288–11:32.262
and stuff like that.
以及諸如此類的事情。
11:32.262–11:33.512
With Rak, you pay once a year
使用 Racknet,你每年支付一次
11:33.512–11:34.762
and you're basically done.
基本上就搞定了。
11:34.762–11:36.832
You don't need to worry about monthly payments
你不需要擔心每月付款
11:36.832–11:37.735
and stuff like that.
以及諸如此類的事情。
11:37.735–11:40.089
The second option that you can also go for
第二個你可以選擇的方案
11:40.089–11:41.058
is from Contabo.
來自 Contabo。
11:41.058–11:43.040
They also do have quite reliable servers
他們也有相當可靠的伺服器
11:43.040–11:44.964
and the price are also quite affordable
而且價格也非常實惠
11:44.964–11:47.238
for the specifications of the VPS that you get.
對於你所獲得的 VPS 規格來說。
11:47.238–11:49.280
So with Contabo for instance,
所以以 Contabo 為例,
11:49.280–11:52.222
you can get a server that has four CPU cores,
你可以獲得一台擁有四個 CPU 核心的伺服器,
11:52.222–11:52.875
8 GB of RAM
8 GB 的記憶體
11:52.875–11:55.081
and about 100 GB of SSD disc space
以及大約 100 GB 的 SSD 磁碟空間
11:55.081–11:56.480
for about $8 a month.
每月只需約 8 美元。
11:56.480–11:58.502
This one here is going to be way more sufficient
這個選項對於我們即將建構的內容來說會更加充足
11:58.502–12:00.057
for what we're going to be building.
。
12:00.057–12:02.391
So you can decide on either going with Raknet
所以你可以決定是選擇 Raknet
12:02.391–12:03.590
or going with Contabo.
還是選擇 Contabo。
12:03.600–12:06.742
So I'm going to put a referral link in the description section that you can get one of these.
所以我會在描述區塊放上推薦連結,你可以透過它獲得其中一個方案。
12:06.742–12:09.295
And these videos are not sponsored by any of these companies.
這些影片並非由這些公司贊助。
12:09.295–12:12.522
I'm just giving you what I typically use when I'm setting up these infrastructures.
我只是提供我在設定這些基礎設施時通常會使用的方案。
12:12.522–12:14.468
If you want to go with Raknet, just come here.
如果你想選擇 Raknet,就點這裡。
12:14.468–12:16.716
Like I said, my recommended option would be this one here.
就像我說過的,我推薦的選項是這個。
12:16.716–12:17.612
Click on order now.
點擊立即訂購。
12:17.612–12:19.282
And then you're going to be brought to a page
接著你會被帶到一個頁面
12:19.282–12:21.741
where you would see the summary of the hardware specifications
你可以在那裡看到你所選 VPS 的硬體規格摘要
12:21.741–12:22.901
of your VPS that you selected.
你選定的 VPS 規格。
12:22.901–12:24.572
And then when you scroll down as well,
然後當你往下捲動時,
12:24.572–12:25.705
you see the server label,
你會看到伺服器標籤,
12:25.705–12:27.440
which you can change later if you want.
如果你願意,之後可以更改。
12:27.440–12:29.423
Now, in terms of the configuration options,
現在,關於配置選項,
12:29.423–12:31.620
I would recommend that you keep this as a default.
我會建議你保持預設值。
12:31.620–12:32.760
Operating system,
作業系統,
12:32.760–12:35.110
we're going to be using Ubuntu 2012.04.
我們將使用 Ubuntu 20.04。
12:35.120–12:36.977
For the RAM, leave everything as a default.
對於記憶體(RAM),請保持所有設定為預設值。
12:36.977–12:39.866
immedately you increase the RAM it's going to in an additional cost
一旦你增加記憶體,就會產生額外費用
12:39.866–12:42.807
and that is why I would recommend that you go with the default options
這就是為什麼我建議你使用預設選項
12:42.807–12:44.880
that is also here in terms of the location you can
在位置方面,這裡也可以
12:44.880–12:46.999
choose whatever location that is closest to you
選擇離你最近的區域
12:46.999–12:49.860
but what we're going to be building latency is not much of an issue
但由於我們建構的延遲不會是太大問題
12:49.860–12:52.616
so I wouldn't worry too much about having it as close to you cost
所以我不會太擔心它是否離你最近
12:52.616–12:54.480
leave it as a default if you take something
如果你選擇其他選項,請保持預設值
12:54.480–12:55.999
higher you would basically pay more
如果你選擇更高規格,基本上你需要支付更多費用
12:55.999–12:57.214
after that click on continue
之後點擊繼續
12:57.214–13:00.049
you're going to get an email that would contain all the credentials
你將收到一封包含所有憑證的電子郵件
13:00.049–13:01.922
you're going to need to connect to the VPS ser
你需要連接到 VPS 伺服器
13:01.922–13:04.160
and I'm going to walk you through that process as well
我將為你逐步說明該流程
13:04.160–13:06.404
if you want to go with a contabo option like I said
如果你想選擇我提到的 Contabo 選項
13:06.404–13:08.198
this option that we have here cloudvp4
這裡我們提供的選項 cloudvp4
13:08.198–13:11.283
or the lowest option that they have is going to be way more powerful
或者他們提供的最低選項也會強大得多
13:11.283–13:12.966
for what we're going to be building.
對於我們即將建構的內容來說,會強大得多
13:12.966–13:14.505
So here click on get started here.
所以這裡請點擊開始
13:14.505–13:16.907
Be careful the default is sometimes 24 years.
請注意,預設值有時是 24 個月
13:16.907–13:19.916
That means that you're going to be locked with this VPS for 2 years.
這意味著你將被鎖定在這台 VPS 上 2 年
13:19.916–13:21.345
And of course it gets cheaper
當然,合約越長
13:21.345–13:23.251
the longer the contract is going to be.
合約期限越長
13:23.251–13:24.167
But just be careful
但請務必小心
13:24.167–13:25.483
because if you go for 2 years
因為如果你選擇 2 年
13:25.483–13:27.658
then you are locked to pay this amount of money
你就必須鎖定支付這筆金額
13:27.658–13:28.230
for 2 years.
長達 2 年
13:28.240–13:31.421
If you want to have the flexibility of cancelelling this every month
如果你希望擁有每月取消的彈性
13:31.421–13:33.207
then you can go for the one month option
那麼你可以選擇一個月的方案
13:33.207–13:35.942
where you're going to be paying about 5.5 in my case a month.
在這種情況下,我每月大約支付 5.5 美元
13:35.942–13:41.370
Now in terms of the region you can leave this as European Union which is the default because Contabo is in European Union
關於地區,你可以保持為歐盟,這是預設值,因為 Contabo 位於歐盟
13:41.370–13:45.812
with Contabo immediately you choose a different location then it would incur an additional cost
使用 Contabo 時,如果您立即選擇不同的位置,將會產生額外費用
13:45.812–13:50.054
but like I said earlier with what we're going to be building latency is not going to be that much of an issue.
但就像我剛才說的,隨著我們即將建構的內容,延遲不會成為太大的問題。
13:50.054–13:52.804
So you can leave this completely as European Union.
因此,您可以完全保留歐洲聯盟(European Union)的設定。
13:52.804–13:57.275
When you scroll down for the storage you can choose SSD 100 GB which is going to be free
當您向下捲動至儲存空間時,您可以選擇免費的 SSD 100 GB
13:57.275–13:59.894
and way more sufficient for what we want to build.
這對於我們想要建構的內容來說遠遠足夠。
13:59.894–14:02.947
For the operating system leave this as YUbuntu which is the default.
對於作業系統,請保留預設的 Ubuntu。
14:02.947–14:06.879
For data protection, I typically recommend that you go for the auto backup option.
關於資料保護,我通常建議您選擇自動備份選項。
14:06.879–14:10.383
Sometimes I'm working with my agents and something completely gets screwed up.
有時我在與我的代理程式(agents)合作時,會發生完全搞砸的情況。
14:10.383–14:14.502
And then with the auto backup, it basically takes a snapshot of your VPS every day.
接著透過自動備份,它基本上每天都會為您的 VPS 建立快照。
14:14.502–14:18.937
So that means that if something goes wrong, you can always go back to about 10 days back
這意味著如果發生錯誤,您始終可以回到大約 10 天前的狀態
14:18.937–14:23.622
and then you can always restore whatever image you had on that VPS for that particular day.
然後您始終可以還原該 VPS 在特定日期的任何映像。
14:23.622–14:26.201
Now this optional but like I said it's highly recommended
現在這是可選的,但就像我說的,強烈建議使用
14:26.201–14:30.499
because if you imagine if you've been building your content management system for over one year
因為如果您想像一下,如果您建構內容管理系統超過一年
14:30.499–14:33.239
and by mistake something screws up you completely lose this.
並且不小心搞砸了,您將完全失去這些內容。
14:33.239–14:36.764
Now to save this as well you can also configure your own auto backup
現在要儲存這些內容,您也可以設定自己的自動備份
14:36.764–14:39.648
which is going to take a snapshot of your VPS every day.
這將每天為您的 VPS 建立快照。
14:39.648–14:41.588
This for instance you can build with cloth
例如,您可以使用 cloth 來建構
14:41.588–14:45.746
but if you don't want to do this and you want to go with contabo's default auto backup option
但如果您不想這樣做,而想使用 Contabo 的預設自動備份選項
14:45.746–14:48.074
you can choose this which would about 1.65 a month.
您可以選擇這個選項,每月約為 1.65 美元。
14:48.074–14:51.073
Now additional features you can leave everything as a default.
關於額外功能,您可以將所有內容保留為預設值。
14:51.073–14:53.524
In this section here, you're going to have to put in a password
在這邊你需要輸入密碼
14:53.524–14:55.447
where you're going to connect to the VPS server.
用於連接 VPS 伺服器。
14:55.447–14:58.875
Here you can generate a new password or you can put in any password that you want.
在此您可以生成新密碼,也可以輸入任何您想要的密碼。
14:58.875–15:00.910
This is going to be a password that you're going to have to remember
這將是你必須記住的一個密碼
15:00.910–15:03.351
because this is a password that you're going to use to connect to the VPS server.
因為這是您用來連接 VPS 伺服器的密碼。
15:03.351–15:07.797
If you forget this password, you can go into your conso control panel and reset the password.
如果您忘記這個密碼,您可以進入控制台並重設密碼。
15:07.797–15:09.290
But why go through the hassle after that?
但何必事後再費勁處理呢?
15:09.290–15:12.521
Just click on next, make the payment, and I'm going to walk you through the next steps.
只需點擊下一步,完成付款,我將帶您進行下一步。
15:12.521–15:14.988
If you went with a racknet option after making the payments,
如果您選擇了 Racknet 選項並完成付款,
15:14.988–15:17.120
you're going to get an email like this from Racknet.
您將收到來自 Racknet 的電子郵件,內容如下。
15:17.120–15:19.082
With this email, we basically going to need three things.
透過這封電子郵件,我們基本上需要三樣東西。
15:19.082–15:22.920
The first thing that you're going to need is the IP address of your VPS server.
您需要的第一樣東西是 VPS 伺服器的 IP 位址。
15:22.920–15:27.544
Every VPS server has a unique IP address and they're going to provide this IP address to you.
每個 VPS 伺服器都有獨特的 IP 位址,他們會提供這個 IP 位址給您。
15:27.544–15:33.198
The second thing that we're going to need is the username of the account that you use to connect to the VPS server.
我們需要的第二樣東西是用來連接 VPS 伺服器的帳戶使用者名稱。
15:33.198–15:36.195
With Raknet, most of the time name is always going to be root.
使用 Racknet 時,名稱通常都是 root。
15:36.195–15:41.095
And then thirdly, you're going to need a password which they're also going to provide to you here called root password.
然後第三,您需要一個密碼,他們也會在此提供給您,稱為 root 密碼。
15:41.095–15:43.215
And here's what they're going to provide the password to you.
這就是他們提供給您的密碼。
15:43.215–15:45.674
All these three credentials are going to be in your email.
這三組憑證都會出現在您的電子郵件中。
15:45.674–15:48.027
With the SSH port, you do not have to worry about this
關於 SSH 通訊埠,您不必擔心這個問題
15:48.027–15:51.638
because with most of the applications that you use to connect to the VPS server,
因為大多數用來連接 VPS 伺服器的應用程式,
15:51.638–15:53.608
they always default to an SSH port of three.
它們預設的 SSH 通訊埠都是 22。
15:53.608–15:56.305
Now, with the IP address, with username, and with a password,
現在,有了 IP 位址、使用者名稱和密碼,
15:56.305–15:58.315
you would be able to connect to the VPS server,
你就能夠連線到 VPS 伺服器,
15:58.315–16:00.377
which I would walk you through in the next step.
我將在下一步帶你操作。
16:00.377–16:03.833
If you went for the Contabo option, you're going to get an email like this from Contabo.
如果你選擇了 Contabo 的方案,你會收到來自 Contabo 的這類電子郵件。
16:03.833–16:06.091
Mine is in German, but the layout is going to be the same
我的郵件是德文的,但版面配置會是一樣的,
16:06.091–16:08.751
irrespective of which country or which language that you have.
無論你所在的地區或使用哪種語言。
16:08.751–16:11.216
In the email from Contabo, we're going to need two things.
在來自 Contabo 的郵件中,我們需要兩樣東西。
16:11.216–16:13.880
We're going to need on this left side here the IP address
我們需要這裡左側的 IP 位址,
16:13.880–16:16.196
which is the unique IP address of your VPS server
也就是你的 VPS 伺服器的專屬 IP 位址,
16:16.196–16:19.207
and we're also going to need the username with Contabo as well.
同時我們也需要 Contabo 的使用者名稱。
16:19.207–16:20.961
The username is in most of the cases root
在大多數情況下,使用者名稱是 root。
16:20.961–16:23.939
the password they wouldn't provide the password to you in the email
他們不會在郵件中提供密碼給你,
16:23.939–16:27.926
but this is going to be the password that you put in when you were purchasing the VPS server.
但這會是你購買 VPS 伺服器時輸入的密碼。
16:27.926–16:30.666
So with the IP address with the username and with the password
所以,有了 IP 位址、使用者名稱和密碼,
16:30.666–16:33.192
that you put in when you were purchasing to the VPS server
也就是你在購買 VPS 伺服器時輸入的密碼,
16:33.192–16:35.180
we would be able to connect to the VPS server.
我們就能夠連線到 VPS 伺服器。
16:35.180–16:38.206
And to connect to the VPS server there are several applications that are out there.
要連線到 VPS 伺服器,市面上有幾種應用程式可以使用。
16:38.206–16:41.229
The good news is that whether you're using a Windows operating system
好消息是,無論你使用的是 Windows 作業系統,
16:41.229–16:42.949
or you're using a Mac operating system,
還是使用的是 Mac 作業系統,
16:42.949–16:46.598
both do come with inbuilt applications that you can use to connect to the VPS server.
兩者都內建了可用來連線至 VPS 伺服器的應用程式。
16:46.598–16:47.955
Using a Windows operating system,
使用 Windows 作業系統時,
16:47.955–16:49.032
just click on the search bar
只需點擊搜尋列
16:49.032–16:51.512
and look for an application that is called Windows PowerShell.
並尋找名為 Windows PowerShell 的應用程式。
16:51.512–16:52.704
And then when you click on this,
接著當你點擊它時,
16:52.704–16:54.813
this is how the Windows PowerShell application looks.
Windows PowerShell 應用程式的外觀如下所示。
16:54.813–16:56.105
If you're using a macrop system,
如果你使用的是 Mac 系統,
16:56.105–16:58.738
the application that you're going to be using is called terminal.
你要使用的應用程式稱為終端機(Terminal)。
16:58.738–17:01.581
The commands that we're going to be using here in PowerShell
我們在 PowerShell 中將使用的指令
17:01.581–17:04.196
are identical to what you would be using in PowerShell.
與你在終端機中使用的指令完全相同。
17:04.196–17:07.270
So you do not have to worry about differences in terms of commands.
因此你無需擔心指令方面的差異。
17:07.280–17:09.001
To connect to the VPS server,
要連線至 VPS 伺服器,
17:09.001–17:10.578
just put in the command ssh
只需輸入指令 ssh
17:10.578–17:12.155
space and then put in root.
空格然後輸入 root。
17:12.155–17:14.594
Root is going to be the username of the VPS server,
Root 將是 VPS 伺服器的使用者名稱,
17:14.594–17:16.022
which is the same for Contabo
這對於 Contabo
17:16.022–17:16.855
and for racknet.
和 Racknet 都是相同的。
17:16.855–17:17.583
And after that,
然後
17:17.583–17:20.160
you're going to put in the IP address of your VPS server.
你需要輸入你的 VPS 伺服器的 IP 位址。
17:20.160–17:21.855
The trick here with PowerShell is that
這裡 PowerShell 的訣竅是
17:21.855–17:23.867
whenever you have something in the clipboard
只要剪貼簿中有內容
17:23.867–17:25.350
and you right click on your mouse,
並在滑鼠上按右鍵
17:25.350–17:27.786
it basically paste whatever you have in the clipboard,
它基本上會貼上剪貼簿中的任何內容
17:27.786–17:28.951
which can be quite useful,
這可能非常有用
17:28.951–17:30.964
especially when you are typing in passwords.
特別是在輸入密碼的時候。
17:30.964–17:32.421
And after that, just press enter.
之後,只需按下 Enter 鍵。
17:32.421–17:34.799
If this is the first time that you're connecting to the server,
如果這是您首次連線到伺服器
17:34.799–17:38.184
you're going to be asked whether you want to add this fingerprint of the server to your PC.
系統會詢問您是否要將伺服器的指紋新增至您的電腦。
17:38.184–17:40.295
If you're sure you're connecting to the right server,
如果您確定連線到正確的伺服器
17:40.295–17:41.760
just type in yes and it should be fine.
只需輸入 yes 即可。
17:41.760–17:42.326
And after that,
然後
17:42.326–17:44.806
you're going to be prompted to put in the password of your VPS server.
系統會提示您輸入 VPS 伺服器的密碼。
17:44.806–17:45.268
And here,
在這裡,
17:45.268–17:46.769
if you have a complex password,
如果您有複雜的密碼
17:46.769–17:48.501
just type this password somewhere.
只需將此密碼輸入在某處。
17:48.501–17:49.124
Come in here,
回到這裡
17:49.124–17:50.595
just right click on your mouse.
只需在滑鼠上按右鍵。
17:50.595–17:52.471
It would paste the password into the clipboard
它會將密碼貼上到剪貼簿
17:52.471–17:53.337
and just press enter.
然後按下 Enter 鍵。
17:53.337–17:54.965
And then you can see that in my case,
然後您就可以看到,在我的情況下,
17:54.965–17:56.425
I'm connected to my VPS server.
我已連線至我的 VPS 伺服器。
17:56.425–17:56.580
So,
所以,
17:56.580–17:58.754
I'm going to clear the screen by just typing clear.
我將透過輸入 clear 來清除畫面。
17:58.754–18:00.996
And then we can start with the configuration process.
接著我們就可以開始設定程序。
18:00.996–18:04.306
So now we connected the VPS server using the router name
現在我們使用路由器名稱連線至 VPS 伺服器
18:04.306–18:08.551
and root as a user is typically the highest authority on a Linux server.
,而 root 作為使用者通常是 Linux 伺服器上的最高權限。
18:08.551–18:09.800
Now to install Hermes
現在要安裝 Hermes
18:09.800–18:13.201
my tip for you would be not to install Hermes on the root user
我的建議是你不要將 Hermes 安裝在 root 使用者下
18:13.201–18:17.295
but create a new profile or a new user on which we're going to run this on.
,而是建立一個新的設定檔或新的使用者,我們將在該使用者下執行此操作。
18:17.295–18:18.709
Now this is quite helpful
現在這相當實用
18:18.709–18:23.353
because then you do not have Hermes being the highest authority on your VPS server.
,因為這樣 Hermes 就不會是你在 VPS 伺服器上的最高權限。
18:23.353–18:27.234
In my earlier videos, we always did this on root, which is absolutely fine.
在我之前的影片中,我們總是使用 root 進行操作,這完全沒問題。
18:27.234–18:31.451
But I always try to improve and bring you guys the best safety tips out there.
但我總是嘗試改進,並為你們提供最佳的安全建議。
18:31.451–18:34.579
And that is why we're not going to be installing Hemis this time around on root.
這就是為什麼這次我們不會在 root 下安裝 Hermes。
18:34.579–18:39.220
We're going to be creating a dedicated user on which we're going to install the whole Hemis application on.
我們將建立一個專屬使用者,並在該使用者下安裝整個 Hermes 應用程式。
18:39.220–18:42.599
Now, to create a new user on Linux, just use the command user space.
現在,要在 Linux 上建立新使用者,只需使用 useradd 指令。
18:42.599–18:45.847
And after that, just put in the name of the user that you want to create.
之後,只需輸入你想要建立的使用者名稱。
18:45.847–18:47.550
In my case, I'm going to call this Larry.
在我的情況下,我會將這個使用者命名為 Larry。
18:47.550–18:48.402
So, add Larry.
所以,新增 Larry。
18:48.402–18:52.135
And after that, you're going to be prompted to put in a password for this user.
之後,系統會提示你為此使用者輸入密碼。
18:52.135–18:53.399
So, I'm going to put in my password.
所以,我會輸入我的密碼。
18:53.399–18:54.496
And after that, just press enter.
然後,只需按下 Enter 鍵。
18:54.496–18:56.430
You're going to be prompted to retype the password.
系統會提示您重新輸入密碼。
18:56.430–18:58.021
And then after that, just press enter.
接著,只需按下 Enter 鍵。
18:58.021–19:00.392
And then we're going to be asked if you want to put in a full name.
然後,系統會詢問您是否要輸入全名。
19:00.392–19:02.297
You can just skip this by pressing enter.
您可以直接按下 Enter 鍵跳過此步驟。
19:02.297–19:02.880
Room number.
房間號碼。
19:02.880–19:03.271
Enter.
按下 Enter。
19:03.271–19:03.661
Phone.
電話號碼。
19:03.661–19:04.052
Enter.
按下 Enter。
19:04.052–19:05.029
Just skip this.
直接跳過此步驟。
19:05.039–19:05.583
Home phone.
住宅電話。
19:05.583–19:06.722
You can also skip this.
您也可以跳過此步驟。
19:06.722–19:07.455
You can also skip this.
您也可以跳過此步驟。
19:07.455–19:08.904
And then you're going to be prompted
接著系統會提示
19:08.904–19:10.933
if the information that you have put in is correct.
確認您輸入的資訊是否正確。
19:10.933–19:12.040
Just press Y for yes.
只需按 Y 表示是。
19:12.040–19:13.727
And after that, just press enter.
然後,只需按下 Enter 鍵。
19:13.727–19:16.587
Now, you can see that then Larry is added as a user.
現在,您可以看到 Larry 已作為使用者新增。
19:16.587–19:20.016
Now, we're going to give this Larry user some pseudo privileges
現在,我們將賦予這個 Larry 使用者一些權限
19:20.016–19:22.540
so that the user can be able to run some commands
以便該使用者能夠執行某些指令
19:22.540–19:24.481
and install the Hemis application.
並安裝 Hemis 應用程式。
19:24.481–19:26.799
And to do that, we're going to use this command here.
為了做到這一點,我們將使用這裡的指令。
19:26.799–19:30.130
User mod space minus ag p sudo larry.
使用者修改指令,加上 sudo 權限給 larry。
19:30.130–19:32.927
So here, just replace this Larry with your username.
所以這裡,請將這個 Larry 替換成你的使用者名稱。
19:32.927–19:34.190
And after that, just press enter.
然後,只需按下 Enter 鍵。
19:34.190–19:36.072
By the way, I'm also going to provide you these commands.
順便一提,我也會提供這些指令給你。
19:36.072–19:38.338
So you do not need to type this or you do not need to remember them.
所以你不需要輸入這些內容,也不需要記住它們。
19:38.338–19:39.543
After that, just press enter.
之後,只需按下 Enter 鍵。
19:39.543–19:41.511
And then we're going to get Larry
接著我們將切換到 Larry
19:41.511–19:43.990
now being a user with pseudo privileges.
現在成為擁有 sudo 權限的使用者。
19:44.000–19:46.099
I'm going to clear the screen just to make it a bit cleaner.
我將清除螢幕,讓畫面看起來更整潔。
19:46.099–19:49.676
And now we're going to switch from the root user into the Larry user
現在我們將從 root 使用者切換到 Larry 使用者
19:49.676–19:53.188
for us to be able to login into the Larry user that we just created.
以便我們能夠登入剛才建立的使用者 Larry。
19:53.188–19:58.904
And for that just use the command su space minus or hyphen space and then just type in Larry.
為此,請使用指令 su,加上空格、減號或連字號,然後輸入 Larry。
19:58.904–20:01.789
And you can see that the syntax change from root to Larry.
你可以看到語法從 root 變更為 Larry。
20:01.789–20:05.780
So that means that now I'm not on the root application which has the highest authority.
這意味著現在我不在擁有最高權限的 root 應用程式中。
20:05.780–20:09.298
I'm now logged in into the Larry path which has this authority.
我現在已登入擁有此權限的 Larry 路徑。
20:09.298–20:14.221
Now when we're connecting to the VPS server, we use the command ss space root the IP address.
現在當我們連線到 VPS 伺服器時,我們使用指令 ss,加上 root 和 IP 位址。
20:14.221–20:15.000
But here as well
但這裡也是一樣
20:15.000–20:16.918
if you want to connect to the VPS server
如果你想連線到 VPS 伺服器
20:16.918–20:19.615
instead of root you can use the new user that we created
除了 root 之外,你可以使用我們建立的新使用者
20:19.615–20:20.814
which is in my case Larry
在我的情況下是 Larry
20:20.814–20:23.691
and then you can just put in the IP address of the VPS server
然後輸入 VPS 伺服器的 IP 位址
20:23.691–20:24.530
then press enter
接著按下 Enter
20:24.530–20:25.909
put in the password that you
輸入你建立的密碼
20:25.919–20:29.372
created and then you see that I'm also connected to the VPS server
建立的密碼,然後你會發現我也連線到了 VPS 伺服器
20:29.372–20:32.186
so you can connect to the VPS server either using root
所以你可以使用 root 連線到 VPS 伺服器
20:32.186–20:35.640
and after that switching to the larger using su space minus Larry
之後切換到 Larry,使用 su 空格 -Larry
20:35.640–20:38.080
or you can also directly go into that using the
或者你也可以直接使用
20:38.080–20:39.088
SSH path for Larry.
Larry 的 SSH 路徑進入。
20:39.088–20:43.039
So I'm just going to be sticking to with this because I already created a set with this here.
所以我打算繼續使用這個,因為我已經在這裡建立了一組設定。
20:43.039–20:44.996
I'm just going to type in clear to clear the screen.
我只會輸入 clear 來清除畫面。
20:44.996–20:47.466
And then now we can start with the Hemis installation.
然後現在我們可以開始安裝 Hemis。
20:47.466–20:51.160
To install Hemis, we're just going to come to the original website from Hemsus.
要安裝 Hemis,我們只需前往 Hemsus 的原始網站。
20:51.160–20:55.788
And then when you're on this page, scroll down here and then come to the install via terminal.
然後當你在這個頁面上時,向下捲動並找到透過終端機安裝。
20:55.788–20:58.188
We're going to be going with the native application.
我們將使用原生應用程式。
20:58.188–21:00.128
And here the command always starts with curl
這裡的命令總是以下列方式開始:curl
21:00.128–21:02.226
so that you are sure that you are on the right one.
這樣你就能確保使用的是正確的指令。
21:02.226–21:04.578
Now click here to copy the oneline installer.
現在點擊這裡複製單行安裝程式。
21:04.578–21:07.246
The advantage here is that with this oneline installer,
這裡的優勢在於,使用這個單行安裝程式,
21:07.246–21:10.993
it's going to install all the dependent that required to install or to run hemis
它會自動安裝運行 hemis 所需的所有相依套件
21:10.993–21:14.797
without you having to install application A, application B and stuff like that.
不需要你手動安裝應用程式 A、應用程式 B 等一堆東西。
21:14.797–21:17.794
After that, just press enter and then the installation is going to run.
之後,只要按下 Enter 鍵,安裝程序就會開始執行。
21:17.794–21:19.552
So, it detected that I'm running Linux
所以,它偵測到我正在運行 Linux
21:19.552–21:23.014
and it's also going to run all the other things that are missing on my server.
並且它也會執行我伺服器上缺少的其他所有項目。
21:23.014–21:24.437
Now, here I'm being asked,
現在,這裡會詢問我,
21:24.437–21:28.255
do you want to install RIP for faster file search for TTS voice message?
是否要安裝 RIP 以加速 TTS 語音訊息的檔案搜尋?
21:28.255–21:29.305
This would be good.
這會很有幫助。
21:29.305–21:32.455
So, we can just type in yes that we want to install this and press enter.
所以,我們可以輸入 yes 表示要安裝這個,然後按下 Enter 鍵。
21:32.455–21:37.180
and then I'm going to put in a password and then press enter and then the installation is going to proceed.
接著我會輸入密碼然後按 Enter,安裝就會繼續進行
21:37.180–21:40.761
So I'm going to wait for the installation to be done and then we can continue with the build.
所以我會等待安裝完成,然後我們就可以繼續進行建置。
21:40.761–21:43.173
All right, so the prerequisite installation is done.
好的,前置安裝已經完成了
21:43.173–21:44.715
So now we can start with the setup.
那麼現在我們可以開始進行設定。
21:44.715–21:47.808
Now for here we're going to have to choose how we want to set up Hemis.
現在我們在這裡需要選擇如何設定 Hemis
21:47.808–21:49.801
I would recommend that we go with a quick setup
我建議我們選擇快速設定
21:49.801–21:52.057
because a full setup is going to ask us so many things
因為完整設定會要求我們進行太多不必要的配置
21:52.057–21:54.575
that we're going to have to configure which we do not need.
這部分需要我們進行設定,但其實並不需要。
21:54.575–21:56.222
And this is also the recommended part.
這也是建議的選項
21:56.222–21:58.059
So just make sure that this option is selected.
所以請務必勾選這個選項
21:58.059–22:00.217
If not, just press up and down on your keyboard.
如果沒有,只需按鍵盤上的上鍵和下鍵。
22:00.217–22:02.240
Make sure that the pointer is on this
確保指標位於此處
22:02.240–22:04.533
and then press the space bar or enter key.
然後按下空白鍵或 Enter 鍵。
22:04.533–22:08.111
Now in the next stage, we're going to have to create an account with news research.
現在進入下一個階段,我們需要與 News Research 建立帳戶。
22:08.111–22:10.693
If you do have an account, then you do not have to create a new one.
如果您已經有帳戶,則無需建立新帳戶。
22:10.693–22:13.903
And basically, this is a step where we're going to bind this VPS
基本上,這是一個我們將此 VPS
22:13.903–22:17.606
or this server or this Hemis installation to our news research account.
或此伺服器或此 Hemis 安裝綁定到我們的 News Research 帳戶的步驟。
22:17.606–22:19.755
Now, here you can go with their free subscription.
現在,您可以選擇他們的免費訂閱方案。
22:19.755–22:21.696
Nose research does have some paid plans
News Research 確實有一些付費方案
22:21.696–22:24.166
where you can use a pool of AI models that they have,
您可以使用他們提供的 AI 模型池,
22:24.166–22:26.930
but in my case, I'm going to be coming with my own AI model.
但在我的情況下,我將使用自己的 AI 模型。
22:26.930–22:28.930
So, I'm going to go with a free option.
因此,我將選擇免費選項。
22:28.930–22:32.159
So just press control on the keyboard and click on this URL here.
因此,只需按住鍵盤上的 Control 鍵並點擊此處的 URL。
22:32.159–22:34.966
And if you do not have an account, you're going to get an option to create an account.
如果您沒有帳戶,您將獲得建立帳戶的選項。
22:34.966–22:38.682
But in my case, because I already have an account and I'm logged into my account,
但在我的情況下,因為我已經有帳戶並已登入,
22:38.682–22:42.060
it directly brings me to a screen where I can bind my account to the setup.
它會直接將我帶到可以將帳戶綁定到設定的畫面。
22:42.060–22:43.455
So here, just click on connect.
因此,這裡只需點擊「連接」。
22:43.455–22:46.716
And when this is successfully, you're going to get a notification that this has been connected.
成功連線後,你會收到通知,顯示已連線完成。
22:46.716–22:49.206
And then when you come back to the Hemis installer screen,
然後當您回到 Hemis 安裝程式畫面時,
22:49.206–22:51.695
you see that it brings you to the model selection process.
您會看到它將您帶到模型選擇程序。
22:51.695–22:57.027
Like I said, in my case, I'm not going to be using any of the models that no research provides.
就像我說過的,在我的情況下,我不會使用任何由 no research 提供的模型。
22:57.027–22:58.491
I'm going to bring in my own model.
我會導入我自己的模型。
22:58.491–23:02.175
So here you can just press enter on the keyboard to skip the model selection process.
所以這裡你可以直接按鍵盤上的 Enter 鍵來跳過模型選擇程序。
23:02.175–23:05.546
In the next stage we're going to pick a few tools that you can use with her agent.
在下一個階段,我們將選擇一些你可以與她的代理(agent)一起使用的工具。
23:05.546–23:09.438
For instance, you can give your agents the options to be able to search on the internet
例如,你可以讓你的代理具備在網路上搜尋的選項,
23:09.438–23:12.124
and script data from the internet on particular websites.
以及從特定網站抓取網路資料的腳本功能。
23:12.124–23:16.159
And here for instance you can use a tool that is called fire crawl and the same applies.
這裡例如你可以使用一個名為 fire crawl 的工具,原則也是一樣的。
23:16.159–23:19.127
There are other tools that you can use for image generation
還有其他你可以用於圖片生成的工具,
23:19.127–23:21.428
for text to speech for speech to text and so on.
文字轉語音、語音轉文字等等。
23:21.428–23:23.790
So here you can just press enter to use all of these
所以這裡你可以直接按 Enter 來使用所有這些工具,
23:23.790–23:26.210
or you can also uncheck them if you do not need them.
或者如果你不需要它們,也可以取消勾選。
23:26.210–23:28.433
In the next stage, we're going to select the terminal back end.
在下一個階段,我們將選擇終端後端(terminal back end)。
23:28.433–23:32.573
Here you can keep this as the default, which is local by just pressing on the space bar.
這裡你可以保持預設值為本地(local),只需按空格鍵即可。
23:32.573–23:37.801
In the next stage, we're going to connect a messaging platform with which we're going to use to talk to all our AI agents.
在下一個階段,我們將連接一個通訊平台,我們將用它來與所有我們的 AI 代理進行對話。
23:37.801–23:39.811
And here, it's recommended that you set this up
這裡建議您進行設定
23:39.811–23:41.976
because we don't want to be talking to the AI agents
因為我們不想每次都要透過這裡 VPS 上的終端機
23:41.976–23:44.038
every time through the terminal here on the VPS.
每次都要透過 VPS 上的終端機來操作
23:44.038–23:46.699
We want to have a simple, more friendly user interface
我們希望擁有一個簡單、更友善的使用者介面,
23:46.699–23:48.295
that we can talk to the AI agents.
讓我們可以與 AI 代理進行對話。
23:48.295–23:50.821
So, here we're going to select set up messaging,
所以,這裡我們將選擇設定通訊(set up messaging),
23:50.821–23:52.400
which is recommended anyway.
反正這還是推薦的做法。
23:52.400–23:53.865
So press space bar on the keyboard
所以請按下鍵盤上的空白鍵
23:53.865–23:56.376
and then you're going to list all the messaging platforms
接著你會看到所有目前與 Hemis 配對的通訊平台列表
23:56.376–23:58.260
that are currently configured with Hemis.
這些都是目前與 Hemis 設定好的通訊平台。
23:58.260–24:00.675
And as you can see there are a pool of them that you can use.
你可以看到有一堆你可以使用的選項。
24:00.675–24:02.640
But in this setup we're going to be going with Telegram.
但在這個設定中,我們將使用 Telegram。
24:02.640–24:05.629
So just press down on your keyboard and then here don't press enter.
所以只需在鍵盤上按向下鍵,然後這裡不要按 Enter。
24:05.629–24:07.600
If you press enter it would skip this part.
如果你按 Enter,就會跳過這個部分。
24:07.600–24:10.382
Press spacear on your keyboard to make sure that is checked.
按下鍵盤上的空白鍵以確保該選項已被勾選。
24:10.382–24:12.133
And after that you can just press enter.
之後你就可以直接按 Enter。
24:12.133–24:14.390
And then here we're going to create a telegram bot.
接著這裡我們將建立一個 Telegram 機器人。
24:14.400–24:15.541
And this is going to be the bot
這將是我們用來
24:15.541–24:16.967
with which we will talk to the agents
與我們即將建立的
24:16.967–24:18.061
that we're going to create.
那些代理程式對話的機器人。
24:18.061–24:19.069
For the Telegram B setup,
對於 Telegram 機器人的設定,
24:19.069–24:20.749
you can either go with the automatic setup
你可以選擇自動設定
24:20.749–24:21.997
or you can also go with a manual.
或者你也可以選擇手動設定。
24:21.997–24:23.978
In my case, I'm going to go with the middle option
在我的情況下,我將選擇中間的選項
24:23.978–24:25.365
just to show you how you can do this
只是要展示給你如何操作
24:25.365–24:27.594
if later you would need this for another application.
如果未來你需要為其他應用程式進行此操作。
24:27.594–24:30.077
So for manual, just press two and then press enter.
因此,在手動模式下,只需按下 2 然後按 Enter。
24:30.077–24:33.464
And then HS is going to ask us what is the Telegram bot token.
接著 HS 會詢問我們 Telegram bot token 是什麼。
24:33.464–24:37.621
So to do that, just come to Telegram and look for a bot called BotFather.
要做到這一點,只需前往 Telegram 並搜尋名為 BotFather 的機器人。
24:37.621–24:41.923
So you can see that the right botfather bot has over 7 million monthly users.
你可以看到正確的 BotFather 機器人擁有超過 700 萬的月活躍用戶。
24:41.923–24:44.422
So that you are pretty sure that you are using the right bot.
這讓你相當確定你使用的是正確的機器人。
24:44.422–24:45.271
Be careful here.
這裡要小心。
24:45.271–24:47.120
As you can see there a lot of botfather here.
如你所見,這裡有很多 BotFather。
24:47.120–24:52.599
But the one that you need is this one here with a check mark here and also with over 7 million monthly users.
但你需要的是這裡這個帶有勾號且擁有超過 700 萬月活躍用戶的機器人。
24:52.599–24:56.400
To create a new ground, use the command forward slash and then type in new bot.
要建立新機器人,請使用命令斜線然後輸入 new bot。
24:56.400–24:59.354
And then you can press enter or you can click on the suggestion that we have here.
然後你可以按 Enter 或點擊我們這裡提供的建議。
24:59.354–25:01.309
Now here we're going to have to give our bot a name.
現在這裡我們必須給我們的機器人一個名稱。
25:01.309–25:05.988
I'm going to call this km in my case for computer mechanic content creation OS.
在我的情況下,我會稱之為 km,代表電腦機械內容創作作業系統。
25:05.988–25:11.023
So when you're done with the name just press enter and then you're going to be asked to put in the user of the bot.
因此,當你完成名稱後,只需按 Enter,接著你會被要求輸入機器人的使用者名稱。
25:11.023–25:14.386
Now very important here the username has to end with the name but
現在這裡非常重要,使用者名稱必須以名稱結尾,但
25:14.386–25:20.096
and that is why I copied this because in my case I just want to call it the same name but just add the word but to it
這就是我複製它的原因,因為在我的情況下,我只想使用相同的名稱,但只是加上 "bot" 這個字
25:20.096–25:21.746
and after that just press enter
然後之後只需按 Enter
25:21.746–25:24.006
and then the bot is going to be created for you.
接著機器人就會為你建立。
25:24.006–25:28.040
Now when the bot is created the botfather is going to give you a unique key
現在當機器人建立完成,BotFather 會給你一個唯一的金鑰
25:28.040–25:32.880
that means that you are the creator of that bot or you are basically the owner of the bot.
這意味著你是該機器人的建立者,或者說你基本上是該機器人的擁有者。
25:32.880–25:34.633
So I'm going to click here to copy the key
因此,我會點擊這裡來複製金鑰
25:34.633–25:37.023
because that is what the hemis installation is asking
因為這是 hemis 安裝程式所要求的
25:37.023–25:38.616
and I'm going to paste in the key here
我將在此處貼上金鑰
25:38.616–25:40.050
and after that just press enter.
然後按下 Enter 鍵即可。
25:40.050–25:42.233
Now this step is a highly recommended step.
現在這個步驟是非常建議執行的。
25:42.233–25:43.369
Hermes is asking you,
Hermes 正在詢問你,
25:43.369–25:44.821
do you want to put some users
你是否要設定一些使用者
25:44.821–25:47.850
who are the only people that are allowed to talk to the bot?
這些使用者是唯一被允許與機器人對話的人嗎?
25:47.850–25:49.233
Now this is very very important
現在這非常非常重要
25:49.233–25:51.362
because if someone has the username of your bot,
因為如果有人知道你的機器人使用者名稱,
25:51.362–25:53.490
you don't want them to be able to talk to your bot.
你不想讓他們能夠與你的機器人對話。
25:53.490–25:55.439
And that is why we're going to tell her,
這就是為什麼我們要告訴 Hermes,
25:55.439–25:57.998
hey, let me be the only one that can talk to this bot.
嘿,讓我成為唯一能與這個機器人對話的人。
25:57.998–26:00.823
And the only way Hermes can know that it's you
而 Hermes 知道那是你的唯一方式
26:00.823–26:04.183
is by giving Hermes what your user ID for Telegram is.
就是提供 Hermes 你的 Telegram 使用者 ID。
26:04.183–26:06.081
And to get your Telegram user ID,
要取得你的 Telegram 使用者 ID,
26:06.081–26:07.697
we're also going to use a bot
我們也將使用一個機器人
26:07.697–26:09.314
that is called user info bot
叫做 user info bot
26:09.314–26:11.352
which also has over 400,000 users.
它也有超過 40 萬名使用者。
26:11.352–26:13.566
There are a lot of other bots out there.
市面上有很多其他的機器人。
26:13.566–26:15.573
So make sure that you have the right one here.
所以請確保你在此處使用的是正確的機器人。
26:15.573–26:16.613
And to get your user ID,
要取得你的使用者 ID,
26:16.613–26:18.638
you can just send the bot any message like hi.
你只需傳送任何訊息給機器人,例如 hi。
26:18.638–26:21.398
And the bot is going to respond with your user ID.
機器人會回覆你的使用者 ID。
26:21.398–26:23.254
So I'm going to click here to copy my user ID.
所以我將點擊這裡複製我的使用者 ID。
26:23.254–26:26.452
I'm going to come back to the terminal in Hermes installation.
接著回到 Hermes 安裝的終端機。
26:26.452–26:29.219
I'm going to paste in the user ID and I'm going to press enter.
我要貼上使用者 ID 並按下 Enter。
26:29.219–26:33.066
And then Hermes is going to ask you if you want to set this user ID as the home channel.
然後 Hermes 會詢問你是否要將此使用者 ID 設為主要頻道。
26:33.066–26:36.264
That means that in the messaging chat that you are talking to the bots,
這表示在你與機器人對話的通訊聊天中,
26:36.264–26:39.739
whenever the Hemis gateway is restarting or any system things are going on,
只要 Hemis 閘道器重新啟動或有任何系統操作,
26:39.739–26:42.496
you're just going to get a notification in this chat window.
你只會在此聊天視窗收到通知。
26:42.496–26:44.568
You can type in a Y for yes and then press enter.
你可以輸入 Y 表示是,然後按下 Enter。
26:44.568–26:49.098
And then you're going to be asked if you want to install the Hemis gateway as a system service.
接著系統會詢問你是否要將 Hemis 閘道器安裝為系統服務。
26:49.098–26:53.514
This very important because whenever your VPS server restarted due to a system update or anything,
這非常重要,因為當你的 VPS 伺服器因系統更新或其他原因重新啟動時,
26:53.514–26:58.515
the Hemis gateway is going to start automatic which is quite useful so that you do not have to start this manually.
Hemis 閘道器會自動啟動,這相當實用,因為你不必手動啟動它。
26:58.515–27:00.441
Press Y for yes and then press enter.
輸入 Y 表示是,然後按下 Enter。
27:00.441–27:03.151
And then here you're going to be asked how do you want to run the gateway?
接著系統會詢問你要如何執行閘道器?
27:03.151–27:05.852
In our case, we're going to go with the system service.
在我們的情況下,我們選擇系統服務。
27:05.852–27:06.720
So press enter.
所以按下 Enter。
27:06.720–27:11.510
And then I'm going to be prompted again, do you want to run and install the gateway as a background system service?
接著系統會再次提示,你是否要將閘道器作為背景系統服務執行並安裝?
27:11.520–27:12.848
I'm going to press Y for yes
我將輸入 Y 表示是
27:12.848–27:14.296
and I'm going to press enter.
然後我會按下 Enter。
27:14.296–27:16.256
And then the Hemis installation is completed.
接著 Hemis 的安裝就完成了。
27:16.256–27:17.374
Now very important here,
現在這裡非常重要,
27:17.374–27:19.076
we're going to have to reload our shell
我們必須重新載入 shell
27:19.076–27:20.460
so that we can just type in Hemus
這樣我們才能直接輸入 Hemis
27:20.460–27:22.429
and this will launch the Hemis application.
這就會啟動 Hemis 應用程式。
27:22.429–27:23.026
And to do that,
要做到這一點,
27:23.026–27:25.462
just copy the command that they have provided for you here.
只需複製他們在此提供的指令。
27:25.462–27:27.480
Paste this command back in the terminal
將此指令貼回終端機
27:27.480–27:28.580
and just press enter.
然後按下 Enter。
27:28.580–27:30.411
It's basically going to restart the shell for you.
這基本上會為您重新啟動 shell。
27:30.411–27:31.029
Now remember,
現在請記住,
27:31.029–27:33.243
we are basically done with the Hemis installation.
我們基本上已經完成 Hemis 的安裝。
27:33.243–27:33.986
But in my case,
但在我的情況下,
27:33.986–27:35.409
I didn't select any AI model
我沒有選擇任何 AI 模型
27:35.409–27:37.514
because I want to bring in my own AI model.
因為我想引入自己的 AI 模型。
27:37.514–27:40.128
So here we're going to configure our own AI model.
所以這裡我們將配置我們自己的 AI 模型。
27:40.128–27:41.914
And I'm also doing this in this way
我也是以這種方式進行
27:41.914–27:43.253
so that you guys can learn
這樣你們可以學習
27:43.253–27:45.358
how you can add your own AI models later.
如何在未來添加自己的 AI 模型。
27:45.358–27:47.900
Now, if in future you want to add some AI models,
現在,如果未來你想新增一些 AI 模型,
27:47.900–27:50.834
you can basically ask your AI agents to do this for you.
你基本上可以要求你的 AI 代理來為你完成這項工作。
27:50.834–27:52.529
But I typically do not recommend this
但我通常不建議這樣做,
27:52.529–27:55.153
because in most of the cases the AI model is not very smart,
因為在大多數情況下,AI 模型並不够聰明,
27:55.153–27:57.394
they basically mess up with your configuration.
它們基本上會搞砸你的設定。
27:57.394–27:59.017
And that is why for stuffs like that
這就是為什麼對於這類事情,
27:59.017–28:00.305
I prefer to do this on my own.
我傾向於自己處理。
28:00.305–28:02.092
Now for which AI model to use
至於要使用哪種 AI 模型,
28:02.092–28:03.957
this is absolutely up to you.
這完全取決於你。
28:03.957–28:06.121
But what I typically use most of the time
但我通常最常使用的,
28:06.121–28:08.089
which a lot of people do not also know
也是許多人不知道的,
28:08.089–28:10.647
is that if you do have a charge GPT subscription
是如果你擁有付費的 ChatGPT 訂閱,
28:10.647–28:12.876
if you the plus account or the pro account
無論是 Plus 帳戶還是 Pro 帳戶,
28:12.876–28:15.434
you would be able to use an AI model from open AAI
你都可以使用來自 OpenAI 的 AI 模型,
28:15.434–28:16.559
that is called Codex
該模型名為 Codex,
28:16.559–28:18.370
on her agent basically for free.
基本上可以在你的代理中免費使用。
28:18.370–28:20.420
If you have the $20 plan you can use
如果你擁有 20 美元的方案,你可以使用,
28:20.420–28:21.445
you can use this.
你可以使用這個功能。
28:21.445–28:24.155
If you have the pro plan you can also use this.
如果你擁有 Pro 方案,你也可以使用這個功能。
28:24.155–28:27.728
I'm I'm not very sure if this is available for the Go plan.
我不太確定這個功能是否適用於 Go 方案。
28:27.728–28:30.048
In my case, most of the time I'm using the pro plan.
在我的情況下,我大部分時間都在使用專業方案。
28:30.048–28:35.669
And the usage limits that you have for the pro plan is more than you would get for the $20 plan, obviously.
而且專業方案的用量限制顯然比 20 美元方案給你的更多。
28:35.679–28:38.720
So, if you're not sure which one you need, you can go with the plus account.
所以,如果你不確定自己需要哪一種,可以選擇加值方案。
28:38.720–28:42.332
If you hit your limit, you can basically always upgrade to the pro plan.
如果你達到了用量限制,基本上總是可以升級到專業方案。
28:42.332–28:44.930
Now, the is also a bit generous in terms of the token limits.
現在,加值方案在權杖(token)限制方面也相當寬鬆。
28:44.930–28:48.769
So, you would be able to do a lot even if you are using the $20 subscription.
所以,即使你使用的是 20 美元的訂閱方案,你也能進行大量操作。
28:48.769–28:51.760
The advantage here is that it's not basically a pay as you go.
這裡的優勢在於,它基本上不是按用量付費。
28:51.760–28:53.756
Whenever your limits are done, you are done.
一旦你的用量限制用完,你就無法繼續使用。
28:53.756–28:55.637
You do not get any surprise bill from OPDI
你不會收到來自 OPDI 的任何意外帳單,
28:55.637–28:58.404
that hey, you've used more than your subscription allowed,
告訴你「你使用的量超過了訂閱允許的範圍,
28:58.404–28:59.511
so you have to pay extra.
所以你需要額外付費」。
28:59.511–29:00.399
That does not exist.
這種情況並不存在。
29:00.399–29:02.577
And that is why I personally go with these options
這也是為什麼我個人會選擇這些方案,
29:02.577–29:05.447
because it's you don't have to worry about having a surprise bill
因為你不必擔心會收到意外帳單
29:05.447–29:06.456
or anything like that.
或類似的情況。
29:06.456–29:07.166
Personally,
個人來說,
29:07.166–29:08.134
I'm on the pro plan
我使用的是專業方案,
29:08.134–29:09.876
because I have a lot of Hem setups
因為我有許多 Hem 設定,
29:09.876–29:12.393
and that is why my token usage is also very high.
所以我的權杖使用量也非常高。
29:12.393–29:14.920
And also for the tutorials that I create for you guys,
另外,為了為你們製作教學影片,
29:14.920–29:16.527
I typically try this over 10 times
我通常會嘗試超過 10 次
29:16.527–29:21.293
and that is why I typically need a higher limit in terms of the tokens that they make available to you.
這就是為什麼在他們提供給您的 token 數量方面,我通常需要更高的上限。
29:21.293–29:22.614
when I had one Hemis account
當我擁有一個 Hemis 帳戶時
29:22.614–29:23.600
or when I had one open
或者當我擁有一個開放的
29:23.600–29:24.350
CL account,
CL 帳戶時,
29:24.350–29:26.826
this one was way more sufficient for me.
這個額度對我來說已經遠遠足夠了。
29:26.826–29:31.255
Now, what people also not aware of is that if you also do have an X account,
現在,人們還不了解的一點是,如果您也擁有 X 帳戶,
29:31.255–29:34.725
you can also use the Crog model on Hermes agents for free.
您也可以免費在 Hermes 代理上使用 Crog 模型。
29:34.725–29:39.465
So whether you have a chat GPT paid account or you have a premium or paid subscription,
所以無論您是擁有付費的 ChatGPT 帳戶,還是擁有高級或付費訂閱,
29:39.465–29:42.880
you can use in both cases their AI models on her agent for free.
在兩種情況下,您都可以免費在 Hermes 代理上使用他們的 AI 模型。
29:42.880–29:47.614
If you do not want any of these and probably you want a particular model like from Antropic,
如果您不想要這些,並且可能想要特定的模型,例如來自 Anthropic 的
29:47.614–29:50.455
oo, sonet or whatever, we can also come to open router.
oo、sonet 或其他模型,我們也可以轉向 Open Router。
29:50.455–29:55.274
Open router has quite a pool of a models like all the popular AI models that are out there.
Open Router 擁有相當多的模型池,包括市面上所有流行的 AI 模型。
29:55.274–29:56.518
You can get them on Open Router.
您可以在 Open Router 上獲取它們。
29:56.518–29:59.954
The advantage with Open Router is that they're going to give you one API key
Open Router 的優勢在於,他們會提供您一個 API 金鑰
29:59.954–30:03.445
and with that API key, you can get access to all the models that are out there.
憑藉此 API 金鑰,您可以存取市面上所有的模型。
30:03.445–30:06.563
The tricky thing that you have to take note of the fact that with Open Router
您需要留意的一個棘手事實是,使用 Open Router
30:06.563–30:07.679
is basically pay as you go.
基本上是按需付費。
30:07.679–30:11.551
It's not a case where you paid a month and then when you hit your limit, you hit your limits.
這不是您付了一個月的費用,然後達到上限就無法繼續使用的模式。
30:11.551–30:12.791
You basically pay as you go.
您基本上是按需付費。
30:12.791–30:14.701
The more you use, the more you pay.
使用越多,付費越多
30:14.701–30:18.240
So, I mean with whatever model that you want to use is completely up to you.
所以,你想用什麼模型完全由你決定
30:18.240–30:20.951
just go for the option that makes the most sense to you.
就選對你來說最合理的方案吧
30:20.951–30:25.147
Now, in my case, I'm going to be going with my OpenAI because I have a CHBT subscription.
現在,就我來說,我會選擇使用我的 OpenAI,因為我已經訂閱了 CHBT。
30:25.147–30:27.953
And to use that, I'm going to clear the screen here to make it a bit cleaner.
為了使用這個功能,我會先清除畫面,讓它看起來更整潔。
30:27.953–30:31.038
Just put in a command Heis space model and then press enter.
輸入指令 Heis space model 然後按 Enter
30:31.038–30:35.625
And [clears throat] this is going to load all the models that are currently available on Hemis agent.
然後清一下喉嚨,這會載入 Hemis agent 目前提供的所有模型
30:35.625–30:41.438
If you do have an paid premium X account, then your option would be here, the X AI Grock.
如果你擁有付費的 X Premium 帳號,那麼你的選項會是這裡的 X AI Grok。
30:41.438–30:44.506
The process is going to be the same irrespective of which option that you go for.
無論選擇哪個選項,操作流程都是一樣的
30:44.506–30:47.360
So, in my case, I'm going to select this by pressing the space bar.
所以,在我的情況下,我會按下空白鍵來選擇這個選項。
30:47.360–30:50.878
And then here we're going to have the option to choose between open open AI API.
接著這裡我們會看到可以選擇使用開放的 OpenAI API
30:50.878–30:53.971
If you go with API then you pay as you go.
若選擇 API 則採按用量付費模式
30:53.971–30:59.310
So the more you use the more you pay and then you would have to create a dedicated API key to collect this.
所以使用越多付費越高,接著你必須建立專屬的 API 金鑰來收取費用。
30:59.310–31:01.872
But in our setup we're going to be using our charging subscription.
但在我們的設定中,我們將使用我們的充電訂閱方案。
31:01.872–31:04.005
So I'm going to go with the open AAI codeex.
所以我打算採用開放的 AAI codeex
31:04.005–31:08.745
And to do that we're going to press control and we're going to click on this URL that is provided here.
要做到這一點,我們需要按下 Control 鍵,然後點擊這裡提供的網址。
31:08.745–31:12.166
And in the process we're going to have to enter this code that is over here.
過程中我們必須輸入這裡的代碼
31:12.166–31:13.760
So just highlight this code.
所以只要選取這段程式碼
31:13.760–31:14.696
Very important.
非常重要
31:14.696–31:16.080
Press control shift C.
按下 Control Shift C
31:16.080–31:18.040
Do not press Ctrl C.
不要按 Ctrl C。
31:18.040–31:19.893
Ctrl C in Linux cancel an application
在 Linux 中,Ctrl C 會取消應用程式
31:19.893–31:21.746
and this would quit this whole screen
這會導致整個畫面退出
31:21.746–31:23.719
and that is why you press control shift C
這就是為什麼你要按 Control Shift C
31:23.719–31:26.240
and then the link is going to bring you to this page.
然後連結會帶你到這個頁面。
31:26.240–31:29.466
All you're going to have to do is to just log into your OpenAI account.
你只需要登入你的 OpenAI 帳戶。
31:29.466–31:32.137
So I'm going to click here and then click on continue
所以我會點擊這裡,然後點擊繼續
31:32.137–31:35.366
and then just put in the code that we copied from the PowerShell
然後輸入我們從 PowerShell
31:35.366–31:38.037
from the Hermise installation and click continue.
從 Hermise 安裝中複製的程式碼,並點擊繼續。
31:38.037–31:42.226
And then our CEX account or our OpenAI account is now bound to our Hemis setup
然後我們的 CEX 帳戶或 OpenAI 帳戶現在已綁定到我們的 Hemis 設定
31:42.226–31:45.884
and then when you come here you see that the authentication is done
然後當你來到這裡時,你會看到認證已完成
31:45.884–31:48.810
and then here we are being asked to select an AI model.
然後這裡要求我們選擇一個 AI 模型。
31:48.810–31:52.216
And then here you can use any of the models that you have here.
然後在這裡你可以使用這裡的任何模型。
31:52.216–31:56.741
Remember the higher the number like 5.6 takes way more tokens than 5.4
記住,數字越高,例如 5.6,比 5.4 消耗更多的 token
31:56.741–32:00.095
4 than 5.5, which also takes higher tokens than 5.4.
比 5.5 消耗更多的 token,而 5.5 也比 5.4 消耗更多 token。
32:00.095–32:02.071
In my case, I go with 5.5 most of the time
在我的情況下,我大多數時候選擇 5.5
32:02.071–32:06.022
because it's still a very super powerful model and I always want more tokens.
因為它仍然是一個非常強大的模型,而我總是希望有更多的 token。
32:06.022–32:09.796
But hey, if you are on the $100 plan and you have a lot of tokens,
但是嘿,如果你使用的是 100 美元的方案並且擁有大量的 token,
32:09.796–32:11.360
you can also go with a 5.6.
你也可以選擇 5.6。
32:11.360–32:12.503
That's absolutely up to you.
這完全取決於你。
32:12.503–32:13.885
I'm going to go with 5.5 here.
我這裡選擇使用 5.5。
32:13.885–32:15.205
I'm going to press spacebar.
我將按下空白鍵。
32:15.205–32:19.664
And then you can see that it says that my default model has been set to GPT 5.5.
接著你會看到系統顯示我的預設模型已設定為 GPT 5.5。
32:19.664–32:25.170
Now before we go into the telegram to test to see if everything works from the Hemis installation and
現在,在進入 Telegram 測試 Hemis 安裝與
32:25.170–32:28.022
from the model configuration just type in Hemus and
模型設定是否運作之前,請輸入 Hemus 並
32:28.022–32:31.869
this is going to open what is called a Hermes terminal user interface.
這將開啟所謂的 Hermes 終端使用者介面。
32:31.869–32:33.225
Now it's going to be a chat box
現在它將變成一個聊天視窗
32:33.225–32:35.766
where you can basically talk to your default AI agents
你可以在其中基本上與你的預設 AI 代理互動
32:35.766–32:37.461
to make sure that everything works.
以確保一切運作正常。
32:37.461–32:39.731
But a lot of people like me do not use this part
但像我在內的大多數人並不使用這個部分
32:39.731–32:42.185
because then you always have to log into your VPS
因為這樣你總是需要登入你的 VPS
32:42.185–32:44.516
come to this weird page to talk to the AI agent.
來到這個奇怪的頁面與 AI 代理對話。
32:44.516–32:46.381
We just want to make sure that the setup works
我們只是想確認設定是否運作
32:46.381–32:47.691
and that is why I'm coming here.
這也是我來到這裡的原因。
32:47.691–32:49.749
So here I'm just going to send in a message like hi
所以這裡我只會傳送像「hi」這樣的訊息
32:49.749–32:52.938
and if the agent responds then it means that the hemis installation works.
如果代理回應,那就代表 hemis 安裝運作正常。
32:52.938–32:55.586
It also means that the AI model configuration worked
這也表示 AI 模型設定運作正常
32:55.586–32:59.076
and here you can see that the agent response hi what can I help you with?
而這裡你可以看到代理回應:hi,我能為你做什麼?
32:59.076–33:01.089
So that means that our installation worked
這代表我們的安裝成功了
33:01.089–33:02.711
the AI model configuration works.
AI 模型設定運作正常。
33:02.711–33:05.835
Now to leave this screen you can press Ctrl C on your keyboard
現在要離開這個畫面,你可以按鍵盤上的 Ctrl C
33:05.835–33:09.458
or you can also just type forward slash and type in exit and press enter
或者你也可以直接輸入斜線,然後輸入 exit 並按 Enter
33:09.458–33:13.082
and this is going to kick you out of the Hemis terminal user interface.
這將使你退出 Hemis 終端使用者介面。
33:13.082–33:15.524
A quick word from today's sponsor, Sudalis AI,
來自今日贊助商 Sudalis AI 的簡短介紹,
33:15.524–33:17.840
and it's worth paying attention to this one.
這部分值得特別留意
33:17.840–33:22.230
Problem they are solving is that enterprises are currently drowning in disconnected AI.
他們正在解決的問題是,企業目前正被分散的 AI 工具淹沒。
33:22.240–33:25.902
Most companies are using AI tools that do not even talk to each other.
大多數公司使用的 AI 工具甚至無法互相溝通。
33:25.902–33:29.275
One tool does this, another does that, but nothing connects.
一個工具做這個,另一個做那個,但沒有任何連接。
33:29.275–33:31.333
So nothing really works together.
所以實際上沒有任何東西能協同運作。
33:31.333–33:35.001
Sudalis AI built a system that connects everything into one stack.
Sudalis AI 建構了一個將所有內容連接成單一堆疊的系統。
33:35.001–33:39.238
Check them out at sudalis.ai with all the links in the description section.
請在描述區的連結中前往 sudalis.ai 查看。
33:39.238–33:41.250
Thanks Sudalis AI for sponsoring this video.
感謝 Sudalis AI 贊助本影片。
33:41.250–33:43.912
Now we're going to come back to botfather.
現在我們要回到 botfather。
33:43.912–33:49.167
When bot created them for us, he also gives us this URL with which we can start talking to the bots.
當 botfather 為我們建立 bot 時,他也給了我們這個 URL,我們可以透過它開始與 bot 對話。
33:49.167–33:50.810
So here just click on this URL here.
所以這裡只要點擊這個 URL。
33:50.810–33:54.080
It's going to open a new chat session with the bot that was created.
它將開啟一個與所建立之 bot 的新聊天工作階段。
33:54.080–33:55.350
You can just click start.
你只需點擊 start。
33:55.350–33:57.897
Now this is going to send a message like start to the bot.
現在這將向 bot 發送類似 start 的訊息。
33:57.897–34:01.669
But the bot doesn't respond but it doesn't understand what start means.
但 bot 不會回應,因為它不理解 start 的意思。
34:01.679–34:04.653
So here we're just going to send a message to the bot like hi.
所以這裡我們將向 bot 發送類似 hi 的訊息。
34:04.653–34:07.270
And if everything works the bot is going to start typing it.
如果一切順利,機器人就會開始輸入。
34:07.270–34:13.039
So if you see this typing symbol then it means that the bot is configured and the bot is going to respond to you.
所以如果你看到這個輸入符號,就代表機器人已設定完成,並且會回應你。
34:13.039–34:15.850
So the bot responded hi what can I help you with today.
機器人回應了:「嗨,今天我能為你做什麼?」
34:15.850–34:18.207
Now we're not going to be talking to the bot in this session here.
在目前的這個工作階段中,我們不會與機器人對話。
34:18.207–34:21.588
What we want to create is we're going to create a telegram group for our bots.
我們想要建立的是,我們將為我們的機器人建立一個 Telegram 群組。
34:21.588–34:24.985
The reason why we're going to create a group is that we're going to have basically three topics.
建立群組的原因是,我們基本上會有三個主題。
34:24.985–34:28.024
The first topic is going to be where we're going to be talking to the bots
第一個主題將是我們與機器人對話的地方。
34:28.024–34:29.672
which is going to be our orchestrator.
這將是我們的協調器(orchestrator)。
34:29.672–34:32.385
And then we're going to have a second topic or a second channel
然後我們將有第二個主題或第二個頻道。
34:32.385–34:34.778
which we're going to use to talk to our developer agent
我們將用它來與我們的開發人員代理(developer agent)對話。
34:34.778–34:36.906
who is going to build the whole dashboard for us.
他將為我們建立整個儀表板。
34:36.906–34:38.746
And then we're going to have a third channel
然後我們將有第三個頻道。
34:38.746–34:40.177
which we're going to call studio.
我們將稱之為工作室(studio)。
34:40.177–34:42.711
And that is where we're going to brainstorm ideas and stuff like that
那就是我們將與我們的代理(agents)一起腦力激盪想法等等的地方。
34:42.711–34:43.333
with our agents.
與我們的代理(agents)。
34:43.333–34:44.761
When we are creating the group,
當我們建立群組時,
34:44.761–34:48.717
a prerequisite to create a group is that you have to get at least two people in the group.
建立群組的先決條件是你必須在群組中至少有兩個人。
34:48.717–34:50.690
So we're going to need the username of our bots
所以我們需要我們機器人的使用者名稱。
34:50.690–34:53.494
so that we can add this bot to the group that we're going to create.
以便我們將這個機器人加入我們將建立的群組。
34:53.494–34:55.187
I'm going to click on the name of the bot here.
我將點擊這裡機器人的名稱。
34:55.187–34:58.194
And then here we can click to copy the username of the bot.
接著,我們可以點擊複製這個 bot 的使用者名稱。
34:58.194–35:00.287
And after that we can close this dialogue box
之後,我們可以關閉這個對話方塊
35:00.287–35:02.041
and then we can create this new group.
接著,我們可以建立這個新群組。
35:02.041–35:03.149
Now to create a new group,
現在要建立新群組,
35:03.149–35:06.211
click on the hamburger menu that you have here on the left section here
點擊左側區域的選單按鈕
35:06.211–35:07.425
and then click on new group.
然後點擊「新群組」。
35:07.425–35:08.910
And then we're going to name the group.
接著,我們要為群組命名。
35:08.910–35:11.405
In my case, I'm going to call this KM Content OS
在我的情況下,我會將這個群組命名為 KM Content OS
35:11.405–35:12.653
and then click on next.
然後點擊「下一步」。
35:12.653–35:15.630
And then we're going to have to add at least one person to the group.
接著,我們必須在群組中至少加入一個人。
35:15.630–35:17.944
And that is why we copy the username of our bots.
這就是為什麼我們要複製 bot 的使用者名稱。
35:17.944–35:19.035
So I paste in the username
所以我把使用者名稱貼上
35:19.035–35:20.749
and I'm going to click to select the bots
然後點擊選擇這些 bot
35:20.749–35:22.152
and I'm going to click on create.
接著我會點擊建立
35:22.152–35:24.266
And then now we have our group created.
現在我們已經建立好群組了。
35:24.266–35:27.438
But like I said, we want to create different channels in this group.
但就像我說的,我們希望在這個群組中建立不同的頻道。
35:27.438–35:31.064
Now, we're going to have to make the bots that we added an administrator
現在,我們必須將我們加入的 bot 設為管理員
35:31.064–35:33.040
so that the bots can talk in this group.
這樣 bot 才能在這個群組中發言。
35:33.040–35:34.736
Click on the three dots that we have here.
點擊這裡的三個點
35:34.736–35:36.013
Come to group info.
進入群組資訊。
35:36.013–35:36.937
Click on manage.
點擊管理。
35:36.937–35:39.249
Come down here and click on administrators.
往下滑並點擊管理員。
35:39.249–35:40.267
Add administrator.
新增管理員。
35:40.267–35:43.775
We're going to select the board that we created because the board is already in that group.
我們將選擇我們建立的看板,因為該看板已經在該群組中。
35:43.775–35:47.086
And just review the permissions that you want to give to the board and just click on save.
並僅需檢視您希望授予看板的權限,然後點擊儲存。
35:47.086–35:50.392
And then now you see that our bot has an admin privileges.
接著現在您可以看到我們的機器人擁有管理員權限。
35:50.392–35:51.760
After that, click on close.
之後,點擊關閉。
35:51.760–35:55.977
Now, whilst we are here, we also going to enable this aspect that I call channels.
現在,當我們在此時,我們也將啟用這個我稱為頻道的功能。
35:55.977–36:01.404
So by default, Telegram doesn't enable these channels or what is called in Telegram topics for you.
因此,預設情況下,Telegram 不會為您啟用這些頻道,或在 Telegram 中稱為主題的功能。
36:01.404–36:05.883
So to enable this, just click on the topics section here, which is in my case by default off.
因此,要啟用此功能,只需點擊這裡的主題部分,在我的情況下預設為關閉。
36:05.883–36:07.888
Click on this and then you can enable this.
點擊此處,然後您可以啟用此功能。
36:07.888–36:10.240
And then here you can decide the view that you want to go for.
接著在這裡您可以決定您想要採用的檢視方式。
36:10.240–36:12.307
In this case, I'm going to go with the tabs option here.
在這種情況下,我將選擇這裡的分頁選項。
36:12.307–36:13.633
And then just click on save.
然後只需點擊儲存。
36:13.633–36:15.097
And I'm going to click on save again.
我將再次點擊儲存。
36:15.097–36:16.640
And then we can now close this.
接著我們可以關閉此視窗。
36:16.640–36:18.964
And then immediately we do that when we enable topics.
然後在我們啟用主題時立即執行此操作。
36:18.964–36:21.074
You see that now we have different channels.
您會看到現在我們有不同的頻道。
36:21.074–36:24.406
We have all channel where we going to see all the messages from all the channels.
我們有所有頻道,您可以在其中查看所有頻道中的所有訊息。
36:24.406–36:26.243
And also we have the general channel.
此外,我們還有通用頻道。
36:26.243–36:28.401
So first let's rename this general channel.
所以首先讓我們重新命名這個一般頻道。
36:28.401–36:29.861
Click on the three dots here.
點擊這裡的三個點。
36:29.861–36:30.551
Come to edit.
前往編輯。
36:30.551–36:32.577
And then we can call this channel orchestrator
然後我們可以將這個頻道命名為協調器(orchestrator)
36:32.577–36:35.537
because this is the channel where we're going to talk to our main bot.
因為這是我們將與主要機器人對話的頻道。
36:35.537–36:36.737
I'm going to click on save.
我將點擊儲存。
36:36.737–36:38.844
And then we're going to start talking to orchestrator here.
然後我們將開始在這裡與協調器對話。
36:38.844–36:41.218
So let me just send a message in the chat here.
所以讓我先在這裡的聊天中發送一條訊息。
36:41.218–36:45.382
When I send hi and our bot is typing that means that orchestrator is in this chat.
當我發送「hi」而我們的機器人正在輸入時,這表示協調器正在這個聊天中。
36:45.382–36:48.079
So we can basically start talking to orchestrator.
因此我們基本上可以開始與協調器對話。
36:48.079–36:49.861
We are going to create other two channels.
我們將建立另外兩個頻道。
36:49.861–36:51.030
But we are not there yet.
但我們還沒到那一步。
36:51.040–36:53.168
Let's just build the foundation and then when we get there,
讓我們先建立基礎,然後當我們到達那裡時,
36:53.168–36:54.862
we're going to go through that process as well.
我們也將經歷那個過程。
36:54.862–36:57.341
All the prompts that I'm going to be using in this build
我在這個建置過程中將使用的所有提示
36:57.341–36:59.214
can be made available if you interested.
如果您有興趣,都可以取得。
36:59.214–37:02.008
You can get this for a token of support on my website
您可以在我的網站上通過小額支持獲得這些內容
37:02.008–37:04.336
or if you are also a member of my community,
或者如果您也是我的社群成員,
37:04.336–37:05.533
you can also get this.
您也可以獲得這些內容。
37:05.533–37:08.090
If you guys want to be a member of my community,
如果您們想成為我的社群成員,
37:08.090–37:08.964
it's $10 a month
每月只需10美元
37:08.964–37:11.790
and you can get basically access to all the prompts
基本上你可以獲得所有提示詞的存取權限
37:11.790–37:13.001
and all the templates
以及所有範本
37:13.001–37:16.096
and all the tutorials prompts that I have on my channel.
還有我在頻道上的所有教學提示詞。
37:16.096–37:18.586
And this goes to also support the work that I do.
這也有助於支持我所做的工作。
37:18.586–37:21.149
A lot of effort goes into creating all these tutorials,
製作這些教學內容需要投入大量精力,
37:21.149–37:23.154
creating all these forms that I give to you.
製作我提供給你們的所有表單也是如此。
37:23.154–37:26.967
All the AI models that I also use in building these are also quite expensive
我在建構這些內容時所使用的AI模型也非常昂貴
37:26.967–37:30.041
and that is why I would need to get this with a token of support
這就是為什麼我需要透過這份象徵性的支持
37:30.041–37:33.485
to help me to be able to keep bringing these tutorials to you as well.
來幫助我有能力繼續為你們帶來這些教學內容。
37:33.485–37:35.175
So if you want to join my membership group,
所以如果你想加入我的會員群組,
37:35.175–37:36.624
I'll be very happy to have you there.
我會非常歡迎你加入。
37:36.624–37:38.226
We also do have a telegram channel
我們還有一個Telegram頻道
37:38.226–37:41.715
where you can basically get access to me or all the people in the community
你可以在那裡基本上接觸到我或社群中的所有成員
37:41.715–37:43.202
ask any questions that you want
提出任何你想問的問題
37:43.202–37:47.092
and everyone there would be happy to support you with the questions that you have.
那裡的所有人都很樂意協助你解答疑問。
37:47.092–37:48.633
And I also do create auto installers.
我也會建立自動安裝程式。
37:48.633–37:50.476
For instance, for the setup that I'm creating,
例如,針對我正在建立的設定,
37:50.476–37:54.208
I'm building an auto installer that would build the entire thing for you in less than 5 minutes.
我正在建構一個自動安裝程式,能在5分鐘內為你完成整個建置過程。
37:54.208–37:58.632
And this is going to be available to people in my community or my membership as well.
這也將提供給我的社群成員或會員使用。
37:58.632–37:59.944
Said, hey, if you want to join,
他說,嘿,如果你想加入,
37:59.944–38:01.466
I'm very happy to have you on board.
我非常歡迎你加入。
38:01.466–38:03.805
So, what I did now is that I moved Telegram to the left
所以,我現在做的是把 Telegram 移到左邊
38:03.805–38:05.980
and it basically had all the prompts on the right
而提示詞基本上都在右邊
38:05.980–38:07.503
so that we can basically copy this
這樣我們基本上可以複製這個
38:07.503–38:08.591
and it will be very easy.
而且會非常簡單。
38:08.591–38:11.350
Now, whenever you set up Hemis for the first time,
現在,每當你是第一次設定 Hemis 時,
38:11.350–38:13.032
the bot has no idea who you are.
機器人根本不知道你是誰。
38:13.032–38:14.473
The bot doesn't have a name.
機器人沒有名字。
38:14.473–38:18.420
the bot has no idea how the bots can help you with with whatever you want to do.
機器人也不知道它能如何幫助你完成你想做的事情。
38:18.420–38:22.941
So the first thing that I always recommend to users is hey let the bot understand who you are.
所以,我總是建議用戶的第一件事是,嘿,讓機器人了解你是誰。
38:22.941–38:24.047
Give the bot a name.
給機器人一個名字。
38:24.047–38:25.369
Tell the bot your name
告訴機器人你的名字
38:25.369–38:28.748
and give the B a gist of how he or she can help you for this.
並讓機器人了解他或她如何能幫助你。
38:28.748–38:31.037
My first point that I'm going to give to my bot is this.
我要給我的機器人的第一點是這個。
38:31.037–38:32.930
Your name is going to be orchestrator.
你的名字將是協調者(orchestrator)。
38:32.930–38:36.695
You are going to be my top level coordinator for my multi- aent setup
你將成為我多智能體設定中的最高層協調者
38:36.695–38:39.519
and I am the owner and I have the highest authority.
而我是擁有者,擁有最高權限。
38:39.519–38:41.637
And then here you're going to fill in your name to the agents.
然後在這裡,你要將你的名字填入智能體中。
38:41.637–38:43.956
You're going to also give the agents your brand name.
你還要給智能體你的品牌名稱。
38:43.956–38:46.363
You're going to give the agents your social media handle
你要提供給代理你的社群媒體帳號
38:46.363–38:49.599
because remember we are creating a social media content creation machine.
因為記住,我們正在打造一個社群媒體內容創作機器。
38:49.599–38:52.001
You're going to tell the agents what your brand teaches.
你要告訴代理你的品牌在教授什麼。
38:52.001–38:53.104
Now, this is very important
現在,這非常重要
38:53.104–38:56.270
because we're going to have this dashboard that is going to create ideas for us.
因為我們將擁有一個會為我們產生點子的儀表板。
38:56.270–38:59.516
And for the agents to be able to create these content creation ideas
而為了讓代理能夠建立這些內容創作點子
38:59.516–39:00.849
or these post ideas for you,
或是這些貼文點子給你,
39:00.849–39:03.109
they need to understand what you're building.
他們需要了解你在建構什麼。
39:03.119–39:05.596
And that is why this part here is non-negotiable.
這就是為什麼這裡的部分是不可妥協的。
39:05.596–39:08.583
You can also tell the agent what your audience is and stuff like that.
你也可以告訴代理你的受眾是誰等等。
39:08.583–39:09.520
So, I'm going to copy this.
所以,我要複製這段。
39:09.520–39:10.759
I'm going to paste this in here.
我要把它貼在這裡。
39:10.759–39:12.878
And I'm going to fill in the sections for my build.
然後我要填寫我建構的相關區塊。
39:12.878–39:13.797
So here I bought,
所以這裡我購買了,
39:13.797–39:14.060
hey,
嘿,
39:14.060–39:14.979
my name is Larry.
我的名字是 Larry。
39:14.979–39:16.677
My brand is computer mechanic.
我的品牌是 Computer Mechanic。
39:16.677–39:18.486
My social handle is computer mechanic.
我的社群帳號是 Computer Mechanic。
39:18.486–39:22.637
And here I teach it technical builders to build AI agents and automation,
而這裡我教導技術建構者建立 AI 代理和自動化,
39:22.637–39:23.726
who my audience is,
我的受眾是誰,
39:23.726–39:24.270
my voice,
我的聲音,
39:24.270–39:25.699
and my working time zone.
以及我的工作時區。
39:25.699–39:26.883
Now the working time zone,
現在來說工作時區,
39:26.883–39:27.529
for instance,
舉例來說,
39:27.529–39:30.488
is important because when the agent is creating like Chrome jobs,
這很重要,因為當代理程式建立像是 Chrome 的工作時,
39:30.488–39:33.771
then the agents will basically know when to reach you and stuff like that.
代理程式基本上會知道何時聯繫你等事項。
39:33.771–39:38.630
Now I'm going to send this to orchestrator to get him breast with who I am and also what we're going to be building today.
現在我要將這個發送給 Orchestrator,讓它了解我是誰,以及我們今天要建構什麼。
39:38.640–39:39.996
And then orchestrator responded,
接著 Orchestrator 回應,
39:39.996–39:40.510
"Hey, got it.
「嘿,收到了。
39:40.510–39:41.357
I'm orchestrator
我是 Orchestrator,
39:41.357–39:42.204
and you are Larry.
而你是 Larry。
39:42.204–39:44.073
Your brand is computer mechanic and
你的品牌是 Computer Mechanic,
39:44.073–39:47.999
your content is plain direct content teaching builders to build agents and
你的內容是簡單直接地教導建構者建立代理程式和
39:47.999–39:48.996
automation." Now,
自動化。」現在,
39:48.996–39:52.298
the next two prompts here are what I would recommend that you do.
這裡接下來的兩個提示是我建議你進行的操作。
39:52.298–39:56.267
The second prompt here is basically where you're telling orchestrator to interview you.
這裡的第二個提示基本上是告訴 Orchestrator 來對你進行訪談。
39:56.267–39:59.899
Now, what you give to orchestrator here is basically the backbone, the foundation.
現在,你提供給 Orchestrator 的內容基本上就是骨幹和基礎。
39:59.899–40:03.159
But there are so much that you can let your agents learn about you.
但你可以讓你的代理程式學習關於你的事情還有很多。
40:03.159–40:05.297
So just take time and give this prompt to Kasha
所以請花點時間,將這個提示提供給 Kasha,
40:05.297–40:08.054
is going to ask you some questions to understand who you are
它會問你一些問題來了解你是誰
40:08.054–40:11.318
of the setup that you want to build your audience and all those things.
關於你希望建立的受眾設定,以及所有相關事項。
40:11.318–40:13.119
But I'm going to skip this in the tutorial
不過在教學中我會跳過這部分
40:13.119–40:15.291
because otherwise the tutorial will get lengthy
因為否則教學內容會變得冗長
40:15.291–40:17.992
because for my testing or would ask you about 10 15 questions.
因為在我的測試中,它會問你大約 10 到 15 個問題。
40:17.992–40:21.367
So I would skip this just not to get the tutorial too lengthy.
所以我會跳過這部分,以免教學變得過於冗長。
40:21.367–40:24.934
The second thing that I would also suggest to you is this permanent operating rules.
第二個我也建議你採用的做法是這些永久運作規則。
40:24.934–40:27.094
Now when you are working with the agents
現在當你與代理程式合作時
40:27.094–40:32.591
it's always advisable to let the agents always give you a plan before they do anything they want to do.
建議讓代理程式在執行任何動作之前,先提供你一份計畫。
40:32.591–40:34.080
And also when the agents are working,
此外,當代理程式正在運作時,
40:34.080–40:37.539
you always want the agents to keep you updated in the process of what they are building.
你總是希望代理程式在他們建構的過程中隨時向你更新進度。
40:37.539–40:42.556
Otherwise, sometimes you just sit in the dark and you do not know if the task is completed or the task is is done.
否則,有時你只能乾坐著,不知道任務是否已完成或已結束。
40:42.556–40:47.395
And that is why I prepare always these permanent operating rules which you can also give to your agent.
這就是為什麼我總是準備這些永久運作規則,你也可以將其提供給你的代理程式。
40:47.395–40:48.505
It's optional for you
這對你來說是可選的
40:48.505–40:49.676
if you want to have this
如果你希望擁有這個
40:49.676–40:50.971
this there ready for you.
這個現成的設定。
40:50.971–40:52.499
I'm going to skip this part as well
這部分我也會跳過
40:52.499–40:55.229
otherwise in my build orchestrator is always going to ask me
否則在我的建構協調器中,它總是會問我
40:55.229–40:57.740
give me a plan that I have to type a proof before he does it
給我一份計畫,我必須在執行前輸入證明
40:57.740–40:59.323
and this would slow down the build.
這會拖慢建構速度。
40:59.323–41:01.569
Now we're going to start with the main hat of the build.
現在我們開始進行建構的主要部分。
41:01.569–41:03.251
We're going to tell orchestrator that
我們將告訴協調器
41:03.251–41:05.196
hey we're going to create different agents.
嘿,我們將建立不同的代理。
41:05.196–41:07.182
We're going to create an agent like Atlas
我們將建立一個像 Atlas 這樣的代理
41:07.182–41:08.876
who is going to take care of content
負責處理內容
41:08.876–41:10.102
creates carousel ideas.
建立輪播創意。
41:10.102–41:11.101
We're going to have Vera
我們將有 Vera
41:11.101–41:12.299
who is going to be our writer.
她將擔任我們的作家。
41:12.299–41:13.406
We're going to have Kite
我們將有 Kite
41:13.406–41:14.790
who is going to be our designer
她將擔任我們的設計師
41:14.790–41:16.728
and also Kite is going to be our developer.
同時 Kite 也將擔任我們的開發者。
41:16.728–41:18.227
And we're also going to have origin
我們也將擁有 Origin
41:18.227–41:19.571
who is going to be our publisher
她將擔任我們的出版商
41:19.571–41:21.276
publishing things to whatever channel
將內容發布到任何頻道
41:21.276–41:22.103
that we want to use.
我們希望使用的頻道。
41:22.103–41:26.897
And here we are basically giving orchestrator a prep or a gist of what we want to build.
在這裡,我們基本上是在給協調器一個預備或概要,說明我們想要建立什麼。
41:26.897–41:27.111
Right?
對吧?
41:27.111–41:32.299
And we are telling orchestrator that hey you are already one of these five agents that we're going to create.
我們告訴協調器,嘿,你已經是我們將建立的這五個代理之一。
41:32.299–41:35.853
You are going to be the main agent and you are the one I'm talking to right now.
你將是主要代理,也是目前我正在對話的對象。
41:35.853–41:40.457
And also important I'm telling him when he is creating these profiles he shouldn't create one for himself
同樣重要的是,我告訴他在建立這些設定檔時,不應該為他自己建立一個
41:40.457–41:45.008
because I did test with some AI models that created a profile for themsel as well which doesn't make sense
因為我曾測試過一些 AI 模型,它們也為自身建立了設定檔,這並沒有意義
41:45.008–41:46.630
and that is why I also tell it here that
這就是為什麼我也在這裡告訴它
41:46.640–41:46.780
hey
嘿
41:46.780–41:48.415
you do not need to create one for yourself.
你不需要為自己建立一個。
41:48.415–41:49.578
So I'm going to copy this prompt
所以我要複製這段提示詞
41:49.578–41:51.144
and I'm going to give this to orchestrator
並把它交給 Orchestrator
41:51.144–41:52.755
to prep him what we're going to be building.
來準備我們即將建構的內容。
41:52.755–41:53.891
I'm also telling him,
我也告訴他,
41:53.891–41:54.143
hey,
嘿,
41:54.143–41:56.162
confirm that you understand the plan,
確認你了解這個計畫,
41:56.162–41:58.371
the five rows and the profile name mapping
五個欄位與個人資料名稱的對應關係
41:58.371–42:00.895
before he even goes to change or build anything.
在他甚至還沒去修改或建構任何東西之前。
42:00.895–42:02.853
And what I like about Hermes is that
我喜歡 Hermes 的地方在於
42:02.853–42:04.879
whenever you send Hermes something
每當你把某些東西傳送給 Hermes
42:04.879–42:06.838
that if he finds useful long-term,
如果它認為對長期有用,
42:06.838–42:08.526
he commits this to the memory.
它會將此存入記憶體。
42:08.526–42:11.017
And that is why you always see this message like memory.
這就是為什麼你總是會看到類似「記憶體」的訊息。
42:11.017–42:13.150
It means that something has been written to the memory.
這表示某些內容已被寫入記憶體。
42:13.150–42:13.729
And by the way,
順便一提,
42:13.729–42:15.998
cadence is the name that I give to the content creating OS
Cadence 是我給內容建立作業系統的名稱
42:15.998–42:17.591
that we're going to be working on today.
也就是我們今天要一起建構的系統。
42:17.591–42:18.821
And then he's just saying hey
然後他只是說嘿
42:18.821–42:20.564
the five cadence rules are orchestrator
五個 Cadence 規則分別是協調者
42:20.564–42:23.589
which is me and then the other profiles that we're going to be creating.
也就是我,以及我們將要建立的其他角色設定。
42:23.589–42:25.326
And he's saying that you are Larry
他說你就是 Larry
42:25.326–42:27.126
the owner and the final authority.
擁有者和最終決策者。
42:27.126–42:29.880
Now in the next prompt this is going to be the most important prompt.
現在在下一個提示詞中,這將是最重要的提示詞。
42:29.880–42:33.772
This is going to be the prompt that is going to create the AI agents that we're going to need.
這將是我們需要用來建立 AI 代理人的提示詞
42:33.772–42:35.254
I'm going to send the prompt to orchestrator.
我將把提示詞發送給協調者。
42:35.254–42:36.982
So I'm telling orchestrator that
所以我告訴協調者
42:36.982–42:39.265
hey create five persistent hemis profiles.
嘿,建立五個持久的 Hermes 角色設定。
42:39.265–42:42.129
Now the reason why I use persistent is that hemis can also
現在我使用「持久性」的原因是,Hermes 也可以
42:42.129–42:45.053
create agents that are basically called in to do a task and
建立基本上被調用來執行任務的代理人,
42:45.053–42:46.942
then after that they basically dead.
然後在那之後他們基本上就消失了。
42:46.942–42:49.321
So what I want to create is that I be created permanently.
所以我想建立的是讓我永久存在。
42:49.321–42:51.032
So that means that whenever we need them,
這意味著無論何時我們需要他們,
42:51.032–42:52.139
they are going to be there.
他們都會在那裡。
42:52.139–42:54.561
Now here whenever you are creating an agent
現在這裡,每當你在建立代理人時
42:54.561–42:57.599
always with Hermes there is always one default agent.
在 Hermes 中總是會有一個預設代理人。
42:57.599–43:00.108
There's always one agent who is going to be at the top
總是會有一個代理人位於頂端
43:00.108–43:02.091
and that is typically the default agent.
那通常是預設代理人。
43:02.091–43:06.170
And below the default agent you can have whatever number of agents that you want to have
在預設代理下方,你可以擁有任意數量的代理
43:06.170–43:08.560
but there's always going to be one agent at the top.
但頂層始終會有一個代理。
43:08.560–43:13.364
And that is why in my setup I typically make the default agent who is at the top orchestrator
這就是為什麼在我的設定中,我通常會將位於頂層的預設代理設為協調者
43:13.364–43:16.640
and then he builds the other agents that would work under him.
然後由他建立其他在其下運作的代理。
43:16.640–43:19.828
So someone for instance asked if you can have two orchestrators.
例如,有人問是否可以有兩個協調者。
43:19.828–43:22.264
In principle you can have two orchestrators that
原則上你可以有兩個協調者
43:22.264–43:26.363
but it means that one orchestrator would have to be under the default orchestrator
但這意味著其中一個協調者必須位於預設協調者之下
43:26.363–43:27.432
which you can also do.
這也是可以做到的。
43:27.432–43:29.949
This is basically up to you how you want to configure this.
基本上,這取決於你如何設定。
43:29.949–43:34.126
Now in creating a profile for an agent you basically need to tell the agent
現在,在建立代理的設定檔時,你基本上需要告訴代理
43:34.126–43:35.495
hey what am I as an agent?
嘿,我作為代理是什麼?
43:35.495–43:36.689
So for all the agents
所以對於所有代理
43:36.689–43:39.780
we are telling orchestrator to add this information
我們是告訴協調者將這些資訊
43:39.780–43:40.693
into a document
加入一份文件
43:40.693–43:42.800
that would be called their soul.md.
這份文件將被稱為他們的 soul.md。
43:42.800–43:47.069
So a soul.md is a document that tells an agent hey my name is Larry.
所以 soul.md 是一份告訴代理「嘿,我叫 Larry」的文件。
43:47.069–43:48.088
This is what I do.
這是我的工作內容。
43:48.088–43:49.743
This is the person that I'm working with.
這是我要合作的人。
43:49.743–43:51.899
This is the system that we are working with and stuff like that.
這就是我們正在使用的系統之類的東西
43:51.899–43:57.934
And that is why in this prompt for all the agents I tell orchestrator what he is supposed to put in their description.
這就是為什麼在針對所有代理的這個提示中,我會告訴協調者他應該在他們的描述中寫些什麼。
43:57.934–44:03.941
So for instance for scout I'm saying hey your name is scout you are a content scout for candid studio.
舉例來說,對於 Scout,我會說:嘿,你的名字是 Scout,你是 Candid Studio 的內容搜尋員。
44:03.941–44:10.000
Your job is to find fresh scroll stopping Instagram Tik Tok carousel ideas and to research facts behind them.
你的工作是尋找新鮮、能讓人停下來瀏覽的 Instagram 和 Tik Tok 輪播貼文創意,並研究背後的相關事實。
44:10.000–44:12.708
So for all the agents I'm telling them what they are going to be doing.
因此,對於所有代理程式,我都會告訴他們他們將要做什麼。
44:12.708–44:15.561
And for instance Kite Kite is also going to be our designer.
舉例來說,Kite 也將擔任我們的設計師。
44:15.561–44:17.257
He's also going to be our engineer.
他同時也將擔任我們的工程師。
44:17.257–44:20.912
So he has what I'm describing for Skype for him to understand what he does.
因此,他擁有我為 Skype 描述的內容,以便他理解自己的工作內容。
44:20.912–44:26.119
Now whenever you start a new chat session with an agent, they always load in their soul.md.
現在,每當你開始與代理程式進行新的聊天工作階段時,他們都會載入其 soul.md 檔案。
44:26.119–44:31.520
And that is why it's very advisable that we describe in detail what the agents are going to do.
這就是為什麼我們非常建議詳細描述代理程式將要做什麼。
44:31.520–44:35.383
Now he can change the text to whatever you want, whatever fits what you are doing.
現在,你可以將文字更改為你想要的任何內容,只要符合你的需求即可。
44:35.383–44:40.557
For instance, in my case, I said Instagram and Tik Tok, but maybe you want to have both, LinkedIn and stuff like that.
舉例來說,在我的案例中,我說的是 Instagram 和 Tik Tok,但或許你也想加入 LinkedIn 等內容。
44:40.557–44:42.169
You can basically add this here as well.
你基本上也可以在此處新增這些內容。
44:42.169–44:43.396
So, orchestrator responded.
因此,Orchestrator 回應了。
44:43.396–44:44.067
He says done.
他說完成了。
44:44.067–44:48.138
I have created a persistent herm profiles each with their own soul.MD.
我已建立持久的代理程式檔案,每個檔案都有其各自的 soul.md。
44:48.138–44:51.044
And then you can see here we have scout who is Atlas.
然後你可以在這裡看到,Scout 是 Atlas。
44:51.044–44:52.462
We have Scribe who is Vera.
我們有 Scribe,也就是 Vera。
44:52.462–44:53.750
We have Dev who is Kite.
我們有 Dev,也就是 Kite。
44:53.750–44:55.298
We have Rich who is Orin.
我們有 Rich,也就是 Orin。
44:55.298–44:58.415
And he also confirmed that the profiles indeed exist.
他也確認了這些檔案確實存在。
44:58.415–45:00.386
Now if you want to also confirm yourself
現在,如果你想親自確認
45:00.386–45:02.716
because sometimes the agents do hallucinate.
因為有時代理模型會產生幻覺。
45:02.716–45:04.764
It can be that the agent orchestrator told you
可能是代理協調器告訴你
45:04.764–45:06.920
especially if you're not using a very good model
特別是如果你沒有使用非常好的模型
45:06.920–45:08.644
or can tell you hey I created the agents
或者它會告訴你嘿,我創建了代理
45:08.644–45:10.315
but basically they were not created.
但基本上它們並沒有被創建。
45:10.315–45:11.864
So you can double check this yourself.
所以你可以自己再次確認這一點。
45:11.864–45:15.330
You can come into your terminal and just type in a command hemis profile list
你可以進入終端並輸入命令 hemis profile list
45:15.330–45:16.265
and then press enter
然後按 Enter
45:16.265–45:19.896
and then this is going to list all the profiles that you have on your hemis setup.
接著這將列出你在 hemis 設置中的所有配置文件。
45:19.896–45:21.366
So you can see that in my case
所以你可以看到在我的情況下
45:21.366–45:23.348
I have default which is orchestrator
我有默認的 orchestrator
45:23.348–45:26.161
and then we also have the four agents that we created.
然後我們還創建了四個代理。
45:26.161–45:28.374
Now here you can see that the gateways are not running.
現在在這裡你可以看到網關沒有運行。
45:28.374–45:34.579
Their gateways are stopped which is fine because we want the gateway only to be activated when the agents are working.
它們的網關已停止,這沒關係,因為我們希望網關只在代理運行時才被激活。
45:34.579–45:37.791
So we verify that indeed orchestrator created all these agents.
所以我們驗證 orchestrator 確實創建了所有這些代理。
45:37.791–45:40.724
Now this is going to be a prompt that is also very very important.
現在這將是一個非常重要的提示。
45:40.724–45:44.762
Now in this prompt I'm telling orchestrator to define this for each agent.
現在在這個提示中,我告訴 orchestrator 為每個代理定義這個。
45:44.762–45:48.225
Now I want every agent to have their own dedicated memory.
現在我希望每個代理都有自己專屬的記憶體。
45:48.225–45:50.160
Imagine you have five agents.
想像你有五個代理。
45:50.160–45:52.375
Every agent has their own particular role.
每個代理都有自己特定的角色。
45:52.375–45:57.249
It's going to be a mess if all these agents are sharing one file for their memory.
如果所有這些代理都共用一個記憶體檔案,那將會是一團糟。
45:57.249–46:01.315
So agents always write long-term stuffs into a file that is called memory.mmd.
因此,代理總是將長期資料寫入一個名為 memory.mmd 的檔案。
46:01.315–46:04.572
So if all the five agents are using one file, it's going to be a mess.
所以,如果所有五個代理都使用同一個檔案,那將會是一團糟。
46:04.572–46:07.991
Now that means that orchestrator is going to dump his long-term memory in there
這意味著協調者會將他的長期記憶體轉儲到那裡
46:07.991–46:10.530
very it's going to dump her long-term memory stuff in there
她也會將她的長期記憶體資料轉儲到那裡
46:10.530–46:11.680
and it's going to be a mess.
那將會是一團糟。
46:11.680–46:15.305
And additionally, this is going to make the memory file very very heavy.
此外,這會使記憶體檔案變得非常沉重。
46:15.305–46:18.892
And remember, the bigger the memory MD file, the more tokens that you use.
請記住,memory.mmd 檔案越大,您使用的 token 就越多。
46:18.892–46:22.833
And that is why I typically like to go with a dedicated memory for every agent
這就是為什麼我通常喜歡為每個代理提供專屬記憶體
46:22.833–46:25.773
so that every agent writes own stuff into their own lane.
以便每個代理將自己的資料寫入各自的通道。
46:25.773–46:29.040
And every agent is also going to have their unique identity,
每個代理也將擁有其獨特的身份,
46:29.040–46:31.599
their dedicated folders and role boundaries.
專屬資料夾和角色邊界。
46:31.599–46:36.353
So here we are telling every agent to only do stuffs that are within their role.
因此,這裡我們告訴每個代理只做其角色範圍內的事情。
46:36.353–46:39.532
So for instance, if I go to my agent who does my research like Scout
例如,如果我找到負責我研究工作的代理,比如 Scout
46:39.532–46:41.593
and I tell Scout, hey build me a dashboard,
並告訴 Scout,嘿,幫我建立一個儀表板,
46:41.593–46:46.009
and Scout will tell me, hey, no, probably you should talk to Jeff because he's a developer.
Scout 會告訴我,嘿,不,你可能應該跟 Jeff 談,因為他是開發人員。
46:46.009–46:50.799
Now this is quite important because for instance imagine that you have an agent who is your finance
這相當重要,因為例如想像你有一個負責財務的代理
46:50.799–46:55.180
and this agent maybe has access to your PayPal has access to your stripe and stuff like that
這個代理可能可以存取你的 PayPal、Stripe 等
46:55.180–46:57.760
and you give your finance agent the particular rules
你賦予你的財務代理特定的規則
46:57.760–47:01.278
that he's supposed to work with maybe don't withdraw money from my account and stuff like that.
他應該遵循的規則,例如不要從我的帳戶提款等。
47:01.278–47:03.001
So finance agents knows these rules
所以財務代理知道這些規則
47:03.001–47:05.873
but if another agent comes in and does that particular thing
但如果另一個代理進來並做了那件特定的事情
47:05.873–47:09.318
and the agent doesn't even know what the rules that you give to finance is
而該代理甚至不知道您給財務代理的規則
47:09.318–47:11.558
then the agent can basically mess up your setup
那麼該代理基本上會搞砸您的設定
47:11.558–47:13.119
and that is why I always have this
這就是為什麼我總是保持
47:13.119–47:17.599
sort of role boundaries where every agent understands what their particular role is
某種角色界線,讓每個代理都清楚自己的特定角色
47:17.599–47:20.692
and then here orchestrator is working on that as well for us
然後這裡的協調者也在為我們處理這件事
47:20.692–47:22.648
and here orchestrator is done as well
這裡的協調者也完成了
47:22.648–47:25.119
all the agents have their dedicated memory and
所有代理都有專屬的記憶體,而且
47:25.119–47:27.937
he also created dedicated folders for all the agents
他也為所有代理建立了專屬資料夾
47:27.937–47:29.987
and he also tested the role boundaries
他也測試了角色界線
47:29.987–47:33.190
for instance he asked Vera, Vera, can you write a code for me?
例如,他問 Vera,Vera,你能為我寫程式碼嗎?
47:33.200–47:36.223
And then Vera responded, hey, that is Kite's department.
然後 Vera 回應說,嘿,那是 Kite 的部門。
47:36.223–47:40.456
And he also asked Kite's ver research and kite responded that is Atlas department.
他也問了 Kite 的 ver 研究,而 Kite 回應說那是 Atlas 的部門。
47:40.456–47:42.560
So that means that the role boundaries are working.
這意味著角色界線正在運作。
47:42.560–47:45.626
Now in the next step, we're going to create a project folder that is going to host our project.
現在在下一步中,我們將建立一個專案資料夾來承載我們的專案。
47:45.626–47:49.370
And very important, we're going to create the agents login database system.
並且非常重要,我們將建立代理登入資料庫系統。
47:49.370–47:53.817
Now, whenever the agents are performing a task, we want them to log whatever they do.
現在,當代理執行任務時,我們希望他們記錄所做的任何事情。
47:53.817–47:56.542
So we're going to build sort of an agent login database.
所以我們將建立某種代理登入資料庫。
47:56.542–48:01.647
The idea here is that before an agent sends you a message that, hey, I'm done with this task.
這裡的想法是,在代理發送訊息告訴您「嘿,我已完成此任務」之前
48:01.647–48:03.975
The agent is going to log their name into the list,
代理程式會將它們的名稱記錄到清單中,
48:03.975–48:06.813
they're going to log exactly a description of what they did.
並精確記錄它們所執行工作的描述。
48:06.813–48:08.953
They also going to log the time stamp that they did this
它們還會記錄執行此項工作的時間戳記,
48:08.953–48:12.234
and they're also going to write the AI model that they use for that particular task.
以及它們為該特定任務所使用的 AI 模型。
48:12.234–48:15.545
And then we're going to do this using what is called an SQL lightsaber.
接著,我們將使用所謂的「SQL 光劍」來完成這項工作。
48:15.545–48:18.132
We're going to build a small database server on our server
我們將在伺服器上建立一個小型資料庫伺服器,
48:18.132–48:20.504
where the agents are going to log all the activities.
代理程式將在此記錄所有活動。
48:20.504–48:23.418
For instance, when we come to the dashboard I'm going to be building.
例如,當我們來到我即將建立的儀表板時。
48:23.418–48:26.696
When you come to the agents tab, you can see that we have this heat map
當你進入代理程式分頁時,你可以看到這個熱力圖,
48:26.696–48:28.686
where we see when every agent was active.
顯示每個代理程式活躍的時間。
48:28.686–48:31.788
And here for instance, the agents also post the work that they did,
在這裡,例如,代理程式也會發布它們所完成的工作,
48:31.788–48:33.424
the most recent work that they did.
也就是它們最近完成的工作。
48:33.424–48:36.243
So this gives you full transparency of what the agents are doing.
因此,這讓你能夠完全掌握代理程式正在執行的工作。
48:36.243–48:39.059
So that if an agent is stuck somewhere, then you know that the agent
所以,如果某個代理程式卡在某處,你就會知道該代理程式
48:39.059–48:40.749
for instance didn't perform that task.
例如沒有執行該項任務。
48:40.749–48:43.106
And by the way, this is the dashboard that we're going to be building.
順便一提,這就是我們即將建立的儀表板。
48:43.106–48:45.901
And for that, I'm going to give this prompt to orchestrator
為此,我將向協調器(orchestrator)提供此提示,
48:45.901–48:48.239
to build this agent login database system for us.
為我們建立這個代理程式登入資料庫系統。
48:48.239–48:51.268
So orchestrator is done with the agent login database.
因此,協調器完成了代理程式登入資料庫的建置。
48:51.268–48:53.401
And he also did a smoke test where we can see
他也進行了冒煙測試,我們可以看見
48:53.401–48:56.022
dev built the cadence store the AI model that he used
開發者建立了 Cadence 資料庫,儲存了他所使用的 AI 模型
48:56.022–48:59.374
and the state that he's completed and when he performed this task.
以及他已完成的工作狀態,以及他執行此任務的時間。
48:59.374–49:02.124
Now remember we have created a base but the agents do not know.
現在請記住,我們建立了一個基礎,但代理們並不知道。
49:02.124–49:05.423
So currently it's only orchestrator that knows that such a database exists.
因此,目前只有協調者知道存在這樣的資料庫。
49:05.423–49:08.232
So we're going to have to roll this out to all the agents
所以我們必須將這個設定推廣到所有代理
49:08.232–49:10.355
and then we are telling the orchestrator
然後我們告訴協調者
49:10.355–49:12.790
hey save this operating rule in your own memory
嘿,將這個操作規則儲存到你的記憶體中
49:12.790–49:16.286
and then first distribute it to Atlas Vera and all the other agents.
然後首先將其分發給 Atlas、Vera 以及所有其他代理。
49:16.286–49:18.394
And this is the instruction that we are giving to them.
這就是我們給他們的指令。
49:18.394–49:20.152
Before sending any response,
在發送任何回應之前,
49:20.152–49:23.386
log what you did into the kid into the cadence runs table
請透過執行此命令,將你所做的操作記錄到 Cadence 執行表中
49:23.386–49:24.862
by running this command.
來完成記錄。
49:24.862–49:27.365
So that's going to be the command that you're going to run
所以這就是你即將執行的指令
49:27.365–49:29.708
to basically insert what they did into the database.
基本上,用於將他們的操作插入資料庫。
49:29.708–49:30.786
I'm going to copy this
我要複製這段內容
49:30.786–49:32.824
and I'm going to send this to install this
並發送此指令來安裝
49:32.824–49:36.059
to make sure that all the agents are aware of the setup that we did.
以確保所有代理都知道我們所做的設定。
49:36.059–49:37.952
And after that I'm also going to tell him
在那之後,我也會告訴他
49:37.952–49:39.673
hey have every agent run a smoke test
嘿,讓每個代理執行一次冒煙測試
49:39.673–49:41.910
so that they lock something into the database.
以便他們將某些內容鎖定到資料庫中。
49:41.920–49:42.957
Now this would help us
現在這會幫助我們
49:42.957–49:43.820
for us to know that
讓我們知道
49:43.820–49:45.203
all the agents have access to
所有代理程式都能存取
49:45.203–49:46.700
this database that we created.
我們建立的這個資料庫。
49:46.700–49:48.057
Now when the agents are working
現在當代理程式運作時
49:48.057–49:49.623
sometimes you get a prompt like this
有時你會看到這樣的提示
49:49.623–49:52.702
where you're going to have to allow them to be able to run some commands.
這時你就必須允許他們執行一些指令
49:52.702–49:54.658
In my case you can either go with allow once
在我的情況下,你可以選擇允許一次
49:54.658–49:56.503
allow only for this particular session
僅允許本次特定工作階段
49:56.503–49:58.012
or you can also allow this always
或者你也可以選擇始終允許
49:58.012–49:59.912
so that they don't ask you this every time
這樣它們就不會每次都詢問你
49:59.912–50:01.142
and then that is also done.
然後這部分也完成了。
50:01.142–50:02.271
So he also did a smoke test
所以他也執行了一次冒煙測試
50:02.271–50:05.066
where all the five agents that we have performed the smoke test
我們擁有的五個代理程式都進行了冒煙測試
50:05.066–50:07.431
where they just completed the AI model that they used
它們完成了所使用的 AI 模型
50:07.431–50:08.775
and the time that he performed
以及他執行的時間
50:08.775–50:10.720
and the date and time that he performed this
以及他執行這項任務的日期和時間
50:10.720–50:11.013
task.
任務。
50:11.013–50:13.852
Now we're going to move in to one of the major parts.
現在我們將進入主要部分之一。
50:13.852–50:17.656
So currently you can see that we are sending all our messages in the orchestrator channel
所以目前你可以看到,我們將所有訊息都發送到協調器頻道
50:17.656–50:19.918
because so far we've been working with orchestrator
因為到目前為止,我們一直在使用 orchestrator
50:19.918–50:21.717
but now we're going to move into the aspect
但現在我們要進入下一個面向
50:21.717–50:23.876
where we're going to start building the dashboard
我們將開始建置儀表板
50:23.876–50:24.400
and for that
為此
50:24.400–50:25.796
we're not going to be using orchestrator.
我們將不再使用 orchestrator。
50:25.796–50:27.766
We're going to have a dedicated agent kite
我們將擁有一位專屬的代理程式 Kite
50:27.766–50:28.666
who is our designer
他是我們的設計師
50:28.666–50:29.510
and our developer
也是我們的開發者
50:29.510–50:31.705
who is going to be creating the dashboard for us
他將為我們建立儀表板
50:31.705–50:33.562
because he's going to be our developer.
因為他將擔任我們的開發者。
50:33.562–50:35.186
We're also going to have a third channel
我們還將擁有一個第三個頻道
50:35.186–50:36.515
which we're going to call studio
我們將稱之為 studio
50:36.515–50:38.631
and that is going to be the channel we're going to use
而那就是我們將用來
50:38.631–50:40.451
to brainstorm ideas on new content to create
用來為創建新內容等事宜進行腦力激盪
50:40.451–50:41.288
and stuff like that.
諸如此類的事情。
50:41.288–50:47.272
Now, by default, the issue is that Telegram doesn't allow you to use one bot token to talk to several bots.
現在,預設情況下,問題在於 Telegram 不允許您使用一個 bot token 來與多個機器人通訊。
50:47.272–50:49.443
So, with Telegram, one bot, one token.
因此,在 Telegram 中,一個機器人對應一個 token。
50:49.443–50:52.179
So, if we want to create another dedicated Telegram channel
所以,如果我們想建立另一個專屬的 Telegram 頻道
50:52.179–50:53.710
where we're going to talk to Kite,
我們將與 Kite 進行對話,
50:53.710–50:56.063
then we basically can't use orchestrators B token.
那麼我們基本上無法使用 orchestrator 的 bot token。
50:56.063–50:59.109
We have to create a dedicated bot token for kite.
我們必須為 Kite 建立一個專屬的機器人權杖(bot token)。
50:59.119–51:01.046
Now, there are workarounds around this
現在,針對這個問題有一些變通方法,
51:01.046–51:02.447
like I did in my earlier video
就像我在之前的影片中所做的那樣,
51:02.447–51:04.608
where we basically created a router plugin.
我們基本上建立了一個路由器外掛(router plugin)。
51:04.608–51:06.392
So what the router basically does is that
所以路由器基本上會做什麼呢?
51:06.392–51:08.123
whenever you send a message in a channel
每當你在頻道中發送訊息時,
51:08.123–51:09.906
it first goes through that single B token
它會先經過那單一 B 權杖,
51:09.906–51:11.060
and the router determines
然後路由器會判斷
51:11.060–51:13.893
hey this is a message that is coming from orchestrator's channel
嘿,這是一則來自協調者(orchestrator)頻道的訊息,
51:13.893–51:14.470
so let me send
所以讓我發送
51:14.480–51:15.449
this to orchestrator
這則訊息給協調者。
51:15.449–51:16.903
the same thing that also happens
同樣的情況也會發生在
51:16.903–51:19.003
for instance if you have an agent that is called
例如,如果你有一個名為
51:19.003–51:21.264
a message comes from that scribe telegram channel
來自該 Scribe Telegram 頻道的訊息,
51:21.264–51:22.502
then it goes to your same bin
它會進入你相同的 B 權杖,
51:22.502–51:23.902
and then the router determines
然後路由器會判斷
51:23.902–51:24.710
hey this is coming
嘿,這則訊息來自
51:24.720–51:25.393
from thread 4
第 4 個執行緒(thread 4),
51:25.393–51:27.716
because every channel has their dedicated ID
因為每個頻道都有它們專屬的 ID,
51:27.716–51:31.690
so with that ID the router is able to determine where the message is coming from
所以透過那個 ID,路由器能夠判斷訊息來自哪裡
51:31.690–51:34.075
and then it routes it to that particular agent.
然後它會將訊息路由到該特定的代理程式。
51:34.075–51:37.522
Now, this is quite useful if you have different channels that you want to create.
現在,如果你要建立不同的頻道,這相當實用。
51:37.522–51:39.458
But in our setup, we're going to create only three channels.
但在我們的設定中,我們只會建立三個頻道。
51:39.458–51:41.255
So, I'm going to show you another workar around
所以,我要向你展示另一個變通方法。
51:41.255–51:43.466
because with every tutorial, I try to bring in a new flavor
因為在每個教學中,我都試著加入新的元素。
51:43.466–51:45.170
so you guys can learn also new things as well.
讓你們也能學習到新的東西。
51:45.170–51:47.566
So, what we're going to do in this setup is that
所以,我們在這個設定中要做的是。
51:47.566–51:50.908
we're going to create another bot token exclusively for kites.
我們將建立一個專門給 Kite 使用的 bot token。
51:50.908–51:57.660
So, that means that every message that goes through this particular gateway or this particular telegram bot token would go directly to kite.
這意味著所有通過這個特定閘道器或這個特定 Telegram bot token 的訊息,都會直接傳給 Kite。
51:57.660–51:59.635
But then we have another challenge.
但接著我們又面臨另一個挑戰。
51:59.635–52:02.392
So by default whenever you create channels in telegram
所以預設情況下,當你在 Telegram 中建立頻道時。
52:02.392–52:04.850
all the messages that we create in these channels
我們在這些頻道中建立的所有訊息。
52:04.850–52:06.408
are going to go through one bot.
都會通過一個 bot。
52:06.408–52:07.432
So which is now our case
所以現在的情況是。
52:07.432–52:09.696
every message is going to go through orchestrator
每則訊息都會通過 orchestrator。
52:09.696–52:11.260
but which doesn't make sense right
但這不合理,對吧?
52:11.260–52:13.955
we want orchestrator to only listen in a particular channel
我們希望 orchestrator 只監聽特定的頻道。
52:13.955–52:17.351
and we also want kite to only listen in the channel that we'll create for him.
也希望 Kite 只監聽我們為他建立的頻道。
52:17.351–52:21.106
So what we're going to do is we're going to tell orchestrator to build sort of a plug-in
所以我們要做的是,告訴 orchestrator 建立某種外掛。
52:21.106–52:24.650
where orchestrator would only listen in the channels that are dedicated to him.
讓 orchestrator 只監聽專屬給他的頻道。
52:24.650–52:28.497
So orchestrator would never listen in the channel that we would create for Kite.
因此,Orchestrator 永遠不會監聽我們為 Kite 建立的頻道。
52:28.497–52:30.492
And the same thing also applies to Kite.
同樣的情況也適用於 Kite。
52:30.492–52:33.280
Kite would only listen to his channel that we'll create for him.
Kite 只會監聽我們為他建立的頻道。
52:33.280–52:34.475
This would all make sense soon.
這一切很快就會變得合理。
52:34.475–52:34.863
Trust me.
相信我。
52:34.863–52:36.449
Because this is very very complex.
因為這非常非常複雜。
52:36.449–52:38.302
I typically like to brief the agents
我通常喜歡在建立複雜事物之前先向 Agent 們簡報
52:38.302–52:40.650
whenever we want to create something complex
以便讓他們知道即將發生什麼。
52:40.650–52:42.256
for them to know what is coming.
所以這裡我發送這條訊息
52:42.256–52:44.190
So here I'm sending this message
是為了讓他預備我們要做的事情。
52:44.190–52:46.052
to prep him on what we want to do.
所以我告訴 Oka,
52:46.052–52:46.819
So I'm telling Oka,
嘿,我們將一起建構一些東西。
52:46.819–52:48.687
hey, we're going to build something together.
目標是 Kite 預設會建構我們的工作室儀表板
52:48.687–52:53.068
The goal is that kite by default is going to build our studios dashboard
並且我想直接在屬於他自己的群組中與這位工程師對話
52:53.068–52:56.707
and I want to talk to this engineer directly in his own group
在那裡他會有自己的機器人與自己的身份
52:56.707–52:59.825
where he would have his own bot and his own identity
然後我解釋為什麼我們需要第二個機器人
52:59.825–53:02.870
and then I'm explaining to why we need a second bot
你也可以閱讀這段內容來了解基本上為什麼我們需要第二個機器人。
53:02.880–53:06.711
and you can also read this to understand basically the reason why we need the second bot.
所以我基本上是在告訴他嘿,這就是我們要建構的東西,這樣他就能理解我們要做什麼。
53:06.711–53:11.270
So I'm basically telling him hey this is what we're going to build so that can understand what we going to do.
現在,當 Orchestrator 正在處理這項任務時,
53:11.280–53:13.510
Now, whilst orchestrator is working on this,
現在,當協調者正在處理這項任務時,
53:13.510–53:16.208
we're going to have to create a second bot token for Kite
我們將需要為 Kite 建立第二個 bot 權杖
53:16.208–53:19.494
because remember that Kite would need his own dedicated bot token.
因為記得 Kite 需要擁有自己專屬的 bot 權杖。
53:19.494–53:21.531
Orchestrator responded that he understands
Orchestrator 回應說他理解
53:21.531–53:23.782
the goal is that Kite has his own Telegram presence
目標是讓 Kite 擁有自己專屬的 Telegram 存在
53:23.782–53:25.336
where we can speak to him directly.
讓我們可以直接與他對話。
53:25.336–53:28.027
But we first going to have to create this bot for Kite.
但我們首先必須為 Kite 建立這個 bot。
53:28.027–53:33.233
And to do so, we're going to come back to our bot fer that we used to create the first B that we have forestrator.
為此,我們將回到我們用來建立第一個 bot 的 bot 設定,也就是我們為 Orchestrator 建立的那個。
53:33.233–53:34.847
And we're going to create a second bot.
我們將建立第二個 bot。
53:34.847–53:38.323
So, just type in new bot just like we did for the first time for orchestrator.
所以,就像我們第一次為 Orchestrator 那樣,輸入 new bot。
53:38.323–53:41.105
And we're going to call this bot km kite content.
我們將這個 bot 命名為 kite_content。
53:41.105–53:42.862
Let me call this content kites.
讓我稱這個內容為 kites。
53:42.862–53:43.198
Right?
對吧?
53:43.198–53:44.703
And I'm going to copy the username.
我將複製使用者名稱。
53:44.703–53:45.346
We press enter.
我們按下 Enter。
53:45.346–53:48.803
And just like we did earlier, I'm going to use the same name that I g.
就像我們之前做的一樣,我將使用我之前輸入的相同名稱。
53:48.803–53:54.081
But I'm just going to end with a bot because every username with telegram for a bot has to end with the name bot.
但我只會在結尾加上 bot,因為 Telegram 上每個 bot 的使用者名稱都必須以 bot 結尾。
53:54.081–53:55.367
And I'm going to press enter.
我將按下 Enter。
53:55.367–53:57.710
And then we get a dedicated token for bot.
然後我們就獲得了該 bot 的專屬權杖。
53:57.710–54:01.258
Remember this was the token that we had for orchestrator.
記得這是我們之前為 Orchestrator 擁有的權杖。
54:01.258–54:03.887
And we have now create a dedicated token for kite.
現在我們為 Kite 建立了專屬權杖。
54:03.887–54:08.048
So we're going to have to add this bottle for kites also to our hemis setup.
所以我們必須將這個給 Kite 的 Bot Token 也加入到我們的 hemis 設定中。
54:08.048–54:10.480
And to do that I created this command for you here.
為了做到這一點,我在這裡為你們建立了這個指令。
54:10.480–54:10.953
Come here.
請到這裡來。
54:10.953–54:12.041
Copy this command here.
複製這裡的指令。
54:12.041–54:13.991
Come back into your terminal instance.
回到你的終端機執行個體。
54:13.991–54:15.032
Let me clear the screen.
讓我清除螢幕。
54:15.032–54:15.661
Very important.
這非常重要。
54:15.661–54:17.022
Make sure that you're not on root.
確保你沒有使用 root 權限。
54:17.022–54:20.511
You are on Larry or the new user that you created and just paste in this command.
你應該是在 Larry 或你建立的新使用者下,然後直接貼上這個指令。
54:20.511–54:23.196
Now this command is going to ask you to put in the bot token.
現在這個指令會要求你輸入 Bot Token。
54:23.196–54:27.984
So I'm just going to run the command here and then it's going to tell you hey paste your kite token and press enter.
所以我將在這裡執行指令,然後它會提示你貼上 Kite Token 並按下 Enter。
54:27.984–54:29.543
So I'm going to come back to Telegram.
所以我會回到 Telegram。
54:29.543–54:30.720
I'm going to click here.
我會點擊這裡。
54:30.720–54:32.447
Make sure that you are copying the one for kite.
確保你複製的是給 Kite 的那一個。
54:32.447–54:33.701
I'm going to click to copy this.
我會點擊複製這個。
54:33.701–54:34.681
I'm going to minimize this.
我會將這個視窗最小化。
54:34.681–54:37.467
I'm going to come back to the and I'm going to right click to paste this in.
我會回到終端機並點擊右鍵來貼上它。
54:37.467–54:38.803
And then the key is pasted here.
然後金鑰就會被貼在這裡。
54:38.803–54:40.445
And after that, I'm just going to press enter.
在那之後,我只會按下 Enter。
54:40.445–54:43.628
And this is going to save the keys into our dashboard.
這將會把金鑰儲存到我們的儀表板中。
54:43.628–54:45.291
So, let's go back into our setup.
那麼,讓我們回到我們的設定。
54:45.291–54:47.119
And then let's go into our group.
然後讓我們進入我們的群組。
54:47.119–54:50.714
And then I'm going to tell the I have created this B token for Kite
接著我會告訴他,我為 Kite 創建了這個 B token。
54:50.714–54:53.970
and I have also added the B token myself in this space here.
並且我也在這裡的空間中自行添加了這個 B token。
54:53.970–54:57.044
So, I'm telling him to verify that the token that I have added exist
所以,我是在告訴他驗證我添加的 token 是否存在。
54:57.044–55:00.398
and also to do a few sanity checks to make sure that it would work for Kite.
並且還要進行一些基本檢查,以確保它對 Kite 有效。
55:00.398–55:03.451
I'm going to copy this and I'm going to send this to orchestrator.
我將複製這段內容並發送給 orchestrator。
55:03.451–55:06.725
And also what is quite useful and what I always recommend to you guys is that
另外,非常有用且我總是建議你們的做法是,
55:06.725–55:11.635
whenever you're giving your agent a complex tax that you're not sure if the agents would be able to pull this off,
當你們給予代理一個複雜的任務,而你不確定代理是否能完成時,
55:11.635–55:13.430
you can always give the agents reference
你可以隨時給予代理參考資料,
55:13.440–55:14.043
to the hemis.
指向 hemis。
55:14.043–55:18.784
So for instance, if I'm telling you, hey, if you are unsure, please look into the hemis in this part here
例如,如果我告訴你,嘿,如果你不確定,請查看這裡的 hemis,
55:18.784–55:22.466
so that the agents would basically understand how he's supposed to build this.
這樣代理基本上就能理解他應該如何構建這個。
55:22.466–55:24.543
Then I get this command approval from orchestrator.
然後我從 orchestrator 獲得了這個命令批准。
55:24.543–55:25.623
I'm going to click on always.
我將點擊「總是」。
55:25.623–55:28.400
And then orchestrator said, hey, step one is completed.
然後 orchestrator 說,嘿,第一步已完成。
55:28.400–55:33.115
He's verified that the token that we added exists and he's also saying that hey the bot is live.
他已驗證我們添加的 token 存在,並且他也表示,嘿,機器人已上線。
55:33.115–55:35.996
We can basically send stats to him to directly message Kite.
我們基本上可以向他發送統計數據,直接發送訊息給 Kite。
55:35.996–55:39.267
Now what we're going to do now is that we're going to create the channels that we need.
現在我們要做的就是創建我們需要的頻道。
55:39.267–55:40.668
So we're going to create one channel for Kite.
所以我們將為 Kite 創建一個頻道。
55:40.668–55:42.978
We're going to create one channel as well for studio
我們也要為工作室建立一個頻道
55:42.978–55:45.073
which we're going to use for the brainstorming
我們將用它來進行腦力激盪
55:45.073–55:46.900
before we even bring Kite into that chat.
甚至在把 Kite 拉進那個聊天之前。
55:46.900–55:49.267
So to do that we're going to click on the three dots here.
所以要這樣做,我們要點擊這裡的三個點。
55:49.267–55:51.155
You wouldn't see the option to create a group.
你不會看到建立群組的選項。
55:51.155–55:52.383
So we're going to come back to all
所以我們要回到「全部」
55:52.383–55:54.385
and then you're going to click on the three dots here.
接著點擊這裡的三個點
55:54.385–55:55.791
Then you're going to create a topic.
接著你要建立一個主題。
55:55.791–55:57.130
Now you're going to have to give the topic a name.
現在你必須給主題取個名字。
55:57.130–55:59.175
In our case, I'm going to call this kite, right?
在我們的情況下,我會稱之為 Kite,對吧?
55:59.175–56:01.289
And because kite is going to be a developer,
而且因為 Kite 將擔任開發者的角色,
56:01.289–56:02.933
let me just give him a laptop icon.
讓我給他一個筆記型電腦的圖示。
56:02.933–56:04.638
And after that, just click on create.
之後,只需點擊建立。
56:04.638–56:06.586
Now, whenever you are creating a new topic,
現在,每當您建立新主題時,
56:06.586–56:07.993
before topic can be activated,
在主題啟用之前,
56:07.993–56:10.320
you're going to have to send a message in that topic.
你必須在該主題中發送訊息。
56:10.320–56:12.151
For this topic that we are creating,
對於我們正在建立的主題,
56:12.151–56:14.531
we're going to need the thread ID for this topic
我們將需要這個主題的線程 ID
56:14.531–56:18.986
because it is with this ID that orchestrator would bind this topic exclusively to kite.
因為正是透過這個 ID,協調器會將此主題專屬綁定給 Kite。
56:18.986–56:20.218
So to kick off this group,
所以要啟動這個群組,
56:20.218–56:22.095
I'm just going to copy this prompt here
我只要把這個提示詞複製到這裡
56:22.095–56:24.968
and I'm going to send this immediately to orchestrate that
然後我會立即發送給協調器來處理
56:24.968–56:26.728
hey, what is this topic's thread ID?
嘿,這個主題的線程 ID 是什麼?
56:26.728–56:27.830
You can send it any message.
你可以發送任何訊息。
56:27.830–56:30.093
We could have sent in hi just to create the channel
我們原本可以發送 hi 來建立頻道
56:30.093–56:32.191
and then we could follow up with a message like
然後我們可以跟進一條訊息,例如
56:32.191–56:33.792
what is the topic thread of this ID.
這個 ID 的主題線程是什麼。
56:33.792–56:36.306
I'm also going to show you that other approach as well.
我也會向你展示另一種方法。
56:36.306–56:37.446
Now kite is created.
現在 Kite 已經建立好了。
56:37.446–56:39.280
We have the telegram topic ID.
我們有了 Telegram 主題 ID。
56:39.280–56:40.571
We have the thread ID.
我們也有了線程 ID。
56:40.571–56:41.458
Come back to all
回到所有頻道
56:41.458–56:43.505
and then here click on create topic.
然後在這裡點擊建立主題。
56:43.505–56:44.964
And then we're going to create the next topic
接著我們將建立下一個主題
56:44.964–56:46.000
which is going to be the studio.
這將是工作室
56:46.000–56:49.003
Now remember the studio is where we're going to be brainstorming ideas
現在請記住,工作室是我們進行腦力激盪的地方
56:49.003–56:51.141
on new content, promos, ideas and stuff like that.
討論新內容、促銷活動、創意等相關事項。
56:51.141–56:53.324
So I'm going to call this idea with this icon here
所以我會用這個圖示來稱呼這個想法
56:53.324–56:54.743
and I'm going to click on create
然後我會點擊建立
56:54.743–56:56.489
and to trigger and create this as well.
並觸發建立這個主題。
56:56.489–56:58.483
I'm just going to use a welcome message like
我只會使用歡迎訊息,例如
56:58.483–57:00.144
hey what is the topic ID of this group
嘿,這個群組的 topic ID 是什麼
57:00.144–57:02.480
and then here as well we're going to get a response.
然後這裡我們也會收到回應。
57:02.480–57:04.171
Now remember we have created kites
現在請記住,我們已經建立了 kites
57:04.171–57:06.621
but still it's orchestrator that we are talking to
但我們仍在對話的對象是 orchestrator
57:06.621–57:09.246
because kite hasn't even been added to this group yet.
因為 kite 甚至還沒有加入這個群組。
57:09.246–57:09.537
Right?
對吧?
57:09.537–57:11.617
So all the messages that you are seeing here
所以你在這裡看到的所有訊息
57:11.617–57:13.927
the thread the response to the thread ID for kite
針對 kite 的 thread ID 回應
57:13.927–57:15.198
the response ID for studio
針對 studio 的回應 ID
57:15.198–57:17.451
all of this is still coming from orchestrator.
所有這些仍然都來自 orchestrator。
57:17.451–57:18.685
So now we have the thread ID.
所以現在我們有了 thread ID。
57:18.685–57:22.352
So we're going to send a message to orchestrator that hey now we have the thread ids.
所以我們將發送訊息給 orchestrator,說嘿,現在我們有了 thread IDs。
57:22.352–57:24.468
So we want you to wire our telegram group.
所以我們希望你將我們的 telegram 群組連接起來。
57:24.468–57:27.708
I'm going to give orchestrator telegram group ID of our current group.
我會提供 orchestrator 我們目前群組的 telegram 群組 ID。
57:27.708–57:30.564
And I'm also going to give him the thread ids of all the channels.
同時我也會提供他所有頻道的 thread IDs。
57:30.564–57:33.343
So he would have the thread ID of where I'm talking to him.
所以他會擁有我與他對話的 thread ID。
57:33.343–57:35.246
He would have the thread ID for kite.
他會擁有 kite 的 thread ID。
57:35.246–57:37.556
He would also have the thread ID for the studio group.
他還會擁有 studio 群組的 thread ID。
57:37.556–57:41.989
And then only with this he would be able to bind the channels to the particular agent.
然後只有透過這些,他才能將頻道綁定到特定的 agent。
57:41.989–57:45.391
So for orchestrator would have access to this channel that we are talking to him
所以,協調器會擁有我們正在與之溝通的這個頻道的存取權
57:45.391–57:48.071
and orchestrator would also have access to the studio channel
而且協調器也會擁有工作室頻道的存取權
57:48.071–57:49.978
because that is what we going to he's the boss
因為他就是老闆
57:49.978–57:53.510
and basically we will be brainstorming the ideas with him on the studio channel
基本上,我們會在工作室頻道裡與他一起腦力激盪想法
57:53.510–57:55.639
but kite would only listen in this channel
但 Kite 只會監聽這個頻道
57:55.639–57:58.375
and kite would have no access to the orchestra channel
而 Kite 將無法存取協調器頻道
57:58.375–57:59.834
and also to the kite channel.
也無法存取 Kite 頻道
57:59.834–58:00.718
I'm going to open notepad
我要開啟記事本
58:00.718–58:01.981
and I'm going to paste in this prompt
然後我要貼上這個提示詞
58:01.981–58:03.792
because we're going to change a few things in there.
因為我們要在裡面修改一些東西
58:03.792–58:06.525
The first thing that we're going to need is the telegram group ID.
我們首先需要的是 Telegram 群組 ID
58:06.525–58:08.274
Now to get your telegram group ID.
現在要取得你的 Telegram 群組 ID
58:08.274–58:13.074
We're going to use the same bot that we used to fetch our telegram ID called user infobot.
我們將使用之前用來取得我們 Telegram ID 的同一個機器人,叫做 user infobot
58:13.074–58:15.572
So when this opens, click on forum down here
所以當這個開啟時,點擊下方的論壇
58:15.572–58:18.079
and select the group that you just created.
並選擇你剛剛建立的群組
58:18.079–58:19.852
In my case, this is KM content.
在我的情況下,這是 KM content
58:19.852–58:21.920
And then when you click on this, just press send.
然後當你點擊這裡時,只需按下發送
58:21.920–58:24.863
And then the bot will send you the ID of the Telegram group.
接著機器人會發送 Telegram 群組的 ID 給你
58:24.863–58:26.333
You can click on here to copy this.
你可以點擊這裡複製這個
58:26.333–58:29.655
And I'm just going to replace this with this section here called Telegram ID.
然後我只會用這裡稱為 Telegram ID 的區塊來取代這個
58:29.655–58:33.239
In the next stage, we're going to fill in the thread ID for the three channels.
在下一個階段,我們將填入三個頻道的線程 ID。
58:33.239–58:35.726
And for that, I'm going to come back into our Telegram group.
為此,我將回到我們的 Telegram 群組。
58:35.726–58:39.904
But in most of the cases, the first channel that you create always has a thread ID one.
但在大多數情況下,您建立的第一個頻道總是具有線程 ID 1。
58:39.904–58:42.480
So most likely orchestrator would reply that is one.
因此,orchestrator 很可能會回覆說那是 1。
58:42.480–58:44.535
But just to be sure, let me just ask him this as well.
但為了確保萬無一失,讓我再向他確認一次。
58:44.535–58:48.118
Okay, she responded that his thread ID is one because that is that was created.
好的,她回覆說他的線程 ID 是 1,因為那是被建立的頻道。
58:48.118–58:49.283
So I'm going to put in one here.
所以我將在這裡填入 1。
58:49.283–58:50.574
I'm going to go to kite.
我將前往 Kite。
58:50.574–58:51.191
Kite was 36.
Kite 是 36。
58:51.191–58:55.841
I'm going to put in 30 and I'm going to come to studio and studio is 40.
我將填入 30,然後來到 Studio,Studio 是 40。
58:55.841–58:57.455
And then basically we're done.
然後基本上我們就完成了。
58:57.455–59:00.563
Only these are the four parameters that you're going to have to fill in in this prompt.
只有這四個參數是您必須在此提示中填寫的。
59:00.563–59:01.229
And after that,
在那之後,
59:01.229–59:01.998
copy the message.
複製訊息。
59:01.998–59:02.593
Very important.
這非常重要。
59:02.593–59:04.081
Don't do this in studio or kite.
不要在 Studio 或 Kite 中執行此操作。
59:04.081–59:05.740
do this in orchestrator's channel
要在 orchestrator 的頻道中執行
59:05.740–59:07.056
and then paste this message
然後貼上此訊息
59:07.056–59:08.887
and send this message to orchestrator
並將此訊息發送給 orchestrator
59:08.887–59:11.461
to basically implement the topic lane agents binding
基本上是為了實作主題線程代理的綁定
59:11.461–59:12.892
and he orchestrator responds
然後協調器回應
59:12.892–59:13.750
hey I've saved the
嘿,我已經將
59:13.760–59:16.218
four lane members to memory and completed the save part
四個通道成員儲存到記憶體中,並完成了儲存部分
59:16.218–59:17.874
but there is an issue that he's having
但他遇到了一個問題
59:17.874–59:20.331
he's not able to run this command to restart the gateway
他無法執行這個重新啟動閘道器的指令
59:20.331–59:22.201
so he's telling us if we can run this for him
所以他告訴我們,如果我們能幫他執行這個指令
59:22.201–59:23.440
so I'm just going to copy the
所以我只是要複製
59:23.440–59:23.950
command here
這裡的指令
59:23.950–59:25.342
I'm going to come back to my terminal
我將回到我的終端機
59:25.342–59:27.291
let me just clear the screen to make it a bit cleaner
讓我先清除螢幕,讓畫面更整潔一些
59:27.291–59:28.914
and I'm going to paste in this command here
然後我要在這裡貼上這個指令
59:28.914–59:29.935
very very important again
再次強調,這非常非常重要
59:29.935–59:32.079
make sure that if you created a new user you are on the new
請確保如果你建立了新使用者,你是在新
59:32.079–59:33.352
user not your root account
使用者帳戶下,而不是你的 root 帳戶
59:33.352–59:34.336
and and press enter.
然後按下 Enter。
59:34.336–59:39.470
And then it happened as well when I was testing this that you get this response failed to connect to bus.
然後在我測試這個的時候也發生了同樣的情況,你收到了這個回應:無法連線到匯流排。
59:39.470–59:45.473
So just copy everything here and then come to telegram and then tell okay I got this error and just paste it.
所以只要複製這裡的所有內容,然後回到 Telegram,告訴對方說:「我收到了這個錯誤」,然後直接貼上它。
59:45.473–59:46.727
Oops, I think I didn't copy it.
哎呀,我想我沒有複製到。
59:46.727–59:50.164
Well, let me come back into PowerShell control shift C to copy this.
好吧,讓我回到 PowerShell,按 Ctrl+Shift+C 來複製這個。
59:50.164–59:52.799
I'm going to come back to Telegram and I'm going to paste this.
我將回到 Telegram,然後我要貼上這個。
59:52.799–59:56.917
And then he would basically correct this and give me another command that I can use to fix this issue.
接著他基本上會修正這個問題,並提供另一個我可以用來修復此問題的指令。
59:56.917–59:58.163
And I should have found this.
我本來就應該找到這個。
59:58.163–1:00:00.931
He says the error means your shell didn't use a bus environment.
他說這個錯誤訊息代表你的 shell 沒有使用 bus 環境。
1:00:00.931–1:00:02.949
So he's basically giving me another command to run.
所以他基本上是在給我另一個要執行的指令。
1:00:02.949–1:00:05.634
So I'm going to copy this and I'm going to clear the screen again.
所以我要複製這個,然後再次清除螢幕。
1:00:05.634–1:00:07.003
I'm going to paste in this new command.
我要貼上這個新指令。
1:00:07.003–1:00:07.794
I'm going to press enter.
我要按下 Enter。
1:00:07.794–1:00:11.374
And then you see that immediately I get a notification that my gateway is restarting.
接著你會看到,我立刻收到通知,顯示我的 gateway 正在重新啟動。
1:00:11.374–1:00:12.877
So that means that the command is
這表示該指令已生效
1:00:12.877–1:00:15.280
so it took a few seconds for everything to complete.
所以完成所有程序花了一些時間。
1:00:15.280–1:00:17.674
So just be a bit more patient when you see this.
所以當你看到這個時,請稍微耐心一點。
1:00:17.674–1:00:18.839
So I'm going to copy this here.
所以我要在這裡複製這個。
1:00:18.839–1:00:22.640
Control shift C and I'm going to send this orchestrator it worked out.
按下 Control Shift C,然後我要發送這個給 orchestrator,它運作成功了。
1:00:22.640–1:00:24.135
This is the message I got.
這是我的收到的訊息。
1:00:24.135–1:00:26.527
So you see that when I sent it to immediately orchestrator,
所以你會看到,當我立刻發送給 orchestrator 時,
1:00:26.527–1:00:29.749
he didn't respond because the gateway I think was still booting all the agents.
他沒有回應,因為我認為 gateway 仍在啟動所有 agents。
1:00:29.749–1:00:32.322
So sometimes when you restart a gateway immediately
所以有時候當你立刻重新啟動 gateway 時
1:00:32.322–1:00:35.655
it takes a while for all the gateways for the agents to get restarted.
所有 agents 的 gateway 重新啟動需要一段時間。
1:00:35.655–1:00:37.134
So when you send this immediately
所以當你立刻發送這個時
1:00:37.134–1:00:38.348
and you do not see a response
而你看不到回應
1:00:38.348–1:00:39.510
just be a bit more patient.
只要再多一點耐心。
1:00:39.520–1:00:40.535
And here just as a tip
這裡有個小建議
1:00:40.535–1:00:42.387
when you come back into your terminal
當你回到終端機時
1:00:42.387–1:00:44.537
and you type in hemis profile list and enter
輸入 hemis profile list 並按下 Enter
1:00:44.537–1:00:47.105
you would see that now we have two gateways running.
你會看到現在有兩個閘道器正在執行。
1:00:47.105–1:00:49.979
Initially we only had the default gateway that was running
一開始我們只有預設的閘道器在執行
1:00:49.979–1:00:51.738
and the gateway for dev was stopped.
而 dev 的閘道器是停止狀態。
1:00:51.738–1:00:56.160
But now you can see that we have another gateway that we have built for kite which is running.
但現在你可以看到我們為 Kite 建立的另一個閘道器正在執行。
1:00:56.160–1:01:00.152
So what we're going to do now is we're going to have to add kite into this group that we have created.
所以我們接下來要做的是,將 Kite 加入我們建立的這個群組。
1:01:00.152–1:01:05.429
And to do that we're going to come to botfather click on the URL that he gave to us to be able to fetch the ID for kite.
要做到這一點,我們會回到 BotFather,點擊他給我們的網址,以便取得 Kite 的 ID。
1:01:05.429–1:01:10.407
Click on the name and then we're going to click to copy the of kite and then we're going to come back into our group.
點擊名稱,然後點擊複製 Kite 的 ID,接著回到我們的群組。
1:01:10.407–1:01:11.211
I'm going to go to all.
我會前往「全部」。
1:01:11.211–1:01:13.199
I'm going to click on the three dots here
我會點擊這裡的三個點
1:01:13.199–1:01:14.464
and go to view group info.
並前往查看群組資訊。
1:01:14.464–1:01:16.635
And then here I'm going to click on manage
然後在這裡我會點擊管理
1:01:16.635–1:01:18.807
and I'm going to come to members down here
然後我會往下找到成員選項
1:01:18.807–1:01:20.723
and I'm going to click on add members
我會點擊新增成員
1:01:20.723–1:01:23.277
and I'm going to put in the username of kitespot.
並輸入 KiteSpot 的使用者名稱。
1:01:23.277–1:01:24.611
And I'm going to select this
我會選擇這個
1:01:24.611–1:01:26.003
and I'm going to click on add.
然後點擊新增。
1:01:26.003–1:01:28.360
And then now Kite is added to this group.
接著現在 Kite 已加入這個群組。
1:01:28.360–1:01:31.517
We also have to make Kite an administrator for him to be able to work here.
我們還必須將 Kite 設為管理員,這樣他才能在此運作。
1:01:31.517–1:01:34.527
Still on the all tab, I'm going to click on the three dots.
仍在「全部」標籤頁上,我要點擊三個點。
1:01:34.527–1:01:35.838
I'm going to come to manage group.
我要前往管理群組。
1:01:35.838–1:01:37.657
Then I'm going to come to administrator
接著我要前往管理員。
1:01:37.657–1:01:39.697
and I'm going to click on add administrator.
接著我會點擊新增管理員
1:01:39.697–1:01:41.199
I'm going to add Kite there.
我要在那裡新增 Kite。
1:01:41.199–1:01:42.559
Review the permissions.
檢視權限
1:01:42.559–1:01:43.537
If you're fine with that,
如果你沒問題,
1:01:43.537–1:01:44.283
just click on save.
只需點擊儲存。
1:01:44.283–1:01:45.811
And then we can close this.
接著我們可以關閉這個視窗。
1:01:45.811–1:01:47.662
So now we have added Kite to the group.
所以現在我們已將 Kite 加入群組。
1:01:47.662–1:01:49.015
So what we're going to do now,
所以我們接下來要做的是,
1:01:49.015–1:01:50.875
we're going to come into Kite's channel
進入 Kite 的頻道,
1:01:50.875–1:01:53.186
and we're going to send a message like who are you?
並發送訊息,像是「你是誰?」
1:01:53.186–1:01:55.454
And this is the part that always gets me nervous
這部分總是讓我感到緊張,
1:01:55.454–1:01:57.256
because that is the point that you see
因為這就是你會看到
1:01:57.256–1:01:59.117
if the agent to channel binding works.
代理程式與頻道綁定是否生效的時刻。
1:01:59.117–1:02:02.649
If everything works, we are supposed to see a message from Kite that I am Kite.
如果一切正常,我們應該會看到來自 Kite 的訊息,內容是「我是 Kite」。
1:02:02.649–1:02:04.648
So let's see if this is going to work.
所以讓我們看看這是否會成功。
1:02:04.648–1:02:05.217
Perfect.
完美。
1:02:05.217–1:02:06.568
I'm a bit relieved.
我鬆了一口氣。
1:02:06.568–1:02:08.032
So here Kite responded.
所以這裡 Kite 回應了。
1:02:08.032–1:02:10.721
I'm Kite Laris Cadence designer and engineer.
我是 Kite Laris,Cadence 的設計師與工程師。
1:02:10.721–1:02:14.130
Now just to make sure that the other parts are working, I'm also going to send this to orchestrator.
現在為了確保其他部分運作正常,我也要把這個發送給 orchestrator。
1:02:14.130–1:02:16.862
And if this should respond that he is orchestrator.
如果它回應說它是 orchestrator,那就對了。
1:02:16.862–1:02:19.762
So if Kite is responding in the shadow, then we are screwed up.
所以如果 Kite 在背景中回應,那我們就慘了。
1:02:19.762–1:02:25.112
Let me do the same thing for studio just to be on the safe side that we have the right agents behind these channels.
為了保險起見,讓我對 studio 做同樣的事情,以確保這些頻道背後有正確的 agent。
1:02:25.112–1:02:25.481
Great.
太棒了。
1:02:25.481–1:02:30.626
So in orchestrator's channel he still responded I'm orchestrator which means that this is working very well.
所以在 orchestrator 的頻道中,它仍然回應說它是 orchestrator,這表示運作非常良好。
1:02:30.626–1:02:32.742
Kite if you remember also responded he is kite.
如果你記得的話,Kite 也回應說它是 Kite。
1:02:32.742–1:02:36.570
And then now when I go to studio orchestrator also responded orchestrator is there.
然後現在當我進入 studio 頻道時,orchestrator 也回應說它是 orchestrator。
1:02:36.570–1:02:39.530
So that means that the telegram channel to agent binding work.
這表示 Telegram 頻道與 agent 的綁定運作正常。
1:02:39.530–1:02:42.332
Kite is never going to listen in orchestrator's channel
Kite 永遠不會監聽 orchestrator 的頻道
1:02:42.332–1:02:45.074
and orchestrator would also not listen to ka's channel
而 orchestrator 也不會監聽 Kite 的頻道
1:02:45.074–1:02:46.684
and that's exactly what we want.
這正是我們想要的。
1:02:46.684–1:02:50.288
So now that we have all the core aspects of the framework that we need ready,
所以現在我們已經準備好框架所需的所有核心部分,
1:02:50.288–1:02:51.625
her message agent is ready,
訊息 agent 已就緒,
1:02:51.625–1:02:53.019
orchestrator is fully set up
orchestrator 已完全設定好
1:02:53.019–1:02:54.821
and kite our developer is also set up,
而我們的開發者 Kite 也已設定完成,
1:02:54.821–1:02:55.577
group is ready,
群組已就緒,
1:02:55.577–1:02:57.030
we can now start with the build
我們現在可以開始建置
1:02:57.040–1:02:57.753
of the dashboard.
儀表板的
1:02:57.753–1:02:59.548
Now with the entire build of the dashboard,
現在,針對整個儀表板的建置,
1:02:59.548–1:03:00.694
we're going to be using Kite
我們將使用 Kite,
1:03:00.694–1:03:02.638
who is basically playing the role of a designer
它基本上扮演設計師的角色,
1:03:02.638–1:03:03.635
and also our developer.
同時也是我們的開發者。
1:03:03.635–1:03:06.096
And before we even let Kite start building the dashboard,
在我們讓 Kite 開始建置儀表板之前,
1:03:06.096–1:03:08.249
we're going to have to brief Kite on the whole thing
我們必須先向 Kite 簡報整個專案,
1:03:08.249–1:03:10.351
that we want to build from the beginning to the end
從頭到尾我們想要建置的內容,
1:03:10.351–1:03:12.504
and a concept that we have for what we're building.
以及我們對建置目標的概念。
1:03:12.504–1:03:14.725
And for that I'm going to give Kite this prompt here
為此,我將在此提供 Kite 這個提示,
1:03:14.725–1:03:16.418
as a briefing to know what we want to do.
作為簡報,讓它知道我們想做什麼。
1:03:16.418–1:03:17.493
So I just sent this to Kite
所以我剛剛把這個發送給 Kite,
1:03:17.493–1:03:19.541
and in the process I'll be explaining to you guys
在這個過程中,我會向各位解釋
1:03:19.541–1:03:20.565
what I just sent to Kite.
我剛剛發送給 Kite 的內容。
1:03:20.565–1:03:21.428
I'm telling Kite,
我告訴 Kite,
1:03:21.428–1:03:23.729
hey before we even write any single line of code,
嘿,在我們撰寫任何一行程式碼之前,
1:03:23.729–1:03:25.915
here is the whole picture of what we building.
這裡是我們建置內容的全貌。
1:03:25.915–1:03:26.764
So I'm telling Kite
所以我正在告訴 Kite
1:03:26.764–1:03:29.098
we're building a premium content automation studio
我們正在打造一個高品質內容自動化工作室
1:03:29.098–1:03:30.530
with a beautiful web dashboard.
並配備精美的網頁儀表板。
1:03:30.530–1:03:32.752
I'm telling Kite how the whole process is going to work.
我正在告訴 Kite 整個流程將如何運作。
1:03:32.752–1:03:35.867
So we're going to have Atlas who is going to be our researcher.
因此我們將擁有 Atlas,他將擔任我們的研究員。
1:03:35.867–1:03:39.531
basically go and propose some ideas and then we will promote one as a user
基本上,他會去提出一些想法,然後我們會將其中一個想法推廣為使用者
1:03:39.531–1:03:42.097
and then Vera would write the content of the slides
接著 Vera 會撰寫投影片的內容
1:03:42.097–1:03:44.000
and after this is done Kite who is also
完成後,Kite 同時也是
1:03:44.000–1:03:49.705
our developer and our designer would fit this content into one of the templates that we would pick
我們的開發者和設計師,他會將這些內容套用到我們挑選的其中一個範本中
1:03:49.705–1:03:55.550
and then we would render that template from an HTML document into an image with about 10 1080 to 1350p
然後我們會將該範本從 HTML 文件渲染成圖片,解析度約為 1080p 至 1350p
1:03:55.550–1:03:57.029
and then Orin who is going
接著 Orin 將
1:03:57.039–1:04:00.430
to be our publisher would publish this to any network that we want to build this on
擔任我們的發布者,將這些內容發布到我們希望構建的任何網路平台上
1:04:00.430–1:04:03.619
and I'm also telling Sky that we're going to set this on a small Python server
我也告訴 Sky,我們將把這個系統設置在一台小型 Python 伺服器上
1:04:03.619–1:04:04.986
which is going to be on dashboard
該伺服器將運行在儀表板上
1:04:04.986–1:04:08.345
and also very important I'm telling Kai that we're going to give him or a template
同樣非常重要的一點是,我告訴 Kai,我們將提供給他一個
1:04:08.345–1:04:09.786
that we're going to be working with
我們將使用的範本
1:04:09.786–1:04:12.071
and I want this template to be the design source of truth
我希望這個範本成為設計的權威來源
1:04:12.071–1:04:15.791
because I don't want him to change anything that we're going to be putting in the template
因為我不希望他改變我們放入範本中的任何內容
1:04:15.791–1:04:17.571
and also a few things that I'm giving him
此外,我還提供給他一些
1:04:17.571–1:04:19.190
that I want to have a backup protocol
我希望建立備份協議的事項
1:04:19.190–1:04:21.942
and also some principles of how the whole build is going to be.
以及一些關於整個建構過程的原則。
1:04:21.942–1:04:25.774
So Kite responded that hey understood here is the plan in my own words.
所以 Kite 回應說,他理解了,以下是我用我自己的話來描述的計畫。
1:04:25.774–1:04:31.224
Candice is a complete content automation studio with a polished web dashboard as a control interface
Candice 是一個完整的內容自動化工作室,並配備了精美的網頁儀表板作為控制介面。
1:04:31.224–1:04:35.584
and he's basically just repeating all the things that we told Kite in the sequence
他基本上只是在重複告訴 Kite 的所有事情,按照順序。
1:04:35.584–1:04:37.444
how the whole flow is going to work.
整個流程將如何運作。
1:04:37.444–1:04:40.797
So Kite is basically ready to fill in to build the dashboard with us.
所以 Kite 基本上準備好要與我們一起建立這個儀表板。
1:04:40.797–1:04:41.764
So in the next stage
所以在下一個階段
1:04:41.764–1:04:44.363
we're going to tell Kite to build the Python back end
我們將指示 Kite 建立 Python 後端
1:04:44.363–1:04:47.022
on which this web dashboard is going to be running on.
這個網頁儀表板將運行在該後端之上。
1:04:47.022–1:04:49.359
I'm going to give this prompt here to get that ready.
我將在此提供這個提示,以準備好它。
1:04:49.359–1:04:53.479
I'm telling Kai that hey we're going to build this dashboard in a way that is going to be very secured.
我告訴 Kai,我們將以非常安全的方式建立這個儀表板。
1:04:53.479–1:04:54.371
So for the first part
所以對於第一部分
1:04:54.371–1:04:55.945
we're going to be setting this thing
我們將設置這個東西
1:04:55.945–1:04:57.361
on what is called SSA tunneling.
在所謂的 SSA 隧道技術上。
1:04:57.361–1:05:00.136
So that means that whenever you want to connect to the dashboard
這意味著每當你想要連線到儀表板時
1:05:00.136–1:05:02.963
you're going to use a command like SS minus N minus L this port here
你將使用類似 SS -N -L 這個連接埠的命令
1:05:02.963–1:05:06.000
and at the end you're going to put in your username and your IP address.
最後你要輸入你的使用者名稱和你的 IP 地址。
1:05:06.000–1:05:06.729
But I'm going to show you
但我將向你展示
1:05:06.729–1:05:07.349
how this would work.
這將如何運作。
1:05:07.359–1:05:09.749
Now the reason why we are using this in the first place
現在我們之所以首先使用這個的原因
1:05:09.749–1:05:13.225
is that the web dashboard is not going to be available to the public internet.
是因為這個網頁儀表板將不對公眾網際網路開放。
1:05:13.225–1:05:18.495
It's only someone who knows the password of your VPS server that would be able to connect to the dashboard.
只有知道您 VPS 伺服器密碼的人才能連線到儀表板。
1:05:18.495–1:05:20.146
And that is why it makes it so secured.
這就是為什麼它如此安全的原因。
1:05:20.146–1:05:25.286
But even after we are done with the build, we're going to be installing tails skill that will save the dashboard for us.
但即使我們完成建置,我們仍將安裝 Tailscale,由它為我們儲存儀表板。
1:05:25.286–1:05:30.526
Now tail skill is one of the most solid security setups that we can use to get our dashboard online.
現在,Tailscale 是我們可以使用來讓儀表板上線的最穩固的安全設定之一。
1:05:30.526–1:05:33.885
So for the first time, we're going to use SSH tunneling to access the dashboard.
所以第一次,我們將使用 SSH 隧道來存取儀表板。
1:05:33.885–1:05:34.718
But when we are done,
但當我們完成後,
1:05:34.718–1:05:36.336
we're going to be installing tail skill
我們將安裝 Tailscale
1:05:36.336–1:05:38.160
which is going to host the whole thing for us.
它將為我們託管整個系統。
1:05:38.160–1:05:39.697
And the best thing about tail skill
而 Tailscale 最棒的地方
1:05:39.697–1:05:41.976
is that we would then be able to access the dashboard
在於我們隨後能夠存取儀表板
1:05:41.976–1:05:44.043
on any PC that is running our tail skill account
在任何執行我們 Tailscale 帳戶的 PC 上
1:05:44.043–1:05:45.315
or even on your mobile phone.
甚至在您的手機上。
1:05:45.315–1:05:45.772
All right.
好的。
1:05:45.772–1:05:46.444
So kite is done.
所以 Kite 完成了。
1:05:46.444–1:05:48.815
He set up the back end that we used to run the dashboard
他設定了我們用來執行儀表板的後端
1:05:48.815–1:05:50.647
and he also gave us the SSH tunnel command
他也給了我們 SSH 隧道指令
1:05:50.647–1:05:52.802
that we're going to use to access the dashboard.
我們將使用該指令來存取儀表板。
1:05:52.802–1:05:54.204
So what we're going to have to do
所以我們必須要做的是
1:05:54.204–1:05:55.445
is to just copy this command
只是複製這個指令
1:05:55.445–1:05:57.009
that Kite has provided for us here.
由 Kite 在這裡為我們提供的指令。
1:05:57.009–1:05:58.697
We're going to go back into PowerShell
我們接下來要回到 PowerShell
1:05:58.697–1:06:00.755
and then in PowerShell just put in this command
然後在 PowerShell 中輸入這個指令
1:06:00.755–1:06:01.283
ssh minus L.
ssh -L。
1:06:01.283–1:06:02.063
This is the port
這是我們用來儲存儀表板的連接埠
1:06:02.063–1:06:03.743
that we use to save the dashboard.
我們用來儲存儀表板的連接埠
1:06:03.743–1:06:04.884
This is the security end
這也是你的使用者名稱
1:06:04.884–1:06:06.481
and also this is the your username
在我的情況下,我建立了一個新的使用者名稱
1:06:06.481–1:06:08.363
which in my case I created a new username
如果你還記得的話,叫做 Larry
1:06:08.363–1:06:09.732
if you remember called Larry
這是 VPS 伺服器的 IP 位址。
1:06:09.732–1:06:11.785
and this is the IP address of the VPS server.
現在我要在這裡輸入我的密碼,然後按下 Enter。
1:06:11.785–1:06:14.480
Now here I'm going to put in my password and then just press enter.
現在我要輸入密碼然後按 Enter
1:06:14.480–1:06:16.248
Now it's going to bring you to this point here.
它會是一個閃爍的光標。
1:06:16.248–1:06:17.979
It's going to be a ca just blinking.
這表示你已經連接到 VPS 伺服器的後端。
1:06:17.979–1:06:20.882
That means that you are connected to the back end of the VPS server.
所以我們接下來要做的是打開一個瀏覽器
1:06:20.882–1:06:23.725
So what we're going to do now is we're going to open a browser
然後就像 Kite 告訴我們的那樣,他說我們應該在瀏覽器中打開這個 URL。
1:06:23.725–1:06:27.680
and then just as Kite gave to us, he says that we should open this URL on our browser.
然後就像 Kite 告訴我們的那樣,他說我們應該在瀏覽器中開啟這個網址
1:06:27.680–1:06:28.996
We're going to copy this URL here.
我們要把它貼在這裡並按下 Enter。
1:06:28.996–1:06:30.906
We're going to paste this in here and press enter.
然後你會看到我們已經連接到儀表板。
1:06:30.906–1:06:33.062
And then you see that we are connected to the dashboard.
但因為我們那裡還沒有任何東西,所以我們會收到這個錯誤回應。
1:06:33.062–1:06:36.667
But because we do not have anything there yet, that is why we get this error response.
但因為我們那裡還沒有任何東西,所以才會收到這個錯誤回應
1:06:36.667–1:06:37.442
But in principle,
但原則上,
1:06:37.442–1:06:39.714
we are connected to the back end of the Python server.
我們已連接到 Python 伺服器的後端。
1:06:39.714–1:06:41.306
Now what we're going to do is in the next thing
接下來我們要做的就是
1:06:41.306–1:06:43.629
we're going to have to put something on the dashboard for us to see
是必須在儀表板上顯示一些內容,讓我們能看到
1:06:43.629–1:06:44.790
basically what we're building.
基本上我們正在建構的東西。
1:06:44.790–1:06:47.731
And for that we're going to tell Kite to create a web upload page.
為此,我們將指示 Kite 建立一個網頁上傳頁面。
1:06:47.731–1:06:48.889
Now in this web upload page
現在,在這個網頁上傳頁面中,
1:06:48.889–1:06:50.416
we're going to upload all the files
我們將上傳所有檔案,
1:06:50.416–1:06:51.890
that is going to save the template
這將儲存我們想要建構內容的範本。
1:06:51.890–1:06:52.943
of what we want to build.
我要複製這段提示給 Kite,
1:06:52.943–1:06:54.694
I'm going to copy this prompt to Kite
並將它發送給 Kite,
1:06:54.694–1:06:56.271
and I'm going to send this to Kite
接著我會將這個發送給 Kite
1:06:56.271–1:06:57.497
to build the upload point
讓我們可以上傳所有我們需要的儀表板內容。
1:06:57.497–1:06:59.657
where we can upload all the dashboard stuffs
這將包含儀表板的 HTML 範本,
1:06:59.657–1:07:00.299
that we need.
以及所有我們將要使用的投影片,
1:07:00.299–1:07:03.276
And this would contain the HTML template to the dashboard
當我們建構這些輪播投影片時。
1:07:03.276–1:07:04.392
and all the the slides
在 Kite 建構的同時,讓我展示一下範本的外觀。
1:07:04.392–1:07:05.818
that we're going to be using
我們將要使用的
1:07:05.818–1:07:07.927
when we building these carousel slides.
在建立這些輪播投影片時
1:07:07.927–1:07:10.921
Whilst Kite is building that, let me show you how the template looks.
在 Kite 建置的同時,讓我展示一下這個範本的樣貌
1:07:10.921–1:07:15.520
So this is the empty template that we're going to give to Kite to upload on the dashboard for us.
所以這就是我們準備提供給 Kite,讓他在後台上傳的空模板。
1:07:15.520–1:07:18.198
So we see that we have the content tab which is a bit populated.
所以我們看到內容標籤頁已經有一些內容了。
1:07:18.198–1:07:19.551
The idea tab looks empty.
想法標籤頁看起來是空的。
1:07:19.551–1:07:21.270
The studio tab also looks empty.
工作室標籤頁看起來也是空的。
1:07:21.270–1:07:22.457
Everything looks empty.
一切都看起來是空的。
1:07:22.457–1:07:25.400
But once he's done, he's going to basically add this to the back end
但一旦他完成後,他基本上會將這個添加到後端
1:07:25.400–1:07:28.503
and then we're going to populate this dashboard template as we build.
然後在我們構建的過程中,我們會填充這個後台模板。
1:07:28.503–1:07:29.048
All right.
好的。
1:07:29.048–1:07:29.801
So Kite is done.
所以 Kite 已經完成了。
1:07:29.801–1:07:32.657
He's built the back end which we're going to use to upload all the files
他構建了我們用來上傳所有文件的後端
1:07:32.657–1:07:34.381
that he would need to build the dashboard.
這些是他構建後台所需的文件。
1:07:34.381–1:07:36.038
And he gave us this URL here for that.
他給了我們這裡的 URL。
1:07:36.038–1:07:37.190
So I'm going to copy the URL.
所以我要複製這個 URL。
1:07:37.200–1:07:38.478
I'm going to open the browser and
我要打開瀏覽器並
1:07:38.478–1:07:39.661
I'm going to paste in this URL.
我要貼上這個 URL。
1:07:39.661–1:07:42.400
Hopefully, we have a web upload upload dashboard.
希望我們能看到一個網頁上傳後台。
1:07:42.400–1:07:43.794
Okay, so this is working quite well.
好的,所以這運作得相當不錯。
1:07:43.794–1:07:45.945
So, he built the cadence upload back end
所以,他構建了 Cadence 上傳後端
1:07:45.945–1:07:48.487
and he's telling us that he expects four files.
他告訴我們他預期有四份文件。
1:07:48.487–1:07:49.384
So, the template,
所以,模板,
1:07:49.384–1:07:50.461
so the HTML templates
所以是 HTML 範本
1:07:50.461–1:07:51.477
and three JSON files
以及三個 JSON 檔案
1:07:51.477–1:07:54.348
which are going to be the templates of the carousel slides
這些將作為輪播投影片(carousel slides)的範本
1:07:54.348–1:07:55.245
and for the reuse.
並用於重複使用。
1:07:55.245–1:07:57.264
So, I uploaded all the four files that are required
所以,我上傳了所有四個所需的檔案
1:07:57.264–1:07:58.994
and also this is confirmed on the dashboard
並且在儀表板上也確認了
1:07:58.994–1:08:00.292
that these four files are saved.
這四個檔案已儲存。
1:08:00.292–1:08:01.041
So the next point
所以下一個重點
1:08:01.041–1:08:02.538
what I'm going to tell Kite is that
我要告訴 Kite 的是
1:08:02.538–1:08:04.195
hey I have uploaded all the four files
嘿,我已經上傳了所有四個所需的檔案
1:08:04.195–1:08:06.014
that are required to build the templates
這些檔案是用來建立範本
1:08:06.014–1:08:07.083
to build the dashboard.
以建立儀表板。
1:08:07.083–1:08:09.558
So I want him to serve these files on the Python temp
所以我要他將這些檔案在 Python 環境中提供服務
1:08:09.558–1:08:11.915
so that we can actually see that this is working.
這樣我們才能真正看到這是否運作正常。
1:08:11.915–1:08:14.575
So what we're basically telling Kite in this prompt
所以我們基本上在這個提示(prompt)中告訴 Kite
1:08:14.575–1:08:19.091
is that the file that we upload the template is called cadence dashboard template.html
我們上傳的範本檔案名稱是 cadence dashboard template.html
1:08:19.091–1:08:21.256
but I want him to rename this to index.html
但我希望他將這個重新命名為 index.html
1:08:21.256–1:08:23.669
into the dedicated folder that we have created
進入我們建立的專屬資料夾
1:08:23.679–1:08:24.203
for the dashboard
所建立的專屬資料夾中
1:08:24.203–1:08:25.147
that we're going to be building.
也就是我們即將建立的儀表板。
1:08:25.147–1:08:27.042
And also very very important at least in my case
而且這也非常、非常重要,至少對我來說是如此
1:08:27.042–1:08:30.444
if you want to change the templates then you don't need to give Kite this instruction
如果你想變更範本,就不需要給 Kite 這項指令
1:08:30.444–1:08:33.759
but what I'm telling Kite is that hey this is going to be the design source of truth.
但我告訴 Kite 的是,嘿,這將成為設計的真實來源(source of truth)
1:08:33.759–1:08:36.926
So whenever he's building anything he should always check for the template
所以無論他建構什麼,都應該隨時檢查範本
1:08:36.926–1:08:39.490
to make sure that he hasn't made any design changes to the temp
以確保他沒有對範本進行任何設計變更
1:08:39.490–1:08:43.110
so that whatever he's going to be building is going to be identical to what we have in the
這樣他建構出來的東西就會跟我們模板裡的一模一樣
1:08:43.120–1:08:43.688
templates.
範本中的內容完全相同
1:08:43.688–1:08:47.948
on telling him that hey the template contains basically mock values like hardcoded stuff
我告訴他,範本基本上包含模擬值,例如硬編碼的內容
1:08:47.948–1:08:49.765
so that nothing basically looks empty
這樣看起來就不會有任何空白
1:08:49.765–1:08:53.968
but those numbers that we have on the templates are going to be replaced with real metrics
但模板上的那些數字會被真實的指標取代
1:08:53.968–1:08:54.309
once we
開始建構儀表板時,將會被真實的指標取代
1:08:54.319–1:08:57.904
start building the dashboard and this one of the nice things not that I like about Hermes
這是 Hermes 的一個優點,也是我喜欢它的原因之一
1:08:57.904–1:09:01.784
so what you can see here for instance is that he's done with basically the work that we give to him
所以你在這裡可以看到,他基本上完成了我們交給他的工作
1:09:01.784–1:09:06.581
and you can see that he's using an inbuilt browser to check to see if everything that is there is correct
你可以看到他使用內建瀏覽器來檢查所有內容是否正確
1:09:06.581–1:09:08.908
so he's clicking and taking browser snapshots
所以他點擊並截取瀏覽器畫面
1:09:08.908–1:09:12.428
he's clicking different sections and taking snapshots of that aspect
他點擊不同的部分並截取該方面的畫面
1:09:12.428–1:09:15.590
just to be sure that whatever he did is identical to what is in the
只是為了確保他所做的內容與模板中的內容完全一致
1:09:15.600–1:09:15.877
template.
範本中的內容完全相同
1:09:15.877–1:09:18.866
And this is one of the main reasons why I really like working with Hemis
這也是我非常喜歡與 Hermes 合作的主要原因之一
1:09:18.866–1:09:20.309
because I build dashboards a lot.
因為我經常建構儀表板
1:09:20.319–1:09:24.081
And if the agents or Hemis allows the agent to be able to work with a headless browser
如果代理程式或 Hemis 允許代理程式使用無頭瀏覽器
1:09:24.081–1:09:25.717
to be able to see what it's building,
能夠看到它正在建構的內容,
1:09:25.717–1:09:26.644
this is really cool.
這真的很酷。
1:09:26.644–1:09:27.131
All right.
好的。
1:09:27.131–1:09:28.402
So Kite says he's done.
所以 Kite 說他完成了。
1:09:28.402–1:09:32.986
He says the template is logged in but is partially complete because there's one file that is missing.
他表示模板已登入,但由於缺少一個檔案,因此僅完成部分。
1:09:32.986–1:09:37.127
So when I look here, he says that he didn't find the templates packed because it's false zero.
所以當我看這裡時,他說他找不到打包的模板,因為它是 false zero。
1:09:37.127–1:09:38.719
Let me see why this is the case.
讓我看看為什麼會這樣。
1:09:38.719–1:09:40.231
So it could be that our upload didn't work.
可能是我們的上傳沒成功。
1:09:40.231–1:09:43.678
So he's saying that we should re-upload this file through the upload point.
所以他說我們應該透過上傳點重新上傳這個檔案。
1:09:43.678–1:09:47.446
So I'm going to put in this here again and I'm going to re-upload the templates pack.
所以我要在這裡再次輸入,並重新上傳模板包。
1:09:47.446–1:09:50.934
So I'm going to tell Kite I have re-upload templates pack.json.
所以我要告訴 Kite 我重新上傳了 templates pack.json。
1:09:50.934–1:09:52.175
Can you confirm?
你能確認嗎?
1:09:52.175–1:09:52.795
Perfect.
完美。
1:09:52.795–1:09:55.546
So it appears that something happened the first time that I uploaded this.
看來我第一次上傳這個時發生了某些狀況。
1:09:55.546–1:09:56.540
So he says that yes,
所以他說是的,
1:09:56.540–1:09:57.410
he can see it now.
他現在可以看到它了。
1:09:57.410–1:09:58.423
He checked the file
他檢查了檔案
1:09:58.423–1:10:01.717
and all the uploaded source files are now present in the folder
所有上傳的原始檔案現在都出現在資料夾中
1:10:01.717–1:10:03.047
that we require them to be
我們要求它們所在的位置
1:10:03.047–1:10:03.997
which is perfect.
這太完美了。
1:10:03.997–1:10:05.475
So now let's go to the dashboard
所以現在讓我們進入儀表板
1:10:05.475–1:10:07.691
and see if the dashboard is actually rendering
看看儀表板是否真的在
1:10:07.691–1:10:08.544
on the Python ser.
Python 伺服器上渲染。
1:10:08.544–1:10:08.977
So to do that
要做到這一點,
1:10:08.977–1:10:10.364
we're going to use local host to do that
我們將使用 localhost 來完成,
1:10:10.364–1:10:11.750
we're going to use local host col8892.
我們將使用 localhost:8892。
1:10:11.760–1:10:13.345
The 8892 is the part of the server
8892 是伺服器的一部分
1:10:13.345–1:10:16.222
and the local host is basically the local area on our server
而 localhost 基本上是指我們伺服器上的本地區域,
1:10:16.222–1:10:18.570
that we're going to use to access the dashboard.
我們將用它來存取儀表板。
1:10:18.570–1:10:20.692
And then when I open this hopefully beautiful.
然後當我打開這個時,希望它看起來很美。
1:10:20.692–1:10:23.737
So you can see that now we have the dashboard loaded just as we had in the template.
所以你可以看到現在我們已經載入了儀表板,就像我們在範本中看到的一樣。
1:10:23.737–1:10:26.635
So let me open the template for us to do a one is to one copy.
所以讓我打開範本,讓我們進行一比一的複製。
1:10:26.635–1:10:30.216
This what we had in the template and this is what is being saved on our dashboard.
這是我們在範本中看到的,而這是保存在我們儀表板上的內容。
1:10:30.216–1:10:33.766
So all the pages are identical to what we had in the template.
所以所有頁面都與我們在範本中看到的完全相同。
1:10:33.766–1:10:35.240
So kite is doing a pretty good job.
所以 Kite 做得相當不錯。
1:10:35.240–1:10:35.991
Now, in the next stage,
現在,在下一個階段,
1:10:35.991–1:10:36.505
we're going to,
我們將,
1:10:36.505–1:10:38.087
this is one of the things that I always recommend
這是我在建立代理程式時總是建議的事情之一
1:10:38.087–1:10:39.590
when you're building stuffs with the agents.
當你使用代理程式建構東西時。
1:10:39.600–1:10:42.038
Let the agents always create a copy of the dashboard
讓代理程式在進行任何變更之前,始終建立儀表板的副本。
1:10:42.038–1:10:43.456
before they make any changes.
在進行任何變更之前。
1:10:43.456–1:10:44.901
I always say this in every video
我在我製作的每一部影片中都會這樣說。
1:10:44.901–1:10:47.069
that I worked on the dashboard for several days
我曾花了幾天時間製作儀表板,
1:10:47.069–1:10:48.514
and my agent just made a mistake
而我的代理程式只是犯了一個錯誤,
1:10:48.514–1:10:50.070
and basically I lost everything.
基本上我失去了一切。
1:10:50.080–1:10:52.767
And that is why it's very important that you tell your agent that,
這就是為什麼你必須告訴你的代理程式這一點非常重要,
1:10:52.767–1:10:54.857
hey, before you make any changes to the dashboard,
嘿,在對儀表板進行任何變更之前,
1:10:54.857–1:10:57.345
please create a copy of the dashboard and save it somewhere.
請建立儀表板的副本並將其儲存到某個地方。
1:10:57.345–1:11:00.877
And also on the dashboard, we have this section here that is the version number.
此外,在儀表板上,我們有這個版本號碼區塊。
1:11:00.877–1:11:04.700
And I want him to update a version number anytime he makes a change to the dashboard.
我希望他在對儀表板進行任何變更時更新版本號碼。
1:11:04.700–1:11:06.030
So I'm going to copy this prompt
所以我將複製這段提示,
1:11:06.030–1:11:08.077
and I'm going to send it to Kite to implement this
並將它發送給 Kite 來實作這項功能,
1:11:08.077–1:11:09.520
and Kite is done with that as well.
而 Kite 也已經完成了這項工作。
1:11:09.520–1:11:10.842
So when we come to the dashboard
所以當我們回到儀表板,
1:11:10.842–1:11:12.012
and we reload the template.
並重新載入範本時。
1:11:12.012–1:11:14.143
So we should now see that he has changed.
所以我們現在應該會看到他已經做出了變更。
1:11:14.143–1:11:15.522
So we used to have editorial.
所以我們之前有編輯版。
1:11:15.522–1:11:18.417
Let me open the template for you to see what this looked like before.
讓我為你打開範本,讓你看看之前是什麼樣子。
1:11:18.417–1:11:20.751
So in the template in this bottom section here
所以在此範本的底部區塊中
1:11:20.751–1:11:22.655
we used to have version 0.1 editorial
我們過去有版本 0.1 的編輯模式
1:11:22.655–1:11:25.358
and you can see that now this is updated in our version
你可以看到現在我們的版本已更新
1:11:25.358–1:11:26.095
to version 0.1
更新至版本 0.1
1:11:26.095–1:11:29.350
which means that kite is going to keep the version update always
這意味著 Kite 將始終保持版本更新
1:11:29.360–1:11:30.543
updated as we move on.
隨著我們的進展持續更新。
1:11:30.543–1:11:32.403
So currently we're going to start with the build.
所以目前我們將從建置開始。
1:11:32.403–1:11:37.371
So all the parameters that you see here in the content tab are basically hardcoded from the template that I built
所以在內容標籤頁中看到的參數,基本上都是從我建立的模板中硬編碼的
1:11:37.371–1:11:41.644
and also the all the stuffs that we have in the agents tab, the heat map, everything is hardcoded.
此外,代理標籤頁中的所有內容、熱圖等,也都是硬編碼的。
1:11:41.644–1:11:48.175
So we're going to tell Kite, we're going to give Kite a prompt to basically update the dashboard metrics that we have here
所以我們將告訴 Kite,我們會給 Kite 一個提示,基本上是要更新我們這裡的儀表板指標
1:11:48.175–1:11:53.074
and also the agents tab so that we have real data, real data from our hemis setup that we have
以及代理標籤頁,以便我們擁有來自 hemis 設置的真實數據
1:11:53.074–1:11:55.714
but not from the hardcoded stuff that we have in the template.
而不是來自模板中硬編碼的內容。
1:11:55.714–1:11:57.201
And I'm telling him that hey
然後我告訴他嘿
1:11:57.201–1:11:58.106
when you are done
當你完成時
1:11:58.106–1:12:00.305
confirm that both tabs show the real data
確認兩個標籤頁都顯示真實數據
1:12:00.305–1:12:02.374
and the heat map matches the run table.
且熱圖與運行表相符。
1:12:02.374–1:12:03.284
Now for the heat map
現在關於熱圖
1:12:03.284–1:12:07.379
all the information is going to be pulled from the agents login database that we built.
所有資訊都將從我們建立的代理登入資料庫中提取。
1:12:07.379–1:12:08.161
If you remember
如果你記得
1:12:08.161–1:12:11.411
we built something where every agent is going to log the activity
我們建立了一個功能,讓每個代理記錄活動
1:12:11.411–1:12:12.795
whenever they do something
無論他們做什麼
1:12:12.795–1:12:14.540
whenever they perform any action.
他們執行任何動作時。
1:12:14.540–1:12:14.970
All right.
好的。
1:12:14.970–1:12:16.327
So Kite is done with that as well.
所以 Kite 也完成了這項工作。
1:12:16.327–1:12:17.499
Let's look at what Kite built.
讓我們來看看 Kite 做了什麼。
1:12:17.499–1:12:18.850
Let's reload the dashboard.
讓我們重新載入儀表板。
1:12:18.850–1:12:23.289
So here you can see that he's now pulling the real metrics from our data agent database that we built.
所以你可以在這裡看到,他現在正從我們建構的資料代理資料庫中抓取實際的指標。
1:12:23.289–1:12:28.470
So you can see that now kite is trying to pull the real metrics from the agents login database.
所以你可以看到,現在 Kite 正試圖從代理登入資料庫中抓取實際的指標。
1:12:28.480–1:12:31.033
So you can see that currently in the agent workload
所以你可以看到,目前在工作負載方面
1:12:31.033–1:12:33.708
because none of the agents have done something today
因為今天沒有任何代理執行過任何動作
1:12:33.708–1:12:36.261
that is why everything stays at zero for atlas vera
這就是為什麼 Atlas、Vera
1:12:36.261–1:12:39.544
and origin and kite is the only one that'll be working with today.
以及 Origin 的數據都維持在零,只有 Kite 今天有在運作。
1:12:39.544–1:12:41.083
So kite is basically at 100%.
所以 Kite 基本上達到 100%。
1:12:41.083–1:12:43.413
And the same thing when you come to the agent database
當你查看代理資料庫時也是一樣的情況
1:12:43.413–1:12:46.061
you can see that everything is almost zero for all the agents
你可以看到所有代理的數據幾乎都是零
1:12:46.061–1:12:47.967
because they haven't done anything today.
因為他們今天還沒有執行任何動作。
1:12:47.967–1:12:50.179
So I'm recording today on the second day.
所以我今天是在第二天進行錄製。
1:12:50.179–1:12:53.725
So basically I would expect that there would be some metrics from the previous day.
所以基本上我預期應該會有一些來自前一天的指標數據。
1:12:53.725–1:12:58.672
So I'm going to tell Kai that hey it appears that the metrics that are being pulled are only being pulled from today
所以我會告訴 Kai,嘿,看起來被抓取的指標僅來自今天
1:12:58.672–1:13:01.619
but there should be some activity from the agents the previous day.
但應該會有一些來自前一天的代理活動數據。
1:13:01.619–1:13:04.925
So he should make sure that the dashboard doesn't only reflect today
所以他應該確保儀表板不僅僅反映今天的數據
1:13:04.925–1:13:08.636
but basically reflects all the data that we have in the agent login database.
但基本上應該反映我們代理登入資料庫中的所有資料。
1:13:08.636–1:13:11.016
So I'm telling Kite hey this looks awesome.
所以我告訴 Kite 嘿,這看起來很棒。
1:13:11.016–1:13:11.440
Thanks.
謝謝。
1:13:11.440–1:13:15.154
However it appears that the agent metrics being displayed are only from today.
不過看起來目前顯示的代理人員指標僅限於今天
1:13:15.154–1:13:17.689
I do not see any data for instance from yesterday.
我看不到例如昨天的任何資料。
1:13:17.689–1:13:20.100
even though the database should contain this.
即使資料庫應該包含這些資料。
1:13:20.100–1:13:22.425
So he should basically investigate and see what is wrong
所以他應該基本上進行調查,看看出了什麼問題
1:13:22.425–1:13:26.185
and make sure that we are serving all the data that is currently in our agent login database.
並確保我們提供目前代理登入資料庫中的所有資料。
1:13:26.185–1:13:26.719
All right.
好的。
1:13:26.719–1:13:27.733
So Kai says he's done.
所以 Kai 說他已經完成了。
1:13:27.733–1:13:29.011
It appears there was an issue.
似乎出現了一個問題。
1:13:29.011–1:13:33.468
So he says that the real problem was there was this issue with the test server Python server
所以他說真正的問題在於測試伺服器 Python 伺服器存在這個問題
1:13:33.468–1:13:36.737
that was basically deleting stuff from the production database.
基本上它會從生產資料庫中刪除資料。
1:13:36.737–1:13:38.315
So he basically fixed this as well.
所以他基本上也修復了這個問題。
1:13:38.315–1:13:39.898
So he says that the fixes are made.
所以他說修復已經完成。
1:13:39.898–1:13:42.143
The test no longer touch the production database
測試不再觸碰生產資料庫
1:13:42.143–1:13:43.895
and he's basically put in some metrics
他基本上加入了一些指標
1:13:43.895–1:13:46.688
some implementations to make sure that this does not happen.
一些實作措施,以確保這不會再次發生。
1:13:46.688–1:13:49.732
But what I would like Kai to do here before we even proceed further,
但在我希望 Kai 在這裡做的,在我們進一步進行之前,
1:13:49.732–1:13:51.724
I want to be sure that this problem is fixed.
我想確定這個問題已經修復。
1:13:51.724–1:13:53.164
I'm going to tell Kai that hey
我要告訴Kay說嘿
1:13:53.164–1:13:54.963
perform a quick end to end smoke test
執行一個快速的全端冒煙測試
1:13:54.963–1:13:55.743
to all the agent
針對所有代理程式
1:13:55.743–1:13:57.242
trigger a few test activities
觸發一些測試活動
1:13:57.242–1:14:00.242
and verify that the resulting data are saved in the database
並驗證產生的資料是否已儲存至資料庫
1:14:00.242–1:14:02.641
and also correctly reflected on the dashboard.
以及是否正確反映在儀表板上。
1:14:02.641–1:14:04.316
If there is anything that is not there,
如果有任何遺漏的地方,
1:14:04.316–1:14:05.310
he should fix it as well
他也應該修復它
1:14:05.310–1:14:08.084
because the agent login database is going to be an integral part
因為代理程式登入資料庫將是我們即將建構內容中不可或缺的一部分
1:14:08.084–1:14:09.602
of what we are going to be building.
是我們即將建構的內容中不可或缺的一部分。
1:14:09.602–1:14:13.395
And that is why I want to be thousand% sure that the agents are logging
這就是為什麼我要百分之百確定代理程式正在登入
1:14:13.395–1:14:17.588
and also that all the things that they do also reflect here on the dashboard.
並且他們所做的所有事情也都能在此處的儀表板上反映出來。
1:14:17.588–1:14:19.717
And by the way, all these deep prompts that I'm adding,
順便一提,我正在新增的所有深度提示,
1:14:19.717–1:14:21.326
I'm going to make these available to you.
我會讓你們也能使用這些提示。
1:14:21.326–1:14:23.112
So that should you have the same situation,
這樣如果你們遇到相同的情況,
1:14:23.112–1:14:26.586
you can just copy paste the prompt and give it to the agents or Kite to fix this for you.
你們只需複製貼上提示,並交給代理程式或Kite來為你們修復這個問題。
1:14:26.586–1:14:27.049
All right.
好的。
1:14:27.049–1:14:28.963
So Kite says he's done with the smoke test.
所以Kite說他已經完成冒煙測試。
1:14:28.963–1:14:30.576
He repeated this across all the agents.
他已在所有代理程式上重複執行此測試。
1:14:30.576–1:14:33.120
And currently you can see that all the agents completed.
目前你可以看到所有代理程式都已完成。
1:14:33.120–1:14:36.942
When we come back to the dashboard, you can see that now we don't have the 00 that we had.
當我們回到儀表板時,你會看到現在沒有之前出現的 00 了。
1:14:36.942–1:14:41.600
We basically have metrics from all the agents that is being pulled correctly from the agent login database.
我們基本上可以正確地從代理程式登入資料庫中提取所有代理程式的指標。
1:14:41.600–1:14:43.317
And the same thing also applies to the heat map.
熱圖的情況也是一樣的。
1:14:43.317–1:14:47.450
And when we come to the dashboard, we also see that the agents total runs are also correct.
當我們回到儀表板時,我們也看到代理程式的總運行次數也是正確的。
1:14:47.450–1:14:49.667
There is one more thing that is not correct here
這裡還有一項不正確的地方。
1:14:49.667–1:14:52.226
which has to do with the agent workload distribution.
這與代理程式的工作負載分佈有關。
1:14:52.226–1:14:54.278
This would always have to sum up to 100
這總和必須等於 100。
1:14:54.278–1:14:57.521
so that we can always see which agent has the most workload.
這樣我們才能始終看到哪個代理程式的工作負載最重。
1:14:57.521–1:14:59.161
I'm also going to tell Kite to fix this
我也會告訴 Kite 修復這個問題。
1:14:59.161–1:15:01.172
and after that we can continue with the build.
之後我們就可以繼續進行建置。
1:15:01.172–1:15:02.436
And for that I'm telling Kite,
為此我告訴 Kite,
1:15:02.436–1:15:03.750
hey on the dashboard homepage,
嘿,在儀表板首頁上,
1:15:03.750–1:15:06.278
the agent workload share distribution does not make sense.
代理程式的工作負載分佈比例沒有意義。
1:15:06.278–1:15:07.602
So basically I'm telling him
基本上我是在告訴他,
1:15:07.602–1:15:09.313
that everything should add up to 100%
所有項目加起來應該等於 100%。
1:15:09.313–1:15:11.199
but currently everything adds up to 350.
但目前所有項目加起來卻等於 350。
1:15:11.199–1:15:11.861
The idea is that
這個想法是,
1:15:11.861–1:15:12.828
whenever I look at this
每當我查看這個
1:15:12.828–1:15:15.069
I'm supposed to see which agent has been more active.
我應該能看到哪個代理程式比較活躍。
1:15:15.069–1:15:17.521
So he should basically correct this for us as well.
所以他基本上也應該幫我們修正這個問題。
1:15:17.521–1:15:18.965
And Kite has done with that as well.
而 Kite 也完成了這項工作。
1:15:18.965–1:15:19.659
So basically now
所以基本上現在
1:15:19.659–1:15:20.800
when I look on the dashboard
當我看儀表板時
1:15:20.800–1:15:22.883
you can see that the distribution now makes sense.
你會發現分佈現在變得合理了。
1:15:22.883–1:15:24.034
It all adds up to 100%
它們加總起來正好是 100%
1:15:24.034–1:15:27.079
and I can see clearly that Kite is the most active agent
我可以清楚地看到 Kite 是最活躍的代理
1:15:27.079–1:15:30.057
because he is the one building the dashboard anyway.
因為反正就是他在建構這個儀表板。
1:15:30.057–1:15:32.621
So now the agent login database is working correctly.
所以現在代理登入資料庫運作正常。
1:15:32.621–1:15:35.982
all the metrics that have been put on the agent tab are also making sense
放在代理頁籤上的所有指標也都變得合理
1:15:35.982–1:15:39.344
so we can start with the build of the other components of the dashboard.
所以我們可以開始建構儀表板的其餘元件。
1:15:39.344–1:15:42.473
I'm going to explain the concept of what all the prompts are going to do
我將說明所有提示詞的功能概念
1:15:42.473–1:15:44.630
and I'm going to put in all these prompts in one go
並一次性輸入所有這些提示詞
1:15:44.630–1:15:47.597
so that you don't have to sit and watch me put in one after the other.
這樣你就不用坐著看我一個接一個地輸入。
1:15:47.597–1:15:50.232
Now in the next prompt we're going to build an exporter
現在在下一個提示詞中,我們將建構一個匯出器
1:15:50.232–1:15:51.930
and let me explain why we need this.
讓我解釋為什麼我們需要這個。
1:15:51.930–1:15:56.636
So initially, previously whenever you wanted to build a carousel image like a slide or something like that,
所以最初,以前每當你想建構像投影片之類的輪播圖片時,
1:15:56.636–1:15:59.303
you always had to design everything in a photo editor, right?
你總是必須在圖片編輯器中設計一切,對吧?
1:15:59.303–1:16:01.181
And then save it, export it as a picture
然後儲存它,將其匯出為圖片
1:16:01.181–1:16:03.001
and then you had your carousel image.
接著你就擁有了輪播圖片。
1:16:03.001–1:16:04.937
But the trick what we're going to be using here is
但我們在這裡要使用的技巧是
1:16:04.937–1:16:06.341
we're going to render every slide.
我們將渲染每一張投影片。
1:16:06.341–1:16:08.564
We're going to build every slide as an HTML.
我們將把每一張投影片建構為 HTML。
1:16:08.564–1:16:13.495
Now, if you build a slide as an image, you pay for every image that you generate.
現在,如果你將投影片建構為圖片,你就需要為每一張生成的圖片付費。
1:16:13.495–1:16:18.666
So if you want to change any text in the image, then it means that you always have to pay for API calls,
所以,如果你想變更圖片中的任何文字,這意味著你必須始終為 API 呼叫付費,
1:16:18.666–1:16:21.189
which makes it not fun anymore to work on slides.
這使得製作投影片變得不再有趣。
1:16:21.199–1:16:22.916
So, we're going to build this in a smarter way.
因此,我們將以更聰明的方式來建構這個。
1:16:22.916–1:16:26.929
What we're going to do is we're going to build every carousel as an HTML file.
我們將要做的是,將每一組輪播建構為一個 HTML 檔案。
1:16:26.929–1:16:32.540
Now, because it's going to be an HTML file, it will be very easy for us to edit any text that we want to edit.
現在,因為它將是一個 HTML 檔案,所以我們將非常容易編輯我們想要編輯的任何文字。
1:16:32.540–1:16:33.931
And let me just go into my setup
讓我進入我的設定
1:16:33.931–1:16:35.211
just to explain for you guys
只是為了向你們解釋
1:16:35.211–1:16:37.549
to get a concept of how we're going to build a slice.
讓我們了解我們將如何建構一張投影片的概念。
1:16:37.549–1:16:39.370
So, let me take this one here for instance.
所以,讓我以這裡的這個為例。
1:16:39.370–1:16:42.209
Everything that you are seeing here looks like an image,
你在這裡看到的一切看起來像是一張圖片,
1:16:42.209–1:16:43.840
but it's basically not an image.
但它基本上不是一張圖片。
1:16:43.840–1:16:47.002
It's an HTML document that is rendering the file like this.
它是一個像這樣渲染檔案的 HTML 文件。
1:16:47.002–1:16:49.406
So whenever I want to export this as an image
所以,每當我想將這個匯出為圖片時
1:16:49.406–1:16:52.677
then I'm going to deploy what is called a headless browser.
我將部署所謂的無頭瀏覽器(headless browser)。
1:16:52.677–1:16:55.466
So a headless browser doesn't need a desktop to run.
所以,無頭瀏覽器不需要桌面環境來運行。
1:16:55.466–1:16:58.073
It's basically going to render this file here
它基本上將渲染這裡的這個檔案
1:16:58.073–1:16:59.857
which is basically an HTML file
這基本上是一個 HTML 檔案
1:16:59.857–1:17:02.121
and then take a snapshot of what it sees.
然後對它所見的內容進行截圖。
1:17:02.121–1:17:04.918
So eventually all the things here that we are seeing
所以最終我們所看到的這些內容
1:17:04.918–1:17:06.349
which is rendered as a code
以程式碼形式呈現
1:17:06.349–1:17:08.041
would be then exported as a JPEG
接著會被匯出為 JPEG 格式
1:17:08.041–1:17:10.838
and then with that you can upload this to Instagram,
然後你可以將它上傳到 Instagram
1:17:10.838–1:17:11.879
Tik Tok or whatever
或是 TikTok 或其他平台
1:17:11.879–1:17:13.765
wherever you want to build this on.
無論你想在哪裡建立這個內容。
1:17:13.765–1:17:15.784
Now the reason why we do it in this smart way
現在我們採用這種聰明方式的原因
1:17:15.784–1:17:18.899
is that originally whenever you want to build any carousel slide
是因為原本每當你想要建立任何輪播簡報時
1:17:18.899–1:17:20.572
you have to use an image generator.
你都必須使用圖片生成工具。
1:17:20.572–1:17:22.105
Maybe you can use nano banana
也許你可以使用 nano banana
1:17:22.105–1:17:25.172
or all the AI models that are out there to generate images.
或是市面上所有的 AI 模型來生成圖片。
1:17:25.172–1:17:27.165
But when you even want to change one text
但即使你只想修改其中一個文字
1:17:27.165–1:17:29.098
then you have to tell the AI model again
你就必須再次告訴 AI 模型
1:17:29.098–1:17:30.547
hey I want to change the text.
嘿,我想修改文字。
1:17:30.547–1:17:33.255
Maybe for instance I want to change this from most people
例如,我想將這裡的「大多數人」
1:17:33.255–1:17:33.888
to most users
改為「大多數使用者」
1:17:33.888–1:17:35.444
and I have to tell my a model again
然後我必須再次告訴我的 AI 模型
1:17:35.444–1:17:38.267
hey I want to change the text from most people to most users.
嘿,我想將文字從「大多數人」改為「大多數使用者」。
1:17:38.267–1:17:40.480
And then you pay for every edit that you do
接著你必須為每一次編輯付費
1:17:40.480–1:17:42.628
which is probably not the smartest way.
這可能不是最聰明的做法。
1:17:42.628–1:17:43.508
So how I build this
所以我如何建構這個
1:17:43.508–1:17:44.917
and what most users are using
以及大多數使用者正在使用的方式
1:17:44.917–1:17:47.264
is that you build the whole slide as an HTML file.
就是將整個投影片建構為一個 HTML 檔案。
1:17:47.264–1:17:48.058
And by so doing
透過這樣做
1:17:48.058–1:17:51.366
when you can change everything that you want to do in the file
你可以在檔案中更改所有你想更改的內容
1:17:51.366–1:17:53.682
without having to regenerate the prompts
而不需要重新產生提示詞
1:17:53.682–1:17:55.280
or regenerate some API keys.
或重新產生某些 API 金鑰。
1:17:55.280–1:17:57.858
So here for instance this is what our dashboard is also going to do.
所以這裡舉例來說,這就是我們的儀表板也將要做的事情。
1:17:57.858–1:17:59.175
When I click on fine-tune
當我點擊微調
1:17:59.175–1:18:00.367
and I pick this element
並選擇這個元素
1:18:00.367–1:18:03.880
I can just change the text here from people to most builders, right?
我只需將這裡的文字從 people 改為 most builders,對吧?
1:18:03.880–1:18:05.254
And you see that it does
你會看到它確實做到了
1:18:05.254–1:18:06.629
I can save and rerender
我可以儲存並重新渲染
1:18:06.629–1:18:08.220
and then I have my new slide
然後我就有了新投影片
1:18:08.220–1:18:10.400
without me having to do any API call.
而不需要我進行任何 API 呼叫。
1:18:10.400–1:18:11.150
the same thing.
同樣的事情。
1:18:11.150–1:18:12.545
I can change all the contents.
我可以更改所有內容。
1:18:12.545–1:18:14.634
This is why I really like what we're building here.
這就是我真的很喜歡我們在此建構的原因。
1:18:14.634–1:18:15.641
I can change the layout.
我可以更改版面配置。
1:18:15.641–1:18:17.220
I can move every content here,
我可以移動這裡的所有內容,
1:18:17.220–1:18:18.104
change the size,
調整大小,
1:18:18.104–1:18:20.188
put it in every format that I want to do it
並將其放入我想要的任何格式中
1:18:20.188–1:18:22.398
without me having to pay for any API calls.
而不需要我支付任何 API 呼叫費用。
1:18:22.398–1:18:23.383
So, what we build,
所以,我們所建構的,
1:18:23.383–1:18:26.207
we're building every carousel slide as an HTML file
我們將每個輪播幻燈片建構為一個 HTML 檔案
1:18:26.207–1:18:27.652
and then when we are ready,
然後當我們準備好時,
1:18:27.652–1:18:29.228
we deploy a headless browser
我們會部署一個無頭瀏覽器(headless browser)
1:18:29.228–1:18:31.592
that looks at that HTML file we have created
來查看我們建立的該 HTML 檔案
1:18:31.592–1:18:33.628
and creates a snapshot of as a picture
並將其建立為圖片的快照
1:18:33.628–1:18:35.280
that we can then upload to more
然後我們可以將其上傳到更多
1:18:35.280–1:18:36.614
any social media platform.
任何社群媒體平台。
1:18:36.614–1:18:40.550
So we avoiding the aspect of complicating the whole carousel image design
因此,我們避免了使整個輪播圖片設計複雜化的問題,
1:18:40.550–1:18:43.026
where you have to make an API call for every edit
在那裡你必須為每次編輯進行 API 呼叫
1:18:43.026–1:18:44.232
and pay for every edit.
並為每次編輯付費。
1:18:44.232–1:18:48.147
We are rendering everything as an HTML file that will be completely edited.
我們將所有內容渲染為一個 HTML 檔案,該檔案將被完全編輯。
1:18:48.147–1:18:50.525
Quite crazy the things that you can do with standard HTML.
標準 HTML 能做到的事情相當驚人。
1:18:50.525–1:18:53.564
Like you see here all these templates that you are seeing here,
就像你在這裡看到的所有這些範本,
1:18:53.564–1:18:54.675
none of it is a picture.
沒有一個是圖片。
1:18:54.675–1:19:01.559
Everything is built with standls that someone might not even believe you that this built with HTML.
一切都是用標準 HTML 建構的,以至於有人可能甚至不相信這是用 HTML 建構的。
1:19:01.559–1:19:03.325
So basically with this prompt here,
所以基本上,使用這個提示,
1:19:03.325–1:19:07.623
what the prompt is doing is that we're going to build this setup of this headless browser
這個提示的作用是我們要建立這個無頭瀏覽器的設定,
1:19:07.623–1:19:11.096
that would render whatever that we build from an HTML file into an image
它會將我們從 HTML 檔案建立的內容渲染成圖片,
1:19:11.096–1:19:13.510
that can be uploaded on any social media platform
這些圖片可以上傳到任何我們擁有的社群媒體平台,
1:19:13.520–1:19:14.081
that we have.
我們擁有的平台。
1:19:14.081–1:19:16.562
So we are not building images straight ahead.
所以我們不是直接建立圖片。
1:19:16.562–1:19:19.479
We build an HTML file which contains the structure that we want.
我們建立一個包含我們所需結構的 HTML 檔案。
1:19:19.479–1:19:22.960
Then once we are satisfied with it, we export it into an image.
然後,當我們對它滿意時,我們將其匯出為圖片。
1:19:22.960–1:19:26.123
And for this we are using a headless browser that is called Chromium.
為此,我們使用一個名為 Chromium 的無頭瀏覽器。
1:19:26.123–1:19:29.507
And by default, most of the Hemis setups come with Chromium.
預設情況下,大多數的 Hemis 設定都包含 Chromium。
1:19:29.507–1:19:31.754
So we might not even need to install this on our own.
所以我們甚至可能不需要自行安裝它。
1:19:31.754–1:19:35.840
We can just leverage what Hemis already has and then use it to build what we want to build.
我們可以直接利用 Hemis 已有的功能,然後用它來建立我們想要建立的內容。
1:19:35.840–1:19:40.310
If you remember when we were building the dashboard, there was a aspect that I told you that the agents were basically.
如果你記得我們建立儀表板時,我曾告訴過你關於代理人的某個方面。
1:19:40.320–1:19:41.205
So here for instance,
所以這裡舉例來說,
1:19:41.205–1:19:43.023
you can see that Kite was rendering a browser
你可以看到 Kite 正在渲染瀏覽器,
1:19:43.023–1:19:44.448
where he was going to the dashboard
他前往儀表板
1:19:44.448–1:19:46.315
and making sure that everything was working.
並確保一切運作正常
1:19:46.315–1:19:47.840
That is the same concept I'm going to use.
這就是我將使用的相同概念。
1:19:47.840–1:19:49.548
We're going to let the designer in this case
我們將讓設計師在這種情況下
1:19:49.548–1:19:50.545
as well is going to be Kite
同樣也會使用 Kite
1:19:50.545–1:19:51.779
use the same headless browser.
使用相同的無頭瀏覽器。
1:19:51.779–1:19:54.362
But right now he's not going to use it to check the dashboard,
但現在他不會用它來檢查儀表板,
1:19:54.362–1:19:56.893
but he's going to use it lots of what the HTML file contains.
而是會用它來大量處理 HTML 檔案的內容。
1:19:56.893–1:20:01.472
It makes it so easy to be able to build slides without having to pay for API calls every time.
這使得建構投影片變得非常容易,無需每次都要為 API 呼叫付費。
1:20:01.472–1:20:03.292
And Kite is done with that as well.
而 Kite 也完成了這項工作。
1:20:03.292–1:20:04.353
He did a smoke test
他進行了冒煙測試
1:20:04.353–1:20:07.821
and he verified that the images were indeed being rendered
並確認圖片確實已渲染
1:20:07.821–1:20:08.812
from the browser
從瀏覽器
1:20:08.812–1:20:10.793
into for instance here a PNG file.
渲染成例如這裡的 PNG 檔案。
1:20:10.793–1:20:14.557
Now in the next stage we're going to build all the things that are going to run from the back end.
現在在下一個階段,我們將建構所有將在後端執行的東西。
1:20:14.557–1:20:18.390
So I'm going to explain all these backend prompts and then I'm going to give these to kites
所以我要解釋所有這些後端提示,然後將它們提供給 Kite
1:20:18.390–1:20:23.414
but I'm going to explain all these prompts to the point where we get to a prompt that would trigger a front-end design.
但我要解釋所有這些提示,直到我們得到一個會觸發前端設計的提示為止。
1:20:23.414–1:20:24.950
So when you are using the prompt
所以當你使用提示
1:20:24.950–1:20:26.014
everything that I say
我所說的一切
1:20:26.014–1:20:26.841
backend back end
後端後端
1:20:26.841–1:20:27.609
I try to add this
我試著加上這個
1:20:27.609–1:20:29.264
so that you can see what to expect.
這樣你就可以知道預期會發生什麼。
1:20:29.264–1:20:30.360
If it's a backend prompt
如果是後端提示
1:20:30.360–1:20:32.608
then it wouldn't show anything on the dashboard.
那麼儀表板上就不會顯示任何內容。
1:20:32.608–1:20:34.297
It's basically building the foundation
這基本上是在建構基礎
1:20:34.297–1:20:35.241
on which we would build
我們要在其上進行建構
1:20:35.241–1:20:36.731
to show something on the dashboard.
以便在儀表板上顯示內容。
1:20:36.731–1:20:38.989
When we get to the aspect here where I write design
當我們進入這裡的設計撰寫面向時
1:20:38.989–1:20:41.853
then it means that what you going to do is going to show a design.
這意味著你將要做的事情會顯示設計。
1:20:41.853–1:20:44.883
But if I get to an aspect where I realize that it's quite useful to explain
但如果我進入一個我認為解釋起來相當有用的面向
1:20:44.883–1:20:46.701
I'm going to explain this to you guys as well
我也會向你們解釋這一點
1:20:46.701–1:20:49.277
so that you can also understand what these prompts look like.
讓你們也能了解這些提示的外觀。
1:20:49.277–1:20:50.132
And in every case
在每種情況下
1:20:50.132–1:20:52.085
I always include sort of a description
我總是會包含某種描述
1:20:52.085–1:20:54.648
to basically explain what the prompt is going to do
基本上是用來解釋提示將要做什麼
1:20:54.648–1:20:56.052
and what you should expect.
以及你應該預期會發生什麼。
1:20:56.052–1:20:58.094
So now we are done with the exporter prompt.
所以現在我們完成了匯出器提示。
1:20:58.094–1:21:01.108
The next prompt is going to be the template packs auto fit.
下一個提示將是範本套件自動調整。
1:21:01.108–1:21:06.080
Now whenever we are generating an idea, let me use my setup to give you a concept of what I'm doing.
現在,每當我們生成想法時,讓我使用我的設定來讓你們了解我在做什麼。
1:21:06.080–1:21:07.872
So when I click on generate ideas, let's see.
所以當我點擊生成想法時,我們來看看。
1:21:07.872–1:21:10.599
I already have some ideas that are already generated here.
我這裡已經有一些已生成的想法。
1:21:10.599–1:21:14.670
So let's look at for instance building a one person AI operation team.
所以讓我們來看看例如建構一人 AI 營運團隊。
1:21:14.670–1:21:15.907
Now when I like this idea
現在當我喜歡這個想法時
1:21:15.907–1:21:17.021
and I click on promote
並點擊提升
1:21:17.021–1:21:19.372
basically I can decide on the number of slides
基本上我可以決定要生成的投影片數量
1:21:19.372–1:21:20.609
that I want to generate.
我要產生的幻燈片數量。
1:21:20.609–1:21:21.687
So let's say for instance
所以舉個例子來說
1:21:21.687–1:21:22.918
I want to generate six slides
我想產生六張幻燈片
1:21:22.918–1:21:23.893
and I say write slides.
然後我輸入「撰寫幻燈片」。
1:21:23.893–1:21:25.679
What is going to happen is that Vera
接下來會發生的情況是,Vera
1:21:25.679–1:21:27.034
who is going to be our right
也就是我們右側的
1:21:27.034–1:21:29.313
is going to write the slides for the carousel
會為輪播圖撰寫幻燈片內容
1:21:29.313–1:21:31.469
or the content or the text for the carousel
或是輪播圖的內容或文字
1:21:31.469–1:21:32.762
that we want to generate.
也就是我們想要產生的部分。
1:21:32.762–1:21:37.061
Now like I said all these things that Vera is going to give to us is just going to be raw text
就像我剛才說的,Vera 提供給我們的所有內容都只是原始文字
1:21:37.061–1:21:40.006
but we have to be able to insert these text into the template.
但我們必須能夠將這些文字插入到範本中。
1:21:40.006–1:21:43.077
This prompt that we're going to build here is going to build that part
我們在這裡要建立的這個提示詞,將會建立那個部分
1:21:43.077–1:21:46.095
where it's going to take the content that has been generated by Vera
它會將由 Vera 產生的內容取出
1:21:46.095–1:21:48.304
and insert it into the HTML template that we have.
並將其插入到我們現有的 HTML 範本中。
1:21:48.304–1:21:52.098
So all the templates that you see here like I said these are basically HTML templates.
所以你在這裡看到的所有範本,就像我剛才說的,這些基本上都是 HTML 範本。
1:21:52.098–1:21:57.405
So for instance when I look at this example here you can see that some of it have longer word characters than some.
所以舉例來說,當你查看這裡的範例時,你可以看到有些範例的字元長度比其他範例長。
1:21:57.405–1:21:59.580
So this one for instance has longer characters.
所以這個範例的字元比較長。
1:21:59.580–1:22:01.536
This has a different layout and stuff like that.
這個範例有不同的版面配置等等。
1:22:01.536–1:22:07.111
So then what is going to happen is that the back end that we're going to build is going to look at a template that you select and
接下來會發生的情況是,我們要建立的後端會查看你所選取的範本,並
1:22:07.111–1:22:10.117
then adapt the text that Vera generated here to fit that template.
然後調整 Vera 在此產生的文字,以符合該範本。
1:22:10.117–1:22:12.324
And this is what I call the auto fit feature.
這是我所謂的自動適應功能。
1:22:12.324–1:22:13.212
And for this to work,
為了讓這個功能運作,
1:22:13.212–1:22:16.971
we have to build a render engine that is going to look at the content that Vera generated
我們必須建構一個渲染引擎,它會查看 Vera 產生的內容
1:22:16.971–1:22:18.381
look at a destination template.
並查看目標範本。
1:22:18.381–1:22:19.385
So here for instance,
所以這裡舉例來說,
1:22:19.385–1:22:19.999
if I say that,
如果我說,
1:22:19.999–1:22:20.222
hey,
嘿,
1:22:20.222–1:22:21.170
I like this content.
我喜歡這個內容。
1:22:21.170–1:22:23.230
When I come to approve and pick templates,
當我來核准並挑選範本時,
1:22:23.230–1:22:25.644
then it ask me which of the templates I want to use.
它會問我要使用哪一個範本。
1:22:25.644–1:22:27.873
So whenever I select the template that I want to use,
所以每當我選擇要使用的範本時,
1:22:27.873–1:22:32.019
then the back end that we're going to build here is going to look at the template that we selected,
我們在這裡要建構的後端就會查看我們選取的範本,
1:22:32.019–1:22:34.558
look at the number of words and characters that are in there
查看其中的字數和字元數量
1:22:34.558–1:22:35.750
and then adapt the text that
然後調整文字,
1:22:35.760–1:22:37.892
Vera generated to fit that template.
讓 Vera 產生的內容符合該範本。
1:22:37.892–1:22:42.665
Now imagine that if the words that Vera generated are way longer than what the template can fit,
現在想像一下,如果 Vera 產生的字數遠超過範本能容納的範圍,
1:22:42.665–1:22:47.377
then the carousel just becomes ugly and that is why we build this render take care of that for us
那麼輪播圖就會變得難看,這就是為什麼我們建構這個渲染引擎來幫我們處理這個問題
1:22:47.377–1:22:49.199
and after that we're going to build a
之後我們將建構一個
1:22:49.199–1:22:50.612
pipeline to talk to the crew.
與團隊溝通的管線。
1:22:50.612–1:22:52.915
So currently whenever I'm talking to the crew right
所以目前每當我與團隊溝通時
1:22:52.915–1:22:54.897
I'm chatting with Kite able to chat with Vera
我現在是和 Kite 聊天,能夠和 Vera 對話
1:22:54.897–1:22:56.505
I'm not able to chat to our publisher
我無法和我們的發行商對話
1:22:56.505–1:22:59.022
but we want to be able to chat with them from the dashboard
但我們希望能夠從儀表板與他們對話
1:22:59.022–1:23:00.800
and by chat what I mean is that when I come
而我所說的對話是指,當我進入
1:23:00.800–1:23:03.289
to the idea tab and I click on generate idea
「創意」標籤頁並點擊「生成創意」時
1:23:03.289–1:23:06.133
this sends a message to Atlas who is our research
這會發送訊息給 Atlas,他是我們的研發
1:23:06.133–1:23:08.195
look for ideas of what we can build.
負責尋找我們可以建構什麼的創意。
1:23:08.195–1:23:09.933
I'm talking to Atlas through a code
我是透過程式碼與 Atlas 對話
1:23:09.933–1:23:12.870
where I send a trigger to Atlas that hey generate some ideas
我發送觸發訊號給 Atlas,說嘿,生成一些創意
1:23:12.870–1:23:15.447
and the same thing applies for all the other agents.
其他所有代理程式也是一樣的道理。
1:23:15.447–1:23:17.029
Whenever we want to publish something
每當我們想要發布內容時
1:23:17.029–1:23:19.502
we're not going to come to Telegram and tell them to publish.
我們不會去 Telegram 上告訴他們發布。
1:23:19.502–1:23:21.161
We want to push a button the dashboard
我們希望點擊儀表板上的按鈕
1:23:21.161–1:23:23.729
that is going to trigger the agent to publish the content.
這將觸發代理程式發布內容。
1:23:23.729–1:23:26.768
And these are the things that prompt 17 is going to do.
這些就是 Prompt 17 要做的內容。
1:23:26.768–1:23:28.366
It's going to build an interface
它將建構一個介面
1:23:28.366–1:23:30.853
where whenever we click a button on the dashboard,
每當我們在儀表板上點擊按鈕時,
1:23:30.853–1:23:34.000
it sends and triggers an agent to do that particular task for us.
它會發送並觸發代理程式為我們執行該特定任務。
1:23:34.000–1:23:35.760
And then we're going to have prompt 18.
接著我們將有 Prompt 18。
1:23:35.760–1:23:38.341
Prompt 18 is going to be exclusively for Atlas
Prompt 18 將專門用於 Atlas
1:23:38.341–1:23:40.583
who is our ideas guy and our researcher.
他是我們的創意發想與研究人員。
1:23:40.583–1:23:44.755
And I'm basically just telling Atlas how I want the carousels to be designed.
我基本上只是在告訴 Atlas 我期望輪播圖的設計風格。
1:23:44.755–1:23:46.628
So here, these are just examples of what I put in.
所以這裡只是我輸入內容的範例。
1:23:46.628–1:23:50.219
I'm telling Atlas that hey whenever you're writing the carousel slides
我告訴 Atlas,每當你在撰寫輪播圖投影片時,
1:23:50.219–1:23:52.792
I want to have this written in plain simple language
我希望使用簡單易懂的語言,
1:23:52.792–1:23:54.228
short words short sentences
用詞簡短、句子精簡,
1:23:54.228–1:23:56.263
no hype no buzz words and stuff like that.
不要浮誇,也不要使用流行語之類的詞彙。
1:23:56.263–1:24:00.979
So this prompt is basically giving Atlas an orientation of how we want the content
因此,這個提示詞基本上是在為 Atlas 提供內容方向的指引,
1:24:00.979–1:24:06.041
and also Vera who is our content writer how we want the content of the slides to look like.
同時也為我們的內容撰寫者 Vera 提供指引,說明我們期望投影片內容呈現的方式。
1:24:06.041–1:24:09.861
And here we're also giving them an orientation on how he's generating an idea.
在這裡,我們也為他提供了關於如何發想構思的指引。
1:24:09.861–1:24:11.432
He should generate four ideas
他應該生成四個構思,
1:24:11.432–1:24:15.767
and basically an orientation on how we want the whole carousel slides to look like.
並基本上提供關於我們期望整體輪播圖呈現方式的指引。
1:24:15.767–1:24:17.911
And then we're going to have this last prompt here
接著,我們會看到這裡的最後一個提示詞,
1:24:17.911–1:24:20.003
which is going to be basically for our publisher
這主要是針對我們的發布人員,
1:24:20.003–1:24:21.258
whenever we want to publish.
每當我們想要發布內容時。
1:24:21.258–1:24:23.354
So for instance when we come to the dashboard
例如,當我們進入儀表板,
1:24:23.354–1:24:25.168
and I come to my studio tab for instance
並進入我的工作室標籤頁時,
1:24:25.168–1:24:26.811
if I want to publish something here
如果我想在這裡發布某些內容,
1:24:26.811–1:24:28.227
I'm just going to click on post
我只需點擊「發布」按鈕,
1:24:28.227–1:24:30.720
and then this can be published directly to Instagram
然後這就可以直接發布到 Instagram。
1:24:30.720–1:24:31.920
to Tik Tok or wherever you
到 TikTok 或其他
1:24:31.920–1:24:33.008
want to apply this to.
你想要應用到的平台。
1:24:33.008–1:24:34.922
But for that as well we need to build a backend
但要做到這一點,我們也需要建立後端
1:24:34.922–1:24:36.732
and that is what this prompt is going to do.
這就是這個提示詞要做的。
1:24:36.732–1:24:38.496
This prompt is going to build a backend
這個提示詞將建立後端
1:24:38.496–1:24:40.204
so that whenever we trigger an upload
以便每當我們觸發上傳
1:24:40.204–1:24:43.566
then the upload can be pushed directly to whatever social media platform
上傳內容就能直接推送到任何我們想要推送的社群媒體平台
1:24:43.566–1:24:44.834
that we want to push this in.
我們想要推送到的平台。
1:24:44.834–1:24:46.433
So I'm going to render all these prompts.
所以我將渲染所有這些提示詞。
1:24:46.433–1:24:51.212
The first prompt being the one that is going to take the text that has been generated and adapt it to the template.
第一個提示詞是用來處理已生成的文字,並將其調整為符合範本格式。
1:24:51.212–1:24:52.015
The next prompt
下一個提示詞
1:24:52.015–1:24:53.992
which is going to be taking care of that
將負責處理這項工作
1:24:53.992–1:24:56.154
we can use all the buttons on our dashboard
我們可以使用儀表板上的所有按鈕
1:24:56.154–1:24:57.884
to trigger an action to the agent.
來觸發對代理程式的操作。
1:24:57.884–1:25:02.027
The prompt 18 which is going to take care of how we want our ideas to be generated.
提示詞 18 將負責決定我們希望如何生成想法。
1:25:02.027–1:25:04.408
The number of ideas that we want to be generated,
我們希望生成的想法數量、
1:25:04.408–1:25:05.419
how we want the cast,
我們希望演員陣容如何、
1:25:05.419–1:25:07.026
how we want the carousel slides,
我們希望輪播幻燈片
1:25:07.026–1:25:08.276
the content to look like.
內容呈現的方式。
1:25:08.276–1:25:09.969
And we would also have the last prompt
我們還會有最後一個提示詞
1:25:09.969–1:25:12.372
that is going to take care of publishing to the server
負責將內容發布至伺服器
1:25:12.372–1:25:13.682
or the social media platform
或是社群媒體平台
1:25:13.682–1:25:15.102
that we want to publish this to.
也就是我們希望發布該內容的平台。
1:25:15.102–1:25:16.732
So I'm going to run all these prompts.
所以我要執行這些提示詞。
1:25:16.732–1:25:17.456
If I get any backs,
如果出現任何錯誤,
1:25:17.456–1:25:18.180
I'm going to pause
我會暫停
1:25:18.180–1:25:19.579
and I'm going to explain this to you
然後我會向大家解釋這一點
1:25:19.579–1:25:20.833
so that you guys can also follow
讓你們也能跟進
1:25:20.833–1:25:21.750
what we would do there.
我們在那裡會做什麼。
1:25:21.760–1:25:22.057
Right.
對。
1:25:22.057–1:25:24.633
So Kite is done with processing all those prompts as well.
所以 Kite 也完成了所有這些提示詞的處理。
1:25:24.633–1:25:26.746
Like I said, I didn't have to respond to anything.
就像我說的,我不需要回應任何內容。
1:25:26.746–1:25:30.255
I just copy pasted all the prompts to Kite and he processed all the back end.
我只是把所有提示詞複製貼上給 Kite,由他處理所有後端作業。
1:25:30.255–1:25:36.021
Now in the next stage, we're going to grab some API keys and I'm going to explain every API key and why we need that.
現在進入下一個階段,我們將取得一些 API 金鑰,我會解釋每個 API 金鑰以及我們為什麼需要它。
1:25:36.021–1:25:36.845
The first API key
第一個 API 金鑰
1:25:36.845–1:25:38.141
that we're going to search
我們要搜尋的
1:25:38.141–1:25:39.024
is for publicity.
是用於公開宣傳。
1:25:39.024–1:25:44.293
So perplexity is one of the AI models that you can use that is very very strong in research.
所以 Perplexity 是你可使用的 AI 模型之一,它在研究方面非常強大。
1:25:44.293–1:25:45.447
So I added this feature
所以我加入了這個功能
1:25:45.447–1:25:47.390
so that when you are writing a carousel
讓你在撰寫輪播圖時
1:25:47.390–1:25:49.819
and you want the agents to really use recent data
並且你希望這些 AI 代理確實使用最新的資料
1:25:49.819–1:25:52.855
then for instance you can use perplexity as a research model
那麼例如你可以使用 Perplexity 作為研究模型
1:25:52.855–1:25:55.830
where Atlas is going to query perplexity to do the research
讓 Atlas 去查詢 Perplexity 來進行研究
1:25:55.840–1:25:58.130
before the contents of the slides have been written.
在幻燈片內容撰寫之前
1:25:58.130–1:26:00.194
Just to give you an example of where we would need this.
只是要舉個例子說明我們何時需要這個功能。
1:26:00.194–1:26:03.317
For instance, when I come to my dashboard and I click on generate ideas,
例如,當我進入我的儀表板並點擊「產生想法」時,
1:26:03.317–1:26:06.281
you see that I have a couple of ideas that have been generated for me.
你會看到我已經為我產生了幾個想法。
1:26:06.281–1:26:09.533
So for instance, let's go for the builder AI automation map.
那麼例如,讓我們選擇「Builder AI 自動化地圖」。
1:26:09.533–1:26:13.904
Now when I want to promote this article or when I want to promote this idea into slides,
現在,當我想推廣這篇文章或將這個想法轉化為幻燈片時,
1:26:13.904–1:26:16.920
I do have this option where I take research with publicity.
我確實有這個選項,即使用「Perplexity 研究」。
1:26:16.920–1:26:18.799
If you take research with publicity,
如果你選擇「Perplexity 研究」,
1:26:18.799–1:26:21.526
then the agent will query publicity as a research tool
那麼代理會將 Perplexity 作為研究工具進行查詢
1:26:21.526–1:26:23.768
to gather this information on this new idea.
以收集關於這個新想法的資訊。
1:26:23.768–1:26:25.253
If you do not take this article,
如果你不選擇這個選項,
1:26:25.253–1:26:27.539
then the agent will just do a standard web search
那麼代理只會進行標準的網路搜尋
1:26:27.539–1:26:28.910
to get ideas for this content
以獲取此內容的想法
1:26:28.910–1:26:31.481
or probably what the agent is also already trained on.
或是代理可能已經訓練過的內容。
1:26:31.481–1:26:34.040
But if you want really research based content,
但如果你確實想要基於研究的内容,
1:26:34.040–1:26:36.532
then you can toggle this research perplexity
那麼你可以切換這個「Perplexity 研究」
1:26:36.532–1:26:39.944
and then the agents will basically do a researchbased content
然後代理基本上會進行基於研究的内容
1:26:39.944–1:26:42.896
for the article or for the idea that you want to create.
針對您想要建立的文章或構想。
1:26:42.896–1:26:44.960
So that's going to be the first key that we're going to get.
這就是我們將要獲得的第一個關鍵。
1:26:44.960–1:26:45.576
Now to get this,
現在要取得這個,
1:26:45.576–1:26:46.760
you can come to Now to get this,
現在要取得這個,
1:26:46.760–1:26:48.229
you can come to console.plexity.ai.
您可以前往 console.plexity.ai。
1:26:48.239–1:26:51.073
I'm also going to provide a link to this in the description section.
我也會在描述區提供相關連結
1:26:51.073–1:26:53.865
Then when you're here, just create an account or login if you already have one.
然後當您在此時,只需建立帳戶,若您已有帳戶則登入。
1:26:53.865–1:26:56.481
And then when you are logged in into the console, you do not have to do much here.
然後當您登入控制台後,這裡不需要做太多操作。
1:26:56.481–1:26:59.274
You can just come to the left section here and click on API keys.
您只需來到左側區塊,點擊 API 金鑰。
1:26:59.274–1:27:03.843
And then under API keys, just come to the top right section here, click on generate API key.
接著在 API 金鑰下方,來到右上角區塊,點擊產生 API 金鑰。
1:27:03.843–1:27:05.830
And you can put in web key you want to go with.
您可以輸入您想要使用的 web key。
1:27:05.840–1:27:09.009
For this tutorial, I'm going to call this comp mechanic tutorial test
本教學中,我會將這個組件命名為機械教程測試
1:27:09.009–1:27:10.593
and then just click on create a key.
對於本教學,我將此命名為 comp mechanic tutorial test
1:27:10.593–1:27:13.451
And after that, you see that an API key would be generated for you.
之後,您會看到已為您產生了一個 API 金鑰。
1:27:13.451–1:27:15.922
So just copy this API key, save it in the safe space,
因此只需複製此 API 金鑰,將其保存在安全的地方,
1:27:15.922–1:27:17.628
and we're going to use this API key.
我們將使用此 API 金鑰。
1:27:17.628–1:27:20.271
The next stage we're going to get an API key from imageB.
下一個階段,我們將從 imageB 取得 API 金鑰。
1:27:20.271–1:27:22.427
But let me explain to you why we need this.
但讓我解釋為什麼我們需要這個。
1:27:22.427–1:27:25.785
So what we want to do with our setup is that we have our cadence
所以我們希望透過我們的設定來做到的是,我們擁有 cadence
1:27:25.785–1:27:29.345
and we want to push images from here to Instagram for an example.
並且我們希望將圖片從這裡推送到 Instagram,例如。
1:27:29.345–1:27:29.760
Right?
對吧?
1:27:29.760–1:27:35.486
The issue is that if we want to push our slides directly from cadence to we need to get Instagram API key.
問題在於,如果我們想直接從 Cadence 將投影片推送到 Instagram,我們需要取得 Instagram API 金鑰。
1:27:35.486–1:27:38.837
If you want to do this for Tik Tok, you need to build your own Tik Tok flow.
如果你想為 TikTok 做這件事,你需要建立自己的 TikTok 流程。
1:27:38.837–1:27:42.194
If you want to do this for Facebook, you have to create your own keys,
如果你想為 Facebook 做這件事,你必須建立自己的金鑰,
1:27:42.194–1:27:43.873
your own flow and stuff like that.
自己的流程等等。
1:27:43.873–1:27:45.539
And this is very very complex, right?
這非常非常複雜,對吧?
1:27:45.539–1:27:48.009
We're going to spend more time building those connections
我們將花費更多時間來建立這些連線,
1:27:48.009–1:27:49.773
than basically focusing on the dashboard
而不是基本上專注於我們想要建立的儀表板。
1:27:49.773–1:27:50.731
that we want to create.
那就是我們想要建立的。
1:27:50.731–1:27:52.492
So what we're going to do is that
所以我們要做的是,
1:27:52.492–1:27:55.338
there are some platforms like buffer or metrical.
有一些平台像 Buffer 或 Metrical。
1:27:55.338–1:27:56.802
And what these platforms do is
這些平台所做的功能是,
1:27:56.802–1:27:59.261
they have access to all the social media platforms
它們可以存取所有社群媒體平台,
1:27:59.261–1:28:01.720
and they have worked on all those backends for you.
並且它們已經為我們處理了所有那些後端。
1:28:01.720–1:28:06.449
So all we would have to do is to push our slides through a platform like metricle or buffer
所以我們所要做的就是將我們的投影片透過像 Metricle 或 Buffer 這樣的平台推送,
1:28:06.449–1:28:10.800
and they would push the slides to the social media platforms that we want to go to.
它們會將投影片推送到我們想要去的社群媒體平台。
1:28:10.800–1:28:16.810
There is one c however that at least from my testing buffer doesn't allow us to push our images directly to that platform.
不過有一個缺點,至少在我的測試中,Buffer 不允許我們將圖片直接推送到該平台。
1:28:16.810–1:28:21.508
So what we're going to need is an intermediate storage where the images that we generate will be pushed to
所以我們需要一個中間儲存空間,我們產生的圖片會被推送到那裡,
1:28:21.508–1:28:23.669
and then from there the images would go to buffer
然後圖片會從那裡轉發到 Buffer,
1:28:23.669–1:28:26.315
and for that we're going to need a platform called image BB.
為此我們需要一個名為 Image BB 的平台。
1:28:26.315–1:28:27.366
Now this BB is free.
現在這個 BB 是免費的。
1:28:27.366–1:28:30.492
So what is going to happen is that whenever you push an image
所以接下來會發生的情況是,每當您推送圖片時
1:28:30.492–1:28:33.554
or whenever you push a story or a carousel from our cadence
或是每當您從我們的 cadence 推送故事或輪播時
1:28:33.554–1:28:35.341
this would be first be pushed to BB
這會先被推送到 BB
1:28:35.341–1:28:37.829
and then from image they would go to Instagram.
然後從圖片那裡轉發到 Instagram。
1:28:37.829–1:28:40.253
Now, it looks complicated from the setup that I'm explaining to you,
現在,從我向您解釋的設定來看,這看起來很複雜,
1:28:40.253–1:28:41.358
but we're going to wire this in.
但我們會將這些連接起來。
1:28:41.358–1:28:42.577
And when you click on post,
當您點擊發布時,
1:28:42.577–1:28:44.905
like for instance, when I come to my dashboard here
例如,當我來到這裡的儀表板
1:28:44.905–1:28:45.736
and I click on post
並點擊發布時
1:28:45.736–1:28:48.286
and I choose, for instance, I want to post to Instagram.
並選擇,例如,我想發布到 Instagram。
1:28:48.286–1:28:49.413
This is going to happen.
就會發生這種情況。
1:28:49.413–1:28:51.450
All this transfer is going to happen automatically.
所有這些傳輸都會自動發生。
1:28:51.450–1:28:54.340
So, you do not have to go here, push from here to here, push from here to here.
所以,您不需要在這裡操作,從這裡推送到那裡,再從那裡推送到這裡。
1:28:54.340–1:28:56.454
We're going to wire in all those connections.
我們會將所有這些連接設定好。
1:28:56.454–1:28:58.800
And to do that, we're going to come to image.b.
要做到這一點,我們會來到 image.b。
1:28:58.800–1:28:59.611
It's completely free.
它完全免費。
1:28:59.611–1:29:01.153
So, you can just create an free account.
所以,您可以直接創建一個免費帳戶。
1:29:01.153–1:29:02.835
And then once you create the account,
然後一旦您創建了帳戶,
1:29:02.835–1:29:04.897
come to the left section here and click on API.
來到這裡的左側部分並點擊 API。
1:29:04.897–1:29:06.959
And this brings you to the API page.
這會帶你進入 API 頁面。
1:29:06.959–1:29:09.423
When you are here, just click on add API key.
當你到達這裡時,只需點擊新增 API 金鑰。
1:29:09.423–1:29:11.484
Create an API key, store the API key,
建立 API 金鑰,並儲存該 API 金鑰,
1:29:11.484–1:29:14.849
and then we can proceed to the next API key that we will need.
接著我們可以繼續進行下一步,建立我們需要的下一個 API 金鑰。
1:29:14.849–1:29:16.598
Now, the next API key that we will need
現在,我們需要的下一個 API 金鑰
1:29:16.598–1:29:18.797
is the platform that is going to push our slides
是用來將我們的簡報推送
1:29:18.797–1:29:21.120
to the social media platform that we want to go to.
到我們想要使用的社群媒體平台的平台。
1:29:21.120–1:29:23.281
Now, here there are several platforms that are out there.
現在,這裡有幾種可用的平台。
1:29:23.281–1:29:25.913
As an example, we have Buffer who can do this for us.
舉例來說,我們有 Buffer 可以幫我們完成這項工作。
1:29:25.913–1:29:28.411
And we also have Metro who can also do this for us.
我們也有 Metro 可以幫我們完成這項工作。
1:29:28.411–1:29:29.466
Both of them work.
兩者都可以運作。
1:29:29.466–1:29:34.117
I know that a lot of people use metrical because they have a very very powerful dashboard that they use.
我知道很多人使用 Metricool,因為他們擁有一個非常強大的儀表板供他們使用。
1:29:34.117–1:29:41.526
But from my testing, I realized that for you to be able to push our slides from Cadence OS to Instagram or Tik Tok,
但根據我的測試,我發現若要將簡報從 Cadence OS 推送到 Instagram 或 Tik Tok,
1:29:41.526–1:29:46.278
if you want to use metrical, then we have to go for a higher payment plan.
如果你想使用 Metricool,我們必須選擇更高階的付費方案。
1:29:46.278–1:29:52.772
It's only the advanced option where you're going to pay 43 in my case a month that would come with the metrical API.
只有進階方案才包含 Metricool 的 API,以我來說,每月需支付 43 美元。
1:29:52.772–1:29:54.413
So this was quite expensive for me
所以這對我來說相當昂貴,
1:29:54.413–1:29:55.292
because in my case
因為在我的情況下,
1:29:55.292–1:29:57.578
if you really need metric code to work with kers
如果你真的需要 Metricool 與 Cadence 配合運作,
1:29:57.578–1:29:59.395
then you would have to go with advance
你就必須選擇進階方案,
1:29:59.395–1:30:01.154
where you pay dollars a month a month
每月需支付一定金額的美元。
1:30:01.154–1:30:02.912
to be able to get access to their API.
以便能夠存取他們的 API。
1:30:02.912–1:30:06.841
Remember an AP is an interface that would allow us to be able to communicate with the platform.
記住,API 是一個讓我們能夠與平台進行溝通的介面。
1:30:06.841–1:30:10.126
And in my case I had just two social media accounts that I was using to test.
而在我的情況下,我只用了兩個社群媒體帳號來進行測試。
1:30:10.126–1:30:13.751
So I didn't want to pay €43 a month just for two social media platforms.
所以我不想為了兩個社群媒體平台就每月支付 43 歐元。
1:30:13.751–1:30:17.693
But advantage with metricle is that you can go for instance with their starter plan
但 Metricool 的優勢在於,你可以選擇他們的入門方案。
1:30:17.693–1:30:21.521
where you would pay $16 a month and then you can add so many social media platforms
在該方案中,你每月只需支付 16 美元,然後可以新增任意數量的社群媒體平台。
1:30:21.521–1:30:23.521
without having to increase your pricing.
而不需要提高你的定價。
1:30:23.521–1:30:27.693
So for instance if you have four social media platforms Tik Tok, Facebook, LinkedIn etc.
例如,如果你有四個社群媒體平台,如 TikTok、Facebook、LinkedIn 等。
1:30:27.693–1:30:30.512
you would still be paying $16 a month which I find pretty cool
你仍然只需每月支付 16 美元,我覺得這相當不錯。
1:30:30.512–1:30:32.936
and I'm going to show you when I would go with metric.
接下來我會告訴你,在什麼情況下我會選擇 Metricool。
1:30:32.936–1:30:34.844
We have another platform that is called buffer
我們還有另一個名為 Buffer 的平台。
1:30:34.844–1:30:37.193
and that is what I used in what we are building with hidden.
這也是我在與 Hidden 合作開發時所使用的工具。
1:30:37.193–1:30:41.327
Advantage with buffer is that they would allow us to be able to use their API assets
Buffer 的優勢在於,即使使用標準方案,他們也允許我們使用他們的 API 資產。
1:30:41.327–1:30:42.665
even with a standard plan.
即使是標準方案。
1:30:42.665–1:30:46.266
And I think in my case I went with the five plan which is essential right?
我認為在我的情況下,我選擇了五個帳號的方案,這是基本方案,對吧?
1:30:46.266–1:30:48.750
So even with this you have access to three API keys
所以即使使用這個方案,你也能存取三個 API 金鑰。
1:30:48.750–1:30:50.325
and you would be able to use this
並且能夠使用這些金鑰。
1:30:50.325–1:30:54.445
but with metrical you can only get access to the API key if you have the dollar plan.
但在 Metricool 中,只有選擇美元方案才能存取 API 金鑰。
1:30:54.445–1:30:59.187
But the caveat with Buffer is that every social media platform that you add you pay an extra $5.
但 Buffer 的缺點在於,每新增一個社群媒體平台,你就需要額外支付 5 美元。
1:30:59.187–1:31:02.669
So if you have Tik Tok, Facebook, Instagram it becomes $15.
所以如果你有 TikTok、Facebook 和 Instagram,費用就會變成 15 美元。
1:31:02.669–1:31:04.674
If you add LinkedIn it becomes $20
如果加入 LinkedIn,費用就會變成 20 美元
1:31:04.674–1:31:06.608
and so it can get a bit expensive.
所以這可能會變得有點貴。
1:31:06.608–1:31:12.258
So in that case, if you don't really care about pushing directly from cadence to the social media platform,
在這種情況下,如果你不太在意直接從 Cadence 推送到社群媒體平台,
1:31:12.258–1:31:16.955
I also did add an option on the dashboard where you can basically download all the slides.
我也在儀表板上增加了一個選項,你可以下載所有的投影片。
1:31:16.955–1:31:18.312
Let me do an example here for you.
讓我這裡舉個例子給你看看。
1:31:18.312–1:31:19.418
When I click on slides,
當我點擊投影片時,
1:31:19.418–1:31:21.747
you can see that the slides are downloaded here.
你可以看到投影片已下載至此。
1:31:21.747–1:31:22.804
When I click on this,
當我點擊這裡時,
1:31:22.804–1:31:25.415
you see that I have all the slides downloaded here.
你可以看到我已經下載了所有的投影片。
1:31:25.415–1:31:26.472
Let me go to thumbnails
讓我進入縮圖
1:31:26.472–1:31:28.363
and you can see that I have all the images.
你可以看到我擁有的所有圖片。
1:31:28.363–1:31:29.008
And what I also
而我也為你們新增了
1:31:29.008–1:31:34.596
added for you is that you can click on caption where you're going to see the caption that is going to be required for you to post.
我還幫大家加上了標題功能,點擊後會顯示發布時必須填寫的標題內容。
1:31:34.596–1:31:37.067
and then you can post this yourself and in that case then
然後你可以自己發布,在這種情況下,
1:31:37.067–1:31:39.270
probably metrical would be a best option because
可能 Metrical 會是最佳選擇,因為
1:31:39.280–1:31:41.314
they do have for instance for the $16 plan
例如對於 16 美元的方案,
1:31:41.314–1:31:43.349
you would be able to add more social media
你將能夠新增更多的社群媒體
1:31:43.349–1:31:44.844
you can see here up to 10 brands
你可以在這裡看到最多 10 個品牌
1:31:44.844–1:31:46.041
which makes it very cool
這讓它非常酷
1:31:46.041–1:31:49.990
but if you really want to leverage the push from cadence directly to your social
但如果你真的想利用從 Cadence 直接推送到你的社群
1:31:50.000–1:31:52.098
media platform then buffer might be a cheaper option
媒體平台,那麼 Buffer 可能是更便宜的選擇
1:31:52.098–1:31:55.770
I'm just trying to explain how you can decide on which are the platforms that you want to go for
我只是想說明如何決定要選擇哪些平台
1:31:55.770–1:31:57.916
so for this example we're going to be going with Buffer
因此在這個範例中,我們將使用 Buffer
1:31:57.916–1:32:00.300
because like I said I had only two social media accounts
因為就像我說的,我只有兩個社群媒體帳號
1:32:00.300–1:32:02.376
and I didn't want to pay €43 here for my testing
而且我不想在這裡為我的測試支付 43 歐元
1:32:02.376–1:32:05.926
so you can just create an account with whatever platform that you want to go for
因此你可以為你選擇的任何平台建立帳號
1:32:05.926–1:32:07.729
and then just loging into your account.
然後登入你的帳號。
1:32:07.729–1:32:10.393
Once you're logged in into your buffer dashboard,
一旦登入你的 Buffer 儀表板,
1:32:10.393–1:32:13.944
just come to the bottom section here where you have my organization
只需來到這裡的底部區塊,那裡有我的組織
1:32:13.944–1:32:14.768
and click on API
並點擊 API
1:32:14.768–1:32:16.290
and then here click on new key
然後在這裡點擊新增金鑰
1:32:16.290–1:32:18.066
and then you can create an API key.
接著你就可以建立 API 金鑰。
1:32:18.066–1:32:21.696
Now with these three API keys from perplexity, imageb and buffer,
現在有了來自 Perplexity、ImageB 和 Buffer 的這三個 API 金鑰,
1:32:21.696–1:32:23.941
we would be able to wire this into cadence
我們就能將這些串連到 Cadence
1:32:23.941–1:32:25.525
and continue with the build.
並繼續進行建置。
1:32:25.525–1:32:27.414
Now with these API keys that we have gathered,
現在有了我們收集的這些 API 金鑰,
1:32:27.414–1:32:29.253
we have to store these API keys to our server.
我們必須將這些 API 金鑰儲存到我們的伺服器。
1:32:29.253–1:32:31.440
And to do that, we're going to come back to PowerShell.
為了做到這一點,我們將回到 PowerShell。
1:32:31.440–1:32:33.325
I'm going to log in back into the terminal.
我將重新登入終端機。
1:32:33.325–1:32:34.133
come back into the
回到
1:32:34.133–1:32:35.856
and I'm going to paste in this command.
然後我會貼上這個指令。
1:32:35.856–1:32:38.728
Now this command is going to ask us for all the API keys
現在這個指令會要求我們提供所有的 API 金鑰。
1:32:38.728–1:32:41.404
and these are going to be secretly stored into the
這些金鑰將會被秘密地儲存到。
1:32:41.404–1:32:44.732
you can in principle just give kite directly into the API keys
原則上你可以直接把 Kite 的 API 金鑰給它。
1:32:44.732–1:32:46.821
but this is not a recommended approach
但這不是推薦的做法。
1:32:46.821–1:32:50.277
because if gets compromised then someone has access to your API keys
因為如果遭到入侵,別人就能存取你的 API 金鑰。
1:32:50.277–1:32:52.934
and that is why whenever I'm adding API keys or secrets
這就是為什麼每次我新增 API 金鑰或機密資訊時。
1:32:52.934–1:32:56.654
I prefer to do it from the rather than directly giving it to kite or telegram.
我比較傾向從這裡操作,而不是直接提供給 Kite 或 Telegram。
1:32:56.654–1:32:57.527
So just press enter
所以只要按下 Enter。
1:32:57.527–1:33:00.201
and then it's going to ask you for your buffer access token.
接著它會要求你輸入 Buffer 存取權杖。
1:33:00.201–1:33:02.286
So here I'm going to paste in my buffer key.
所以這裡我會貼上我的 Buffer 金鑰。
1:33:02.286–1:33:03.009
Paste this in.
把這個貼上。
1:33:03.009–1:33:04.452
And after that just press enter.
然後按下 Enter。
1:33:04.452–1:33:07.630
And then it's going to ask you if your image BB API key.
接著它會詢問你的 Image BB API 金鑰。
1:33:07.630–1:33:09.090
I'm going to copy this as well.
我也會複製這個。
1:33:09.090–1:33:10.173
I'm going to paste this in.
我會把它貼上。
1:33:10.173–1:33:10.792
Press enter.
按下 Enter。
1:33:10.792–1:33:13.547
And then the last one you're going to be asked for your perplexity.
接著最後一個會要求你輸入 Perplexity。
1:33:13.547–1:33:13.777
Oops.
哎呀。
1:33:13.777–1:33:15.294
I realized that I made a mistake.
我發現我犯了一個錯誤。
1:33:15.294–1:33:18.041
So the first one that I put in wasn't for buffer.
所以我輸入的第一個不是用於 buffer。
1:33:18.041–1:33:19.156
It was for perplexity.
而是用於 perplexity。
1:33:19.156–1:33:21.443
So I'm going to cancel this and I'm going to run this again.
所以我會取消這個操作,然後重新執行一次。
1:33:21.443–1:33:22.699
I hope it doesn't get messed up.
希望不會搞砸。
1:33:22.699–1:33:24.921
I'm going to tell Kite in the process that I made a mistake.
在過程中,我會告訴 Kite 我犯了一個錯誤。
1:33:24.921–1:33:26.631
I'm going to recall the same command that I used.
我會重新輸入我之前使用過的相同指令。
1:33:26.631–1:33:27.879
I'm going to press enter and then
我會按下 Enter,然後
1:33:27.879–1:33:29.358
I'm going to copy the right buffer key.
我會複製正確的 buffer 金鑰。
1:33:29.358–1:33:31.010
Then I'm going to copy the image PV.
接著我會複製影像 PV。
1:33:31.010–1:33:33.023
Then I'm going to copy the Plexity API key.
然後我會複製 Plexity API 金鑰。
1:33:33.023–1:33:34.278
I'm going to paste this in.
我會把它貼上。
1:33:34.278–1:33:36.580
And then you can see that all the characters are saved
然後你可以看到所有字元都已儲存
1:33:36.580–1:33:38.307
and we get a notification that all done.
我們會收到通知,表示全部完成。
1:33:38.307–1:33:40.488
So what I'm going to do now is I'm going to come to Kite
所以我現在要做的是,我會回到 Kite
1:33:40.488–1:33:41.959
and I'm going to tell Kite that hey,
然後我會告訴 Kite 嘿,
1:33:41.959–1:33:43.440
we've stored these three API keys.
我們已經儲存了這三個 API 金鑰。
1:33:43.440–1:33:44.508
He should do a smoke test
他應該進行一次冒煙測試
1:33:44.508–1:33:46.377
to make sure that all the keys are working.
以確保所有金鑰都能正常運作。
1:33:46.377–1:33:47.182
So I'm going to copy this
所以我會複製這個
1:33:47.182–1:33:48.149
and I'm going to give to Kite.
然後交給 Kite。
1:33:48.149–1:33:50.538
But because I made a mistake and did it twice,
但因為我犯錯並重複操作了兩次,
1:33:50.538–1:33:51.700
I'm going to send him a
我會發送給他
1:33:51.700–1:33:52.668
I'm going to write
我會寫道
1:33:52.668–1:33:54.670
I did make a mistake and added it twice
我確實犯錯並重複添加了兩次
1:33:54.670–1:33:56.219
so you can ignore this entry.
所以你可以忽略這個項目。
1:33:56.219–1:33:58.124
Then I'm going to tell him to do a smoke test.
接著我會告訴他進行冒煙測試。
1:33:58.124–1:33:59.745
I hope that the first mistake that I did,
我希望我犯的第一個錯誤,
1:33:59.745–1:34:01.120
he would be able to just rectify it
他應該能夠直接修正這個問題
1:34:01.120–1:34:02.642
and see that all the keys are working.
並確認所有金鑰都能正常運作。
1:34:02.642–1:34:05.375
Hey, if you're finding value in this content that I'm creating,
嘿,如果你覺得我創作的內容有價值,
1:34:05.375–1:34:06.510
hit the subscribe button,
請點擊訂閱按鈕,
1:34:06.510–1:34:07.593
subscribe to my channel,
訂閱我的頻道,
1:34:07.593–1:34:12.337
and hit the like button for YouTube algorithm to keep pushing this video to other people that will be out there.
並點擊讚按鈕,讓 YouTube 演算法繼續將這部影片推送給其他可能感興趣的人。
1:34:12.337–1:34:13.420
It doesn't cost you anything,
這不會花你任何錢,
1:34:13.420–1:34:15.153
but it really does support my channel's growth.
但確實能支持我的頻道成長。
1:34:15.153–1:34:17.429
A lot of work goes into crafting all these tutorials,
製作這些教學影片需要投入大量心血,
1:34:17.429–1:34:18.101
creating that,
製作內容,
1:34:18.101–1:34:19.033
creating the prompt,
撰寫提示詞,
1:34:19.033–1:34:21.567
and that is why I'm not even able to upload a video every week
這就是為什麼我甚至無法每週上傳影片
1:34:21.567–1:34:24.464
because I test everything about 20 times before I push it out there.
因為我在發布前會將每件事測試約 20 次。
1:34:24.464–1:34:27.126
And that is why I have to upload videos on a bi-weekly schedule
這就是為什麼我必須每兩週上傳一次影片
1:34:27.126–1:34:29.631
because a lot of work goes into crafting all these things.
因為製作這些內容需要投入大量工作。
1:34:29.631–1:34:30.705
And kite is done as well.
而 Kite 也完成了。
1:34:30.705–1:34:31.740
So he did a smoke test.
他進行了一次煙霧測試。
1:34:31.740–1:34:33.223
He verified that buffer works,
他確認了 buffer 運作正常,
1:34:33.223–1:34:33.907
imageb works,
imageb 運作正常,
1:34:33.907–1:34:34.991
and perplexity works.
以及 perplexity 運作正常。
1:34:34.991–1:34:35.440
All right.
好的。
1:34:35.440–1:34:36.115
In the next stage,
在下一個階段,
1:34:36.115–1:34:37.285
we're going to put in prompt 20.
我們將放入提示詞 20。
1:34:37.285–1:34:39.860
Prompt 20 is basically going to give us a trigger
提示詞 20 基本上會給我們一個觸發器
1:34:39.860–1:34:41.406
where we can publish an idea,
讓我們可以發布一個想法,
1:34:41.406–1:34:42.243
create an idea,
創建一個想法,
1:34:42.243–1:34:43.209
render a content,
渲染內容,
1:34:43.209–1:34:45.269
render a carousel and stuff like that.
渲染輪播圖等之類的東西。
1:34:45.269–1:34:46.513
So just copy this prompt here
所以只需複製這裡的提示詞
1:34:46.513–1:34:48.380
and we're going to give this as well to Kite.
然後我們也會把它給 Kite。
1:34:48.380–1:34:48.822
All right.
好的。
1:34:48.822–1:34:50.370
And Kite is done with that as well.
而 Kite 也完成了這部分。
1:34:50.370–1:34:53.272
Now the next three prompts are basically going to be the design prompts.
現在接下來三個提示詞基本上會是設計提示詞。
1:34:53.272–1:34:55.167
This is going to wire the ideas tab,
這將連接「想法」標籤頁
1:34:55.167–1:34:56.147
the promotes tab,
「提示」標籤頁
1:34:56.147–1:34:57.454
and also the studio tab.
以及「工作室」標籤頁。
1:34:57.454–1:34:58.067
And after that,
在那之後,
1:34:58.067–1:34:59.906
we're going to basically test the whole thing.
我們基本上會測試整個系統。
1:34:59.906–1:35:02.458
So now we have this idea tab that has nothing there.
所以現在我們有這個「想法」標籤頁,裡面什麼都沒有。
1:35:02.458–1:35:04.407
We have the studio tab that has nothing there.
我們有這個「工作室」標籤頁,裡面也什麼都沒有。
1:35:04.407–1:35:06.480
We have the publish tab that also has nothing there.
我們還有這個「發布」標籤頁,裡面同樣什麼都沒有。
1:35:06.480–1:35:07.552
And also the templates tab.
還有「範本」標籤頁。
1:35:07.552–1:35:08.604
So what we're going to do is
所以我們要做的是
1:35:08.604–1:35:10.803
we're going to give Kite these prompts to wire those up.
我們要把這些提示給 Kite,來連接這些頁面。
1:35:10.803–1:35:11.462
And after that,
在那之後,
1:35:11.462–1:35:12.577
we can test some functions
我們可以測試一些功能
1:35:12.577–1:35:14.452
so that you guys can see what we are building.
讓你們看到我們正在建構的內容。
1:35:14.452–1:35:17.036
So I'm going to give all these prompts to Kite sequentially
所以我要依序把所有這些提示給 Kite
1:35:17.036–1:35:18.460
and then we can go to see the test.
然後我們就可以去查看測試結果。
1:35:18.460–1:35:18.868
All right.
好的。
1:35:18.868–1:35:21.157
So Kite is done with processing all those prompts.
所以 Kite 已經處理完所有那些提示。
1:35:21.157–1:35:21.359
Now,
現在,
1:35:21.359–1:35:23.232
I know we've been building for some time now.
我知道我們已經建構了一段時間。
1:35:23.232–1:35:26.849
Now, let's see a real demo of the end to end to make sure that everything is working.
現在,讓我們看一個端到端的實際示範,以確保一切運作正常。
1:35:26.849–1:35:31.834
So, I'm going to come back to the dashboard and I'm going to reload the dashboard and then let's go to the ideas tab.
所以,我會回到儀表板,重新載入儀表板,然後前往「點子」標籤頁。
1:35:31.834–1:35:37.360
Now, I see that Kite did a smoke test where he tested one agent tonight before you trusted.
現在,我看到 Kite 進行了一次冒煙測試,他在你信任之前測試了一個代理程式。
1:35:37.360–1:35:40.160
So, he just did a smoke test to make sure that the ideas are working.
所以,他只是進行了一次冒煙測試,以確保點子功能正常運作。
1:35:40.160–1:35:44.846
Now, let's click on generate ideas to see if the end to end flow with Atlas doing the research,
現在,讓我們點擊「產生點子」,看看由 Atlas 進行研究並提供點子的端到端流程是否可行。
1:35:44.846–1:35:46.733
giving us some ideas is going to work.
看看它是否能順利運作。
1:35:46.733–1:35:49.317
So, I see a notification that he's doing the research.
我看到一個通知,顯示他正在進行研究。
1:35:49.317–1:35:50.927
Let's wait till the results come out.
讓我們等待結果出現。
1:35:50.927–1:35:51.922
And this worked very well.
這運作得非常順利。
1:35:51.922–1:35:55.120
So you can see that we have four ideas that was generated by Atlas.
所以你可以看到,我們有四點由 Atlas 產生的點子。
1:35:55.120–1:35:57.998
Browser agents should verify, not just click.
瀏覽器代理程式應該進行驗證,而不僅僅是點擊。
1:35:57.998–1:36:00.659
Your agent needs a sandbox before it needs more tokens.
你的代理程式在需要更多權杖之前,需要先有沙盒環境。
1:36:00.659–1:36:03.189
Now let's say that we want to promote one of these ideas.
現在假設我們想推廣其中一個點子。
1:36:03.199–1:36:05.593
So let's go with stop giving agents your whole app.
所以我們選擇「停止將整個應用程式交給代理程式」。
1:36:05.593–1:36:06.870
And let's click on promote.
然後點擊「推廣」。
1:36:06.880–1:36:07.621
And then here,
接著在這裡,
1:36:07.621–1:36:10.151
let's say we want to generate 10 carousel slides.
假設我們想產生 10 張輪播幻燈片。
1:36:10.151–1:36:12.167
And I'm going to say research perlexity.
我會說研究 Perplexity。
1:36:12.167–1:36:13.891
And then here perplexity is enabled
然後在這裡,Perplexity 已啟用,
1:36:13.891–1:36:16.305
because we want to research perplexity is enabled
因為我們想研究 Perplexity 已啟用
1:36:16.305–1:36:19.007
just to make sure that we test that the API key is working.
只是為了確保我們測試 API 金鑰是否運作正常。
1:36:19.007–1:36:21.283
And I also added this option here steroid mode.
我還在此處新增了這個選項:類固醇模式。
1:36:21.283–1:36:25.806
Now this is going to create more of like a power sort of words for the carousel slides.
現在這會為輪播簡報產生更多類似強力詞彙的內容。
1:36:25.806–1:36:27.470
So let's just enable those two as well.
所以讓我們也啟用這兩項功能。
1:36:27.470–1:36:29.384
And then let's go to write 10 slides.
接著讓我們前往撰寫 10 頁簡報。
1:36:29.384–1:36:30.611
And then this is working.
然後這裡開始運作。
1:36:30.611–1:36:31.784
So Vera is triggered.
所以 Vera 被觸發了。
1:36:31.784–1:36:34.384
Vera is the agent that does the writing of the content.
Vera 是負責撰寫內容的代理程式。
1:36:34.384–1:36:38.284
So he's basically reading the idea and doing the research to make sure that everything is working.
所以他基本上是在閱讀想法並進行研究,以確保一切運作正常。
1:36:38.284–1:36:42.419
Doing the research to make sure that she got us all the information that we need to write that content.
進行研究以確保她為我們提供了撰寫該內容所需的所有資訊。
1:36:42.419–1:36:42.892
All right.
好的。
1:36:42.892–1:36:44.013
And Vera created the content.
Vera 建立了內容。
1:36:44.013–1:36:46.999
So you can see here that we have all the 10 slides generated.
所以你可以在這裡看到我們生成了全部 10 頁簡報。
1:36:46.999–1:36:49.686
We have the cover text which says your agent is not dump
我們有封面文字,上面寫著「你的代理程式不笨」
1:36:49.686–1:36:50.820
your packet is bloated
「你的套件臃腫」
1:36:50.820–1:36:55.059
and then it basically writes all the content that would be on every slide that we have.
然後它基本上會撰寫我們每頁簡報上會有的所有內容。
1:36:55.059–1:36:56.425
Now let's say we want to approve this
現在假設我們想要核准這個
1:36:56.425–1:36:58.064
and we want to promote this into a template.
並且想要將其推廣為範本。
1:36:58.064–1:37:01.245
So let's click on approve and then let's pick a template in the next stage.
所以讓我們點擊核准,然後在下一個階段選擇範本。
1:37:01.245–1:37:03.896
Now here we're going to be generating an Instagram carousel.
現在這裡我們將生成 Instagram 輪播簡報。
1:37:03.896–1:37:05.810
So we need a 4 is to5 aspect ratio.
所以我們需要 4 比 5 的長寬比。
1:37:05.810–1:37:07.074
Let's say just for this example
我們就以這個範例來說
1:37:07.074–1:37:09.213
I'm going to go with this purple one that we have here.
我會選擇這裡這個紫色的版本。
1:37:09.213–1:37:10.300
I'm going to select that
我會選取它
1:37:10.300–1:37:12.040
and I'm going to click fit copy to this.
然後點擊「適應並複製到此處」。
1:37:12.040–1:37:14.739
Now what is going to happen is that Vera is going to check
接下來會發生的情況是,Vera 會檢查
1:37:14.739–1:37:16.793
if the content the text that she generated
她生成的內容和文字
1:37:16.793–1:37:19.493
fits the number of characters that are in that template
是否符合該模板中的字數限制
1:37:19.493–1:37:22.545
because if the words are way more than what the template can fit
因為如果字數遠超過模板能容納的範圍
1:37:22.545–1:37:24.129
then the whole design gets ugly.
整個設計就會變得難看。
1:37:24.129–1:37:25.459
So what Vera is going to do is
所以 Vera 會做什麼呢
1:37:25.459–1:37:28.696
Vera is going to read all the hardcoded text that are in the template
Vera 會讀取模板中所有硬編碼的文字
1:37:28.696–1:37:32.686
and try to adapt and fit the content that she generated to that particular template
並嘗試調整和適應她生成的內容,以符合該特定模板
1:37:32.686–1:37:34.719
and Vera basically readapted the content
Vera 基本上重新調整了她生成的內容
1:37:34.719–1:37:37.048
that she generated to fit the template that we have.
她將自行生成的內容調整以符合我們所使用的模板
1:37:37.048–1:37:40.530
So because the template that we chose has less words in the cover,
因為我們選擇的模板在封面頁上的字數較少,
1:37:40.530–1:37:42.723
she just rewrote the package into agent.
她只是將「package」重寫為「agent」。
1:37:42.723–1:37:46.987
Okay, package fat and then basically wrote all the content that would be on the slide.
好的,「package fat」然後基本上寫出了所有投影片上的內容。
1:37:46.987–1:37:48.551
Now I'm going to click on render now
現在我要點擊「渲染」
1:37:48.551–1:37:49.953
to push this into the studio tab
將此推送至工作室標籤頁
1:37:49.953–1:37:51.678
so that we would see how this would look
這樣我們就能看到它在
1:37:51.678–1:37:53.188
on the template that we selected.
我們所選取的範本上的呈現效果。
1:37:53.188–1:37:55.116
Now you see a notification open in studio.
現在你會看到 Studio 中開啟了一個通知。
1:37:55.116–1:37:56.861
Now we can click open in studio here
現在我們可以點擊此處的「在 Studio 中開啟」
1:37:56.861–1:37:58.305
and this would open the slide
這樣就會開啟
1:37:58.305–1:37:59.990
that we just generated in studio.
我們剛剛在 Studio 中生成的投影片。
1:38:00.000–1:38:01.259
Now let's click on this
現在讓我們點擊這裡
1:38:01.259–1:38:03.445
and you can see that just as Barard wrote
你可以看到正如 Bard 所寫
1:38:03.445–1:38:05.763
agent okay packet fat packet fat bad agent
代理程式正常,封包過大,封包過大,代理程式異常
1:38:05.763–1:38:07.552
run starts with too much context
run 以過多的上下文開始
1:38:07.552–1:38:09.075
whole ripple noise guesses
整個 Ripple Noise 猜測
1:38:09.075–1:38:10.731
and then when you click on this
然後當你點擊這裡時
1:38:10.731–1:38:11.990
you can see all the text
你可以看到所有
1:38:12.000–1:38:12.908
that was generated
生成的文字
1:38:12.908–1:38:16.142
so assuming maybe we don't want to go with this text here for the cover
所以假設我們可能不想使用這裡的這段文字作為封面
1:38:16.142–1:38:17.333
we want to just fine-tune
我們只想進行微調
1:38:17.333–1:38:19.262
you can click on fine-tune the slide here
你可以點擊此處的「微調投影片」
1:38:19.262–1:38:21.361
and this would basically load the slide here
這樣基本上就會載入這裡的投影片
1:38:21.361–1:38:22.950
and when we click on this here just
而當我們點擊這裡時
1:38:22.960–1:38:24.636
for an example I can write agents
舉例來說,我可以寫入 agents
1:38:24.636–1:38:26.001
not the problem packet fat
不是問題包fat
1:38:26.001–1:38:30.222
and then you can also move the slides up and down however you want to have them right
然後你也可以上下移動幻燈片,按照你希望的方式排列
1:38:30.222–1:38:32.270
this is all possible in the fine tune tab
這些功能在微調標籤頁中都可以實現
1:38:32.270–1:38:33.574
so I'm going to close this
所以我現在要關閉這個
1:38:33.574–1:38:34.629
I'm going to discard
我要放棄
1:38:34.639–1:38:37.840
the changes and then let's say we want to push this to Instagram
這些更改,然後假設我們想把這個推送到Instagram
1:38:37.840–1:38:39.932
and this is the part that makes me nervous
這部分讓我感到緊張
1:38:39.932–1:38:43.441
and for that I created a dummy Instagram account called content vibe
為此我創建了一個名為content vibe的虛擬Instagram帳戶
1:38:43.441–1:38:46.149
so that when we push directly from our this would come
這樣當我們直接從這裡推送時,它就會出現
1:38:46.159–1:38:49.916
hopefully it would go through buffer and then this would come to this Instagram account
希望它能通過Buffer,然後這個就會出現在這個Instagram帳戶上
1:38:49.916–1:38:53.211
open the package again let me click on and then here by the way you can come here
再次打開這個包,讓我點擊這裡,順便說一句,你可以來到這裡
1:38:53.211–1:38:56.000
and you can always change the template whenever you want to pick a
而且你可以隨時更改模板,只要你想選擇一個
1:38:56.000–1:38:58.658
different template you can pick whatever template that you want
不同的模板,你可以選擇任何你想要的模板
1:38:58.658–1:39:01.759
and then cadence would basically rewrite the content to fit that template.
然後Cadence基本上會重寫內容以符合該模板
1:39:01.759–1:39:02.731
Now, let me come here.
現在,讓我來到這裡
1:39:02.731–1:39:03.988
Let me click on post now.
讓我點擊立即發布
1:39:03.988–1:39:07.503
And then here, because I've configured only Instagram, it's only going to show Instagram.
然後這裡,因為我只配置了Instagram,它只會顯示Instagram
1:39:07.503–1:39:09.061
I'm going to click on Instagram only.
我只會點擊Instagram
1:39:09.061–1:39:11.440
And it's going to warn me and I'm going to get notification.
然後它會警告我,我會收到通知
1:39:11.440–1:39:12.880
Hey, are you sure you want to post this?
嘿,你確定要發布這個嗎?
1:39:12.880–1:39:14.715
I'm going to say yes, post now.
我會點擊「是」,立即發布。
1:39:14.715–1:39:16.639
And then this is going to be pushed to buffer.
然後這就會被推送到 Buffer。
1:39:16.639–1:39:22.248
And hopefully, if the end to end stream works, we should see the post coming directly to Instagram.
希望如果端到端的串流運作正常,我們應該會看到文章直接發布到 Instagram。
1:39:22.248–1:39:24.844
And we get notification that this has been pushed to buffer.
我們會收到通知,表示這已推送到 Buffer。
1:39:24.844–1:39:25.891
Let's click on okay.
讓我們點擊「確定」。
1:39:25.891–1:39:28.618
And this gets put from the studio tab into the publish tab.
然後這會從工作室分頁移到發布分頁。
1:39:28.618–1:39:30.038
Once this is pushed to buffer.
一旦這被推送到 Buffer。
1:39:30.038–1:39:32.134
Now let's go to Instagram and see if we'll see this post.
現在讓我們去 Instagram 看看我們是否能看到這篇文章。
1:39:32.134–1:39:35.964
I'm going to come to my Instagram and hey you see this it posted directly to Instagram.
我會進入我的 Instagram,嘿,你看,這直接發布到了 Instagram。
1:39:35.964–1:39:39.372
So you can see this exact post that we had and generated in our cadence
所以你可以看到這個我們曾在 Cadence 中生成和發布的確切文章。
1:39:39.372–1:39:42.302
which is the first post that I've tested with this account.
這是我用這個帳號測試的第一篇文章。
1:39:42.302–1:39:46.970
And then you can see that all the text came just as we rendered them on the cadence website.
然後你可以看到所有文字都跟我們在 Cadence 網站上渲染的一樣。
1:39:46.970–1:39:52.521
And then here as well we have the text that was generated also by the AI for the description section.
接著這裡也有由 AI 為描述欄位產生的文字
1:39:52.521–1:39:53.811
So this is working very well.
所以這運作得非常好。
1:39:53.811–1:39:55.648
Now when I come back to the studio tab
現在當我回到工作室分頁。
1:39:55.648–1:39:56.873
and I go to the published
然後我去查看已發布。
1:39:56.873–1:39:57.486
I should see
我應該會看到。
1:39:57.486–1:39:58.772
oh so this is not working.
哦,所以這沒運作。
1:39:58.772–1:40:00.367
So it renders that we have one all
所以它顯示我們有一個。
1:40:00.367–1:40:02.552
but I do not see the slide that was generated.
但我沒有看到生成的投影片。
1:40:02.552–1:40:03.437
So I'm telling kite
所以我告訴 Kite
1:40:03.437–1:40:06.260
hey the publish tab is not displaying any published content.
嘿,發布標籤頁沒有顯示任何已發布的內容。
1:40:06.260–1:40:07.370
I can see a count of one
我可以看到計數為一
1:40:07.370–1:40:09.281
which indicates that the item exists
這表示該項目存在
1:40:09.281–1:40:11.377
but the page itself is completely empty.
但頁面本身完全為空。
1:40:11.377–1:40:12.925
So that kite should fix this for us
所以 Kite 應該為我們修復這個問題
1:40:12.925–1:40:16.021
and hopefully after that we should see the content popping up here.
希望在那之後,我們應該能看到內容在這裡顯示出來。
1:40:16.021–1:40:17.462
Now two more things that we're going to do.
現在我們還要再做兩件事。
1:40:17.462–1:40:19.322
I'm going to be show you how that tab would work
我會向你展示該標籤頁在配置標籤頁上是如何運作的。
1:40:19.322–1:40:20.595
like on the configuration tab.
就像在配置標籤頁上那樣。
1:40:20.595–1:40:24.096
You would have the opportunity to be able to always edit your brand name,
你將有機會能夠隨時編輯你的品牌名稱,
1:40:24.096–1:40:24.971
edit your handle,
編輯你的帳號名稱,
1:40:24.971–1:40:27.246
write a bit about what content you are creating
撰寫一些關於你所創作的內容的介紹
1:40:27.246–1:40:29.871
so that the agents would always read this to find ideas
以便代理程式總是閱讀這些內容來尋找靈感
1:40:29.871–1:40:31.680
and to generate your content for you.
並為您產生內容
1:40:31.680–1:40:35.167
And then you can also select the number of generation defaults that you want to have.
然後,你也可以選擇你想要的預設生成數量。
1:40:35.167–1:40:38.554
And for that, we're going to give Cadence this prompt here to wire the configuration tab.
為此,我們將在此處給 Cadence 這個提示詞,以連接配置標籤頁。
1:40:38.554–1:40:41.930
But I'm going to wait till he's done with the back that we have on the publish tab.
但我要等他完成發布標籤頁上的後端工作。
1:40:41.930–1:40:45.146
And after that, we can go into the configuration tab and wire this in as well.
在那之後,我們可以進入配置標籤頁,並將此處連接好。
1:40:45.146–1:40:47.830
And then also whilst we are here we also do have the calendar tab
然後,當我們在這裡時,我們還擁有日曆標籤頁
1:40:47.830–1:40:51.236
where whenever you schedule a post maybe you don't want to publish immediately
因為當您排定貼文時,可能不希望立即發布
1:40:51.236–1:40:53.198
you want to schedule this as a particular date
您想將此排定在特定日期
1:40:53.198–1:40:55.840
when you come into your calendar you would also see the number
當您進入日曆時,您也會看到數量
1:40:55.840–1:40:57.036
of posts that you have scheduled.
您已排定的貼文數量。
1:40:57.036–1:41:00.410
So here for instance you can see that the post that we posted today 24th of July
所以這裡例如您可以看到我們今天 7 月 24 日發布的貼文
1:41:00.410–1:41:02.466
this is already showing up in the calendar tab.
這已經顯示在日曆標籤頁中。
1:41:02.466–1:41:04.087
All right so kite is done with that.
好的,所以 Kite 完成了這部分。
1:41:04.087–1:41:05.199
Let's reload the dashboard.
讓我們重新載入儀表板。
1:41:05.199–1:41:06.629
Then let's come to the publish tab.
然後讓我們來到發布標籤頁。
1:41:06.639–1:41:06.948
Perfect.
完美。
1:41:06.948–1:41:09.839
And now you see that the post that was published is already here.
現在您會看到已發布的貼文已經在這裡。
1:41:09.839–1:41:12.344
Now the next two things that we're going to work on like I said
現在接下來我們要處理的兩件事,就像我說的
1:41:12.344–1:41:15.602
is a configuration tab where you can basically alter the configurations here
是一個設定標籤頁,您可以在這裡基本上更改設定
1:41:15.602–1:41:17.806
and the agent would pick the new updates that you have
而代理程式會採用您所做的更新
1:41:17.806–1:41:19.510
and for that I'm going to send kite to this
為此,我將發送 Kite 到這個
1:41:19.520–1:41:21.360
prompt to wire in the configuration tab.
提示詞以連接設定標籤頁。
1:41:21.360–1:41:21.735
All right.
好的。
1:41:21.735–1:41:23.962
So that means that when we come to the configuration put up,
所以這意味著當我們來到設定標籤頁時,
1:41:23.962–1:41:24.689
let me reload this.
讓我重新載入這個。
1:41:24.689–1:41:26.535
You can basically change your brand name,
您可以基本上更改您的品牌名稱,
1:41:26.535–1:41:27.063
the handle,
標題,
1:41:27.063–1:41:29.278
the number of slides that you want to default with,
預設要載入的投影片數量
1:41:29.278–1:41:31.072
if you want to have perlexity by default.
如果你希望預設啟用 Perplexity。
1:41:31.072–1:41:35.900
For instance, when I toggle this off and I save the configuration and I'm generating an idea,
例如,當我關閉這個選項並儲存設定,然後生成一個想法時,
1:41:35.900–1:41:38.470
it wouldn't use publicity toggle on as a default.
它就不會預設開啟 Perplexity 切換。
1:41:38.480–1:41:39.140
And after that,
在此之後,
1:41:39.140–1:41:41.476
we're basically done with the main aspect of the build.
我們基本上已經完成了建置的主要部分。
1:41:41.476–1:41:46.857
I do have some other prompts that I'm giving to you as optional things that you can add to your setup to make it even more powerful.
我還有一些其他提示詞提供給你作為可選項目,你可以將其加入你的設定中,讓它變得更加強大。
1:41:46.857–1:41:48.716
Now what we're going to build now
現在我們要建置的是
1:41:48.716–1:41:51.195
is going to be the telegram remote control.
Telegram 遠端控制功能。
1:41:51.195–1:41:53.974
So if you remember we do have this studio tab that we created
所以如果你記得,我們確實建立了一個工作室分頁
1:41:53.974–1:41:56.810
which ideally we want to also use to be able to generate ideas
理想上我們也希望利用它來生成想法
1:41:56.810–1:41:58.852
without us having to come to the dashboard.
而不需要我們回到儀表板。
1:41:58.852–1:42:01.349
Now the idea here is that whenever you want to create an idea
現在這裡的想法是,每當你想要生成一個想法時,
1:42:01.349–1:42:03.489
you can just come to the studio tab here in telegram
你只需要來到 Telegram 中的這個工作室分頁,
1:42:03.489–1:42:05.477
generate an idea promoted and stuff like that.
生成一個想法、進行提示等等。
1:42:05.477–1:42:07.568
So for that we're going to give kite as prompt here
為此,我們將在此處給予 Kite 提示詞,
1:42:07.568–1:42:09.200
to set up the telegram remote control.
以設定 Telegram 遠端控制功能。
1:42:09.200–1:42:10.917
All right so kite says he's done
好的,所以 Kite 表示他已經完成了,
1:42:10.917–1:42:14.220
he built and verified the telegram remote so far as he could.
他已經盡力建置並驗證了 Telegram 遠端控制功能。
1:42:14.220–1:42:16.111
He also said that he did a smoke test.
他也說他做了冒煙測試。
1:42:16.111–1:42:17.540
So let's come to the studio tab
所以讓我們來到工作室標籤頁
1:42:17.540–1:42:19.199
and then we can see that he did a test
然後我們可以看到他做了測試
1:42:19.199–1:42:22.172
where we can see the things that he triggered on the studio tab.
我們可以在工作室標籤頁上看到他所觸發的項目。
1:42:22.172–1:42:24.426
Now he did mention something that he couldn't run.
現在他提到了一些他無法執行的事情。
1:42:24.426–1:42:25.969
Let me scroll down to the bottom.
讓我滾動到底部。
1:42:25.969–1:42:27.447
He said that he's he has a blocker.
他說他遇到了一個阻礙。
1:42:27.447–1:42:30.408
So he wasn't able to restart the hermits gateway himself.
所以他無法自行重新啟動 Hermits 閘道器。
1:42:30.408–1:42:32.717
So he's telling us from a separate shell on the machine
所以他從機器上的另一個 shell 告訴我們
1:42:32.717–1:42:33.486
we should run this
我們應該執行這個
1:42:33.486–1:42:35.744
and then we should just tell him that it's restarted.
然後我們應該只是告訴他它已經重新啟動了。
1:42:35.744–1:42:36.672
So let me copy this.
所以讓我複製這個。
1:42:36.672–1:42:37.780
Let me come to PowerShell.
讓我來到 PowerShell。
1:42:37.780–1:42:38.957
Let me clear the screen here.
讓我清除這裡的螢幕。
1:42:38.957–1:42:40.000
Then let me paste in this.
然後讓我貼上這個。
1:42:40.000–1:42:41.642
Let me connect to the server again.
讓我再次連線到伺服器。
1:42:41.642–1:42:43.600
Then let me run the command he gave to us.
然後讓我執行他給我們的指令。
1:42:43.600–1:42:44.148
All right.
好的。
1:42:44.148–1:42:45.607
So this gateway has restarted.
所以這個閘道器已經重新啟動了。
1:42:45.607–1:42:48.184
So, I'm going to wait a bit for the gateway to completely boot.
所以,我會等一會兒讓閘道器完全啟動。
1:42:48.184–1:42:50.387
And after that, I'm going to send a message to Kite restarted.
之後,我會發送訊息給 Kite,告知它已重新啟動。
1:42:50.387–1:42:52.994
So, I'm going to now send Kite a message restarted.
所以,我現在要發送訊息給 Kite,告知它已重新啟動。
1:42:52.994–1:42:56.033
And then hopefully he should be able to continue with what he was doing.
然後希望它能繼續進行原本的工作。
1:42:56.033–1:42:56.431
All right.
好的。
1:42:56.431–1:42:57.747
And he says that he's done.
他表示他已經完成了。
1:42:57.747–1:42:59.795
So, basically, everything is wired in.
基本上,所有連線都已接好。
1:42:59.795–1:43:01.534
Now, let's go to the studio tab
現在,讓我們進入 Studio 標籤頁。
1:43:01.534–1:43:05.440
and let's write something like let's forward slash let's run idea.
然後我們輸入類似 /run idea 的內容。
1:43:05.440–1:43:07.156
Now, let me check what the slash command was.
現在讓我確認一下斜線指令是什麼。
1:43:07.156–1:43:09.748
I don't remember if it was ideas or if it was idea.
我不記得是 ideas 還是 idea。
1:43:09.748–1:43:10.616
So, it's ideas.
所以是 ideas。
1:43:10.616–1:43:12.509
So, let's send forward slash ideas.
所以我們發送 /ideas。
1:43:12.509–1:43:16.153
And then hopefully this should trigger the ideas tab on the studio right
然後希望這能觸發 Studio 裡的 ideas 標籤頁。
1:43:16.153–1:43:17.610
in this work in this workown.
就在這個工作區裡。
1:43:17.610–1:43:20.576
So we have fresh ideas stop asking one agent to do the whole job.
所以我們有新點子,停止要求單一代理完成所有工作。
1:43:20.576–1:43:22.980
So when I come to the studio tab I also see the same thing.
所以當我進入 Studio 標籤頁時,我也看到相同的内容。
1:43:22.980–1:43:25.751
So basically this is mirroring whatever that we have on our dashboard.
基本上,這是在鏡像我們儀表板上的內容。
1:43:25.751–1:43:27.595
Now the reason why we are doing this is that
現在我們這樣做的原因是,
1:43:27.595–1:43:29.914
I want you to be able to build ideas and stuff like that
我希望你能夠建立點子等內容,
1:43:29.914–1:43:32.180
without you having to always come to the dashboard.
這樣你就不必總是回到儀表板
1:43:32.180–1:43:34.961
Now let's say we want to promote this idea/promote
現在假設我們想要推廣這個想法/推廣
1:43:34.961–1:43:37.544
and then let's put in the number of that idea 11.
然後讓我們輸入該想法的編號 11。
1:43:37.544–1:43:38.838
Oops, I made a mistake.
哎呀,我犯了一個錯誤。
1:43:38.838–1:43:40.249
I intended to type in 11.
我本來要打 11。
1:43:40.249–1:43:41.878
And this was exactly correct.
而這裡完全正確。
1:43:41.878–1:43:43.818
He says that idea one was not found.
他說找不到想法一。
1:43:43.818–1:43:45.055
So let me do it again.
所以讓我再試一次。
1:43:45.055–1:43:47.320
Forward/promotees and then let me send 11.
推廣/被推廣者,然後讓我發送 11。
1:43:47.320–1:43:48.627
That was what I intended to send.
那就是我本來想發送的。
1:43:48.627–1:43:50.707
And then you can see that immediately we triggered this.
然後你可以看到我們立刻觸發了這個。
1:43:50.707–1:43:52.205
This is also live on the dashboard.
儀表板上也即時顯示了。
1:43:52.205–1:43:54.222
We can see that Vera is now promoted.
我們可以看到 Vera 現在已被推廣。
1:43:54.222–1:43:58.759
You can see that the idea was promoted and Vera is basically writing this idea that we have.
你可以看到這個想法已被推廣,而 Vera 基本上正在撰寫我們這個想法。
1:43:58.759–1:44:03.134
And we can see exactly the same thing here is actually done with the promotion of the idea.
我們可以看到這裡實際上也是透過推廣想法來完成相同的事情。
1:44:03.134–1:44:04.708
So it worked on the dashboard.
所以在儀表板上運作正常。
1:44:04.708–1:44:06.614
We can see the ideas have been generated.
我們可以看到想法已經被生成。
1:44:06.614–1:44:10.663
But on Telegram we did get this promotes field list attributes no get.
但在 Telegram 上我們收到了這個「推廣欄位清單屬性無」的訊息。
1:44:10.663–1:44:13.203
So I'm going to tell Kite to fix this as well for us.
所以我要告訴 Kite 幫我們修復這個問題。
1:44:13.203–1:44:14.733
So I'm giving Kite this prompt.
所以我在給 Kite 這個提示。
1:44:14.733–1:44:17.273
I tested the idea telegram command enabled perfectly.
我測試了想法 Telegram 指令,運作完美。
1:44:17.273–1:44:20.538
However, when I promote an idea using the command promote idea number,
然而,當我使用「promote idea 編號」指令來推廣想法時,
1:44:20.538–1:44:24.467
the idea is promoted correctly on the dashboard, but Telegram sends us this message.
雖然想法在儀表板上被正確推廣,但 Telegram 會發送這段訊息給我們。
1:44:24.467–1:44:26.446
So you see what the problem is and fix it for us.
所以你看見問題出在哪裡,並幫我們修復它。
1:44:26.446–1:44:26.865
All right.
好的。
1:44:26.865–1:44:27.830
So Kite says he's done.
所以 Kite 說他已經完成了。
1:44:27.840–1:44:28.498
Let's try this again.
讓我們再試一次。
1:44:28.498–1:44:30.754
I'm going to come back to this app and I'm going to trigger ideas.
我將回到這個應用程式,並觸發想法。
1:44:30.754–1:44:34.188
Now what you can also do to make it a bit easier when you are promoting an idea,
現在,為了讓你在推廣想法時更容易操作,
1:44:34.188–1:44:37.186
you can also directly add the template that you want to use, right?
你也可以直接加入你想要使用的模板,對吧?
1:44:37.186–1:44:41.022
And then what I would suggest to you is that just use it to basically brainstorm ideas
然後我建議你基本上用它來進行腦力激盪,產生想法,
1:44:41.022–1:44:43.105
and then promote it to come into the studio tab
然後將其推廣至進入工作室分頁,
1:44:43.105–1:44:47.270
and then once you're in the studio tab then you do all the stuff to do with the templates which
接著當你在工作室分頁時,你再處理與模板相關的所有事項,例如
1:44:47.280–1:44:50.096
templates you want to use the edits that you want to do and stuff like that
你想要使用的模板、你想要進行的編輯等等,
1:44:50.096–1:44:53.568
but it would be better to use the telegram just for the idea generation and stuff like that
但最好還是只用 Telegram 來進行想法產生等事項,
1:44:53.568–1:44:56.159
or maybe whenever you want to have an idea you can just come here and
或者也許每當你想要有想法時,你可以直接來到這裡,
1:44:56.159–1:44:59.760
tell which agent say hey give me some ideas on automation and stuff like that.
並告訴某個代理說:嘿,給我一些關於自動化等方面的想法。
1:44:59.760–1:45:03.128
So let's say here for instance that we want to promote just an example.
所以讓我們假設這裡,例如,我們想要推廣一個範例。
1:45:03.128–1:45:06.070
Let me go to promote and let me put in oops 18.
讓我進入推廣功能,讓我輸入 oops 18。
1:45:06.080–1:45:09.801
Sorry there's a typo here promote 18 and then let me put in the templates.
抱歉,這裡有個打字錯誤,應該是 promote 18,然後讓我輸入模板。
1:45:09.801–1:45:12.394
Let me go to the templates tab just to get an example.
讓我進入模板分頁,只是為了取得一個範例。
1:45:12.394–1:45:15.194
Let's say I want to go with the statement template.
假設我想使用語句範本。
1:45:15.194–1:45:19.662
Let me just type in statements then enter and then hopefully this will be produced then for us.
讓我輸入 statements 然後按 Enter,希望這樣就能為我們產生結果。
1:45:19.662–1:45:21.667
So weirdly it says template not found.
奇怪的是,它顯示找不到範本。
1:45:21.667–1:45:22.982
Let me see why this is the case.
讓我看看為什麼會這樣。
1:45:22.982–1:45:25.831
Let me type in templates to see if I can get a list of templates.
讓我輸入 templates 看看能不能取得範本清單。
1:45:25.831–1:45:29.072
So it appears that the names of the templates are different than what I see here.
看來範本的名稱與我在這裡看到的不同。
1:45:29.072–1:45:30.641
So let's look for an example.
所以讓我們找個範例。
1:45:30.641–1:45:34.191
Let me say I want to go with a template called isometric.
讓我說我想使用一個名為 isometric 的範本。
1:45:34.191–1:45:34.644
Right?
對吧?
1:45:34.644–1:45:36.865
Let me come back and promote this again.
讓我回來並再次推廣這個。
1:45:36.865–1:45:39.148
And then let me go to isometric.
然後讓我進入 isometric。
1:45:39.148–1:45:40.150
Now what you can also
現在你也可以
1:45:40.150–1:45:47.632
tell kites to do for you later would be to basically make sure that the names that you see for the template stylist with the names that is on the dashboard so
告訴 Kite 稍後為你做的事,基本上就是確保你看到的範本名稱與儀表板上顯示的名稱一致,這樣
1:45:47.632–1:45:50.107
that it becomes a bit easier for you to work with it.
對你來說會比較容易操作。
1:45:50.107–1:45:52.799
I think the reason why there are different names is that
我認為名稱不同的原因是
1:45:52.799–1:45:54.496
for instance tip deck has two words
例如 tip deck 有兩個字
1:45:54.496–1:45:57.130
and then for you to use it you have to use tip hyphen deck
然後為了使用它,你必須輸入 tip-deck
1:45:57.130–1:45:58.183
but it's just a prompt
但這只是一個提示
1:45:58.183–1:45:59.646
we can tell kite to just do this
我們可以告訴 Kite 只做這個
1:45:59.646–1:46:01.109
and he would be able to correct
他就能為你修正
1:46:01.119–1:46:01.857
this for you as well
這也適用於你
1:46:01.857–1:46:04.210
and then basically you can see that the slides are generated.
然後基本上你可以看到投影片已經被產生了
1:46:04.210–1:46:05.250
So when I come to this now
所以當我現在來到這裡時
1:46:05.250–1:46:07.434
you can see that the template that we picked is here
你可以看到我們選擇的範本在這裡
1:46:07.434–1:46:09.722
and then we can see all the slides that are generated.
然後我們可以看到所有被產出的投影片
1:46:09.722–1:46:11.619
Now, what I think I can also do for you is
現在,我認為我還可以為你做的是
1:46:11.619–1:46:14.643
I can just give you the prompts to correct this inconsistency
我可以給你提示詞來修正這個不一致的問題
1:46:14.643–1:46:19.030
where we have the temp name been different than the templates that we can use in Telegram.
也就是我們使用的 temp 名稱與在 Telegram 中可用的範本名稱不同之處
1:46:19.040–1:46:20.734
And then I'm also going to give you this prompt
然後我也會給你這個提示詞
1:46:20.734–1:46:22.427
that we can just give to Kite to fix this for us.
我們可以把它給 Kite 來幫我們修正這個問題
1:46:22.427–1:46:24.059
So, we're just going to tell Kite,
所以,我們只是要告訴 Kite
1:46:24.059–1:46:28.837
hey, the template names shown on the dashboard do not match the names accepted by promote command.
嘿,儀表板上顯示的範本名稱與 promote 指令接受的名稱不符
1:46:28.837–1:46:31.319
For instance, on the dashboard when I type statement,
例如,在儀表板上我輸入 statement 時
1:46:31.319–1:46:32.753
it tells me template not found.
它告訴我找不到範本
1:46:32.753–1:46:32.880
So,
所以
1:46:32.880–1:46:34.231
he should make sure that he fixes this.
他應該確保修正這個問題
1:46:34.231–1:46:36.373
Now I'm going to provide all these prompts to you
現在我要提供所有這些提示詞給你
1:46:36.373–1:46:37.444
so that you guys can also
這樣你們也可以
1:46:37.444–1:46:38.569
if you have the same issue
如果你們遇到同樣的問題
1:46:38.569–1:46:40.122
you can just copy paste the prompts
你們可以直接複製貼上這些提示詞
1:46:40.122–1:46:42.264
and your agent should be able to fix this for you.
你的代理應該能夠為你修復這個問題。
1:46:42.264–1:46:47.017
Now whilst kite is building and correcting the issue with the templates name not matching telegram
現在,當 Kite 正在構建並修正模板名稱與 Telegram 不匹配的問題時
1:46:47.017–1:46:48.964
there is one more thing that we want to do.
還有一件事我們想做。
1:46:48.964–1:46:52.534
I just want to make good use of the time whilst we are waiting for kite to be done.
我只是想利用這段等待 Kite 完成的時間。
1:46:52.534–1:46:59.321
So currently if you remember whenever we want to access a dashboard we do this through what is called SSH tunneling right
所以,如果你還記得的話,目前我們想存取儀表板時,都是透過所謂的 SSH 隧道來進行,對吧?
1:46:59.321–1:47:04.140
where we put in this command here SSH minus N minus L and all the name and stuff like that
也就是在這裡輸入這個指令 SSH 減號 N 減號 L 以及所有名稱之類的東西
1:47:04.140–1:47:05.440
we press enter and then
我們按下 Enter,然後
1:47:05.440–1:47:10.644
we put in the password of our user account and then only with that the SSH handling is activated
我們輸入使用者帳戶的密碼,然後只有這樣 SSH 處理才會被啟動
1:47:10.644–1:47:12.845
that we are able to access the dashboard
我們才能夠存取儀表板
1:47:12.845–1:47:17.715
but what you can do which is even a better way to access the dashboard is to use tail skill.
但你可以做的是,這是一種更好的存取儀表板的方式,就是使用 Tail Skill。
1:47:17.715–1:47:21.801
Now what tails skill does is that tilk skill gives you with which you can access the dashboard
現在 Tail Skill 的作用是,Tail Skill 提供給你一種可以存取儀表板的方法
1:47:21.801–1:47:24.773
without you having to go through SSA tunneling and stuff like that.
而不需要你經過 SSH 隧道之類的步驟。
1:47:24.773–1:47:27.800
The idea is that you going to download the tail skill application
這個想法是你將下載 Tail Skill 應用程式
1:47:27.800–1:47:30.882
connect your account and right there you get a unique with that URL
連接你的帳戶,然後你就會得到一個獨特的 URL
1:47:30.882–1:47:33.517
you would be able to connect to the dashboard very easily
你將能夠非常輕鬆地連線到儀表板
1:47:33.517–1:47:35.896
without you having to put in your password every time.
而不需要你每次輸入密碼。
1:47:35.896–1:47:41.560
The best part about tail skill in the setup is that on every PC for instance in my case I have a desktop that I'm working with and
Tail Skill 設定中最棒的部分是,例如在我的情況下,我有一台正在使用的桌上型電腦,以及
1:47:41.560–1:47:43.429
I have a MacBook I have my mobile phone and
我有一台 MacBook,我還有一支手機,以及
1:47:43.429–1:47:45.189
a whole lot of devices that I work with.
許多我使用的設備。
1:47:45.199–1:47:48.331
Now on any of these devices that I have installed tail skill on
現在,在我安裝了 Tail Skill 的任何設備上
1:47:48.331–1:47:49.621
and connected my account
並連接我的帳戶
1:47:49.621–1:47:51.218
I can also access the dashboard
我也可以存取儀表板
1:47:51.218–1:47:54.227
without me having to go through all the terminal every time
不必每次都進入終端機
1:47:54.227–1:47:55.947
especially on your mobile phone.
特別是在你的手機上。
1:47:55.947–1:47:56.598
Wherever you are
無論你在哪裡
1:47:56.598–1:47:58.596
you can work with the dashboard on your mobile phone
你都可以使用手機上的儀表板進行工作
1:47:58.596–1:48:00.408
so long as you have the tail skill app installed
只要安裝了 Tail Skill 應用程式
1:48:00.408–1:48:01.430
and connect your account.
並連接你的帳戶。
1:48:01.440–1:48:01.969
Now to do this
現在要進行這個操作
1:48:01.969–1:48:03.605
we're going to download the application
我們將下載應用程式
1:48:03.605–1:48:04.664
that is called tail skill.
名為 Tail Skill。
1:48:04.664–1:48:06.080
Now this is completely for free.
現在這完全是免費的。
1:48:06.080–1:48:08.653
I have seven servers currently running on tail skill
我目前在 Tail Skill 上運行七台伺服器
1:48:08.653–1:48:10.290
and I do not pay anything for this.
我不需要為此支付任何費用。
1:48:10.290–1:48:11.293
Now when you are here
現在當你到這裡時
1:48:11.293–1:48:12.768
just come to this section here
只需來到這裡的部分
1:48:12.768–1:48:14.007
and click on get started.
並點擊開始使用。
1:48:14.007–1:48:15.646
Now when you click on get started
現在當你點擊開始使用時
1:48:15.646–1:48:16.921
you can basically sign up
你基本上可以註冊
1:48:16.921–1:48:17.831
create an account
建立帳戶
1:48:17.831–1:48:18.802
everything is free
一切都免費
1:48:18.802–1:48:20.927
you you would not have to pay for anything.
你不需要為任何東西付費。
1:48:20.927–1:48:22.779
Now once the installation is complete
現在安裝完成了
1:48:22.779–1:48:23.822
you can then come here
你可以來到這裡
1:48:23.822–1:48:25.153
and download sales skills.
並下載 Sales Skills。
1:48:25.153–1:48:26.300
So on their homepage.com
所以,在他們的 homepage.com
1:48:26.300–1:48:28.049
just click on the download button here
只需點擊這裡的下載按鈕
1:48:28.049–1:48:31.108
and then this is going to download the tail skill application here.
然後這將下載 Tail Scale 應用程式。
1:48:31.108–1:48:33.171
Select whatever operating system that you're working with.
選擇你正在使用的任何作業系統。
1:48:33.171–1:48:34.584
In my case I'm working with Windows.
在我的情況下,我使用的是 Windows。
1:48:34.584–1:48:38.272
So I'm going to click on the Windows and download the Windows application for TK skill.
所以我將點擊 Windows 並下載 Windows 版的 Tail Scale 應用程式。
1:48:38.272–1:48:42.977
If you're using the interface for Mac OS is even way better than the interface for Windows.
如果你使用的是 Mac OS 介面,它比 Windows 介面要好得多。
1:48:42.977–1:48:44.408
So I'm going to open the installer.
所以我將打開安裝程式。
1:48:44.408–1:48:47.261
I'm going to accept the terms and conditions and then just click on install.
我會接受條款與條件,然後直接點擊安裝
1:48:47.261–1:48:49.471
And the tail scale application is going to be completed.
Tail Scale 應用程式將完成安裝。
1:48:49.471–1:48:55.093
Looks like the task that I gave to Kite to basically make sure that the template matches with the was a pretty heavy tax.
看起來我給 Kite 的任務,基本上是要確保模板與...匹配,這是一項相當繁重的任務。
1:48:55.093–1:48:57.585
He's been working for close to 15 minutes now.
他已經工作了接近 15 分鐘。
1:48:57.585–1:48:58.663
And he's still not done.
而且他還沒有完成。
1:48:58.663–1:49:03.054
Now once the tail installation is completed on my end, I can basically click on close here.
現在,當我這端的 Tail Scale 安裝完成後,我基本上可以點擊這裡的關閉。
1:49:03.054–1:49:07.199
And then when I come down here in Windows, you're going to see a small symbol here.
然後,當我來到這裡的 Windows 時,你會看到這裡有一個小圖示。
1:49:07.199–1:49:11.430
Yeah, this one here for tail skill with some I think about eight or seven dots.
對,就是這裡這個尾跡技能,我大概有七八個點。
1:49:11.440–1:49:11.685
Right?
對吧?
1:49:11.685–1:49:12.856
When you right click on this
當你對這個按右鍵時
1:49:12.856–1:49:15.299
then you would have to sign in into your tailskll account.
你就必須登入你的 TailScale 帳戶。
1:49:15.299–1:49:17.357
Now once you are signing into your tailskll account
現在當你登入你的 TailScale 帳戶時
1:49:17.357–1:49:19.703
you are basically done with the installation on tailskll.
基本上你就完成了 TailScale 的安裝。
1:49:19.703–1:49:21.834
Now when you loging into your tail skill account
現在當你登入你的 TailScale 帳戶時
1:49:21.834–1:49:25.679
you would see all the devices that are currently connected to your tail skill account.
你會看到所有目前連線到你 TailScale 帳戶的裝置。
1:49:25.679–1:49:28.382
And with all these devices you're going to get a unique URL
對於這些裝置,你會獲得一個唯一的 URL
1:49:28.382–1:49:31.648
that you would be able to use to access the server that we are building.
你可以使用這個 URL 來存取我們正在建置的伺服器。
1:49:31.648–1:49:33.632
So now the tail skill application is installed.
所以現在 TailScale 應用程式已經安裝好了。
1:49:33.632–1:49:34.946
We've created a tail skill account
我們建立了一個 TailScale 帳戶
1:49:34.946–1:49:37.040
or if you already have an account this would be perfect.
或者如果你已經有帳戶,這就完美了。
1:49:37.040–1:49:40.774
What we would have to then do is to tell kites to install tailskll for us
接下來我們要做的是告訴 Kite 幫我們安裝 TailScale
1:49:40.774–1:49:45.602
and bind the dashboard or the cadence dashboard that we have built to our tail skill server
並將我們建立的儀表板或 Cadence 儀表板綁定到我們的 TailScale 伺服器
1:49:45.602–1:49:48.960
and with that we would be able to access the dashboard directly
有了這個,我們就能夠直接存取儀表板
1:49:48.960–1:49:50.794
from the URL directly on the browser
直接在瀏覽器上使用 URL
1:49:50.794–1:49:54.094
without us having to go through the part where the sit tunneling.
而不需要經過那個 SIT 隧道設定的部分。
1:49:54.094–1:49:56.595
So let me wait for kite to finish the task that he's doing.
所以讓我等 Kite 完成他正在進行的任務。
1:49:56.595–1:49:57.738
I think he's almost done.
我想他快完成了。
1:49:57.738–1:50:02.105
So currently you can see that he's browsing to make sure that all the changes that he did are working
所以現在你可以看到他正在瀏覽,以確保他所做的所有變更都能正常運作
1:50:02.105–1:50:06.259
and then once he's done we can basically give Kite the command to do the tail skill wiring for us
然後一旦他完成,我們基本上就可以給 Kite 指令,讓他為我們進行 tail skill 的接線工作
1:50:06.259–1:50:07.760
and then we would be done with this
然後我們就完成這部分了
1:50:07.760–1:50:08.182
tutorial.
教學。
1:50:08.182–1:50:08.529
And hey
嘿
1:50:08.529–1:50:10.090
I'm working on an auto installer
我正在開發一個自動安裝程式
1:50:10.090–1:50:11.998
that is going to install all this for you
它將在幾分鐘內為你安裝所有這些內容
1:50:11.998–1:50:13.097
in a matter of minutes.
所以只要註冊我的會員資格。
1:50:13.097–1:50:14.258
So just sign up to my membership.
你將獲得一個獨特的金鑰
1:50:14.258–1:50:15.642
You're going to get a unique key
你可以使用這個安裝程式
1:50:15.642–1:50:17.717
which would you'll be able to use the installer
並且我也會為你製作一個教學
1:50:17.717–1:50:19.473
and I will also create a tutorial for you
告訴你如何使用這個安裝程式
1:50:19.473–1:50:20.964
on how to use the installer as well
當這個安裝程式準備好時。
1:50:20.964–1:50:21.815
when this is ready.
現在,Kite 終於完成了這項大工作。
1:50:21.815–1:50:24.628
And now finally kite is done with that big job.
我們在儀表板上看到的模板名稱,會與我們在 Telegram 上看到的名稱相符。
1:50:24.628–1:50:31.065
The names of the templates that we see on the dashboard here would tally with the names that we see on Telegram.
回到 tail skill 部分,Kite 已經完成了工作。
1:50:31.065–1:50:33.924
Going back to the tail skill points, Kite is done with the work.
所以,我們基本上可以給 Kite 提示,讓他為我們處理 tail skill 的連線。
1:50:33.924–1:50:37.654
So, we can basically give Kite the prompt to work on the tail skill connection for us.
因此,我們基本上可以給 Kite 一個提示,讓它為我們處理尾部技能連接的工作。
1:50:37.654–1:50:38.169
And for that,
我將在此處給 Kite 這個提示。
1:50:38.169–1:50:39.714
I'm going to give Kite this prompt here.
我現在要給 Kite 這個提示
1:50:39.714–1:50:40.668
I'm telling Kite,
我正在告訴 Kite,
1:50:40.668–1:50:40.923
hey,
嘿,
1:50:40.923–1:50:43.085
set up tail skill access to the dashboard
設定 Tail Skill 存取到儀表板
1:50:43.085–1:50:45.503
so I can securely access it from my own devices
這樣我就能從自己的裝置安全地存取它
1:50:45.503–1:50:46.775
without the SSA tunnel.
不需要透過 SSA 隧道。
1:50:46.775–1:50:48.623
And I'm just giving him the guide
我只是給他指引
1:50:48.623–1:50:49.924
on how I want this to be.
說明我希望這部分如何設定。
1:50:49.924–1:50:50.820
And when he's done,
當他完成後,
1:50:50.820–1:50:52.053
he's going to give us a link
他會給我們一個連結
1:50:52.053–1:50:53.397
that we're going to use click
我們將點擊該連結
1:50:53.397–1:50:54.854
to bind this particular server
將這台特定的伺服器
1:50:54.854–1:50:56.086
to our tail skill account.
綁定到我們的 Tail Skill 帳號。
1:50:56.086–1:50:57.500
So let make sure I'm on kite stop
所以讓我確認我已在 Kite Stop
1:50:57.500–1:50:59.023
and let me send this prompt to kite
讓我發送這個提示給 Kite
1:50:59.023–1:50:59.513
to do this.
來執行這項操作。
1:50:59.513–1:51:00.856
And then once we are done with this,
然後一旦我們完成這部分,
1:51:00.856–1:51:02.719
then we are basically at the end of the tutorial.
我們基本上就結束了這個教學。
1:51:02.719–1:51:03.734
I'm already exhausted.
我已經累壞了。
1:51:03.734–1:51:05.843
I've been recording for more than 10 hours.
我已經錄製超過 10 小時了。
1:51:05.843–1:51:07.303
So I'm getting tired myself.
所以我自己也感到疲倦了。
1:51:07.303–1:51:07.848
All right.
好的。
1:51:07.848–1:51:08.669
So Kite is done.
所以 Kite 已經完成了。
1:51:08.669–1:51:09.955
He's given us this login link
他給了我們這個登入連結
1:51:09.955–1:51:12.260
that we're going to use to authenticate our account
我們將使用它來驗證我們的帳戶
1:51:12.260–1:51:13.439
to this particular server
以連接到我們
1:51:13.439–1:51:14.297
that we have built.
所建立的這個特定伺服器。
1:51:14.297–1:51:15.687
So I'm going to open a new tab
所以我會開啟一個新分頁
1:51:15.687–1:51:17.803
and just put in the URL that Kite gave to us.
並輸入 Kite 給我們的網址。
1:51:17.803–1:51:18.418
And after that,
然後,
1:51:18.418–1:51:20.075
all you're going to have to do is to connect
接下來你只需要進行連線
1:51:20.075–1:51:21.684
and sign in into your tail skill account.
並登入你的 Tailskill 帳戶。
1:51:21.684–1:51:25.205
Now, this is going to bring you to a page here where tailskll is going to ask you,
現在,這會帶你到這裡的頁面,Tailskill 會詢問你,
1:51:25.205–1:51:28.346
hey, I want to connect the device cadence dashboard to your computer.
嘿,我想將裝置 Cadence Dashboard 連接到你的電腦。
1:51:28.346–1:51:30.265
So, in my case, computer mechanic.com tailnet.
所以,在我的情況下,是電腦 mechanic.com tailnet。
1:51:30.265–1:51:33.422
I'm going to click on connect and then the login is accessible.
我會點擊連接,然後就可以使用登入功能。
1:51:33.422–1:51:36.593
So, our device has now been bound to our tail skill account.
所以,我們的裝置現在已綁定到我們的 Tailskill 帳戶。
1:51:36.593–1:51:38.851
So, I'm going to come here and I'm going to tell kite done
所以,我會回到這裡,並告訴 Kite 完成了
1:51:38.851–1:51:42.435
because he says that when I'm done with authentication, I should just reply we're done.
因為他說當我完成驗證後,只需回覆我們完成了。
1:51:42.435–1:51:42.758
Right.
對。
1:51:42.758–1:51:44.457
So, kite is done with that as well.
所以,Kite 也完成了這部分。
1:51:44.457–1:51:47.853
He also said that he did a public IP testing and all failed to connect
他也提到他進行了公有 IP 測試,結果全部連線失敗
1:51:47.853–1:51:51.794
which means that the dashboard can only be accessed through the tail skill IP.
這表示儀表板只能透過 Tailscale IP 存取
1:51:51.794–1:51:53.626
Now let me be sure that this is working.
現在讓我確認一下這是否運作正常
1:51:53.626–1:51:54.743
Let me reload the dashboard.
讓我重新載入儀表板
1:51:54.743–1:51:57.375
Here we have the SSA tunneling working which is expected.
這裡顯示 SSA 隧道運作正常,這是在預期之中的
1:51:57.375–1:52:00.488
I'm going to come to PowerShell and I'm going to kill the SSH connection
我將進入 PowerShell 並終止 SSH 連線
1:52:00.488–1:52:02.546
and then I'm going to come back to the dashboard
然後我會回到儀表板
1:52:02.546–1:52:05.448
and I'm going to try to access the dashboard through the SSA tunnel
並嘗試透過 SSA 隧道存取儀表板
1:52:05.448–1:52:07.517
and you see that I get the sites cannot be reached.
你會看到顯示「無法存取網站」
1:52:07.517–1:52:12.075
Now whenever I want to connect to the dashboard I can just use this URL that Kite gave to us.
現在,只要我想連線到儀表板,我都可以使用 Kite 提供給我們的這個網址
1:52:12.075–1:52:13.811
So let me copy the dashboard URL.
讓我複製儀表板的網址
1:52:13.811–1:52:15.199
Let me paste in this URL.
讓我貼上這個網址
1:52:15.199–1:52:15.780
And then hooray.
然後成功了
1:52:15.780–1:52:20.675
You see that we can access the dashboard without us having to go through the complication with the SSA tunnel.
你會看到我們可以存取儀表板,而不必經過 SSA 隧道的複雜設定
1:52:20.675–1:52:25.752
Now tails skill works by setting sort of a local viva or on the PC on which it's installed.
現在 Tailscale 的運作方式是設定一種本機 VPN,安裝在執行它的電腦上
1:52:25.752–1:52:30.623
So if you have any other VPN services running, you would have to stop this VPN before tail skill can work
所以如果你有其他 VPN 服務正在執行,你必須在 Tailscale 運作之前停止該 VPN
1:52:30.623–1:52:35.093
because if you have two parallel services running, then tails scale would not be able to work.
因為如果你同時執行兩個平行服務,Tailscale 就無法運作
1:52:35.093–1:52:40.227
So make sure that you always stop any other running so that tail scale would be able to deploy the server for you.
所以請務必停止任何其他正在執行的服務,以便讓 Tailscale 能夠為你部署伺服器
1:52:40.227–1:52:42.470
So this brings us to the end of the tutorial.
這讓我們來到了本教學的結尾
1:52:42.480–1:52:43.623
Let me walk you through shortly
讓我簡短地帶你回顧一下
1:52:43.623–1:52:44.326
what we have built.
我們所建構的內容。
1:52:44.326–1:52:45.574
We have the dashboard tab
我們有儀表板標籤頁
1:52:45.574–1:52:48.485
where we can see and all the things that the agents are doing
您可以在這裡看到代理程式正在執行的所有事項
1:52:48.485–1:52:49.257
an activity log
活動記錄
1:52:49.257–1:52:51.099
all pulled from the agents database.
這些資料全部來自代理程式資料庫。
1:52:51.099–1:52:52.812
Now when you come to the ideas tab,
現在當您進入「想法」標籤頁時,
1:52:52.812–1:52:55.504
we can always create any new idea by picking your idea
我們可以透過選擇您的想法來建立任何新想法
1:52:55.504–1:52:58.013
and the agents at last is going to pick up that idea
而代理程式最終會接手這個想法
1:52:58.013–1:52:59.787
and build it into a content for you.
並將其建構為您所需的內容。
1:52:59.787–1:53:01.895
And then also whenever you don't have any idea,
然後,當您沒有任何想法時,
1:53:01.895–1:53:04.003
you can just come and click on the generate idea
您可以直接點擊「產生想法」
1:53:04.003–1:53:05.679
and an idea will be generated for you.
系統會為您產生一個想法。
1:53:05.679–1:53:07.202
Whenever we want to promote an idea,
每當我們想要推廣某個想法時,
1:53:07.202–1:53:08.369
we can just click on promote
我們只需點擊「推廣」
1:53:08.369–1:53:10.551
and this will be promoted for us into the studio tab.
這就會將該想法推廣至工作室標籤頁。
1:53:10.551–1:53:13.211
And whenever we want to push any of the post to Instagram,
每當我們想要將任何貼文發布到 Instagram、
1:53:13.211–1:53:14.683
Tik Tok, whatever we want to do.
或 TikTok,或是執行其他任何操作時。
1:53:14.683–1:53:15.781
When we click on post now,
當我們點擊「發布」時,
1:53:15.781–1:53:19.128
this will directly be pushed to the social media platform that we want to use.
這會直接推送到我們想要使用的社群媒體平台。
1:53:19.128–1:53:20.174
And then when this is done,
然後當這一切完成後,
1:53:20.174–1:53:21.838
this will bring the post to the publish tab
這會將貼文帶到發布標籤頁
1:53:21.838–1:53:24.786
so that you can always refer to it whenever you want to do something with it.
以便您隨時需要對其進行操作時,都能隨時參考。
1:53:24.786–1:53:26.038
We also have a templates tab
我們還有一個範本標籤頁
1:53:26.038–1:53:27.726
that is packed with a lot of templates
裡面塞滿了許多範本
1:53:27.726–1:53:28.760
currently in the setup
目前設定中
1:53:28.760–1:53:30.066
that you can always pick from
您可以隨時從中挑選
1:53:30.066–1:53:31.482
and develop any carousel slide
並開發任何您想要製作的輪播投影片
1:53:31.482–1:53:32.625
that you want to develop.
您想要開發的內容。
1:53:32.625–1:53:34.597
And then we have the dedicated agents tab
接著我們有專屬代理人的標籤頁
1:53:34.597–1:53:36.454
where we see all the agents that we have
您可以在這裡看到我們所有的代理人
1:53:36.454–1:53:37.208
their heat map.
以及它們的熱力圖。
1:53:37.208–1:53:38.198
You have your calendar
您還有日曆功能
1:53:38.198–1:53:40.386
where you can see the post that you have scheduled,
您可以在這裡看到已排程的貼文、
1:53:40.386–1:53:42.001
post that you have already published
你已經發布的貼文
1:53:42.001–1:53:43.043
and also upcoming post.
以及即將發布的貼文。
1:53:43.043–1:53:45.447
A configuration tab where you can configure your brand name,
一個設定標籤頁,您可以在這裡設定您的品牌名稱、
1:53:45.447–1:53:48.322
the things that you want the agents to work on when they are generating the
你希望代理程式在生成內容時處理的項目
1:53:48.322–1:53:50.867
and a docs tab where you can basically understand the dashboard.
以及一個文件標籤頁,您可以在這裡基本上了解儀表板。
1:53:50.867–1:53:54.228
Now I do have way more prompts that I'm going to provide to you that you can also use
現在我還有更多提示詞要提供給您,您也可以使用
1:53:54.228–1:53:56.034
that I would highly recommend that you use.
我非常推薦您使用這些提示詞。
1:53:56.034–1:53:58.000
For instance, for the agent login activity,
例如,針對代理人的登入活動,
1:53:58.000–1:54:01.189
the agents are going to log in the database whenever they perform a task.
代理人在執行任何任務時都會登入資料庫。
1:54:01.199–1:54:02.707
But if you run this for a whole year,
但如果你讓這個機制運行一整年,
1:54:02.707–1:54:04.786
then your database is going to get so cluttered.
你的資料庫就會變得非常雜亂。
1:54:04.786–1:54:06.679
So you can set up sort of a weekly cleanup
因此,你可以設定每週清理機制,
1:54:06.679–1:54:09.030
where the agents are going to look for activities
讓代理人去尋找那些活動
1:54:09.030–1:54:10.234
that are older than 7 days
超過 7 天的活動記錄,
1:54:10.234–1:54:11.783
and basically clean all of them.
並基本上將它們全部清除。
1:54:11.783–1:54:13.678
And I also included some additional problems
我還加入了一些額外的問題,
1:54:13.678–1:54:15.224
that you can use to basically amplify
你可以利用它們來基本上強化
1:54:15.224–1:54:16.221
the setup that you have.
你目前的設定。
1:54:16.221–1:54:19.669
I know it's a lengthy tutorial, but I wanted to go through everything that we are building,
我知道這是一個冗長的教學,但我希望帶大家了解我們正在建構的一切,
1:54:19.669–1:54:22.381
the thought process that I have when I'm building something like this.
以及我在建構類似東西時的思考過程。
1:54:22.381–1:54:26.109
And also you see me troubleshoot all the errors that we have so that when you have a similar situation,
同時,你也看到我除錯了所有我們遇到的錯誤,這樣當你們遇到類似情況時,
1:54:26.109–1:54:27.307
you can do the same thing as well.
也能採取相同的做法。
1:54:27.307–1:54:29.525
If you found the video helpful, please hit the like button.
如果你覺得這個影片有幫助,請按讚。
1:54:29.525–1:54:33.119
Subscribe to my channel to see more like this.
訂閱我的頻道,查看更多類似內容。