WEBVTT

00:00.080 --> 00:02.360
Okay, so we go over here.

00:02.800 --> 00:03.640
Agents.

00:04.000 --> 00:04.960
All right.

00:05.000 --> 00:07.440
Now new agents.

00:07.800 --> 00:14.640
Okay, a blank agent, please choose a name that reflects your agent's purpose.

00:14.800 --> 00:17.520
All right, so we'll call it like, a electronics.

00:19.040 --> 00:26.400
Electronics, uh, retail expert, uh, electronics.

00:26.440 --> 00:27.080
E-commerce.

00:27.280 --> 00:27.960
E-commerce.

00:31.400 --> 00:32.600
Sales expert.

00:32.640 --> 00:33.120
How about that?

00:33.120 --> 00:33.800
Electronics.

00:33.800 --> 00:34.480
E-commerce.

00:34.480 --> 00:36.120
Sales expert.

00:36.480 --> 00:38.120
Create agent.

00:40.800 --> 00:42.360
Okay, here we go.

00:42.400 --> 00:44.480
Time to define our agent.

00:44.480 --> 00:44.960
All right.

00:44.960 --> 00:47.960
Let's this time actually focus on the system prompt for a second.

00:47.960 --> 01:02.360
So let's say you are a knowledgeable, uh, online sales agent representing an e-commerce store for

01:02.920 --> 01:05.760
electronic, uh, for for computer.

01:08.010 --> 01:09.330
Computer accessories.

01:11.250 --> 01:11.810
Okay.

01:12.170 --> 01:26.650
Uh, and, uh, let's say, uh, you answer the users questions using your tool to look up any, uh,

01:26.650 --> 01:32.890
questions on the products offered by the store.

01:34.370 --> 01:35.250
All right.

01:35.250 --> 01:37.010
That seems pretty clear to me.

01:37.250 --> 01:38.730
That is our system prompt.

01:38.730 --> 01:41.210
We've got to choose our voice.

01:41.730 --> 01:43.490
Uh, let's take a look here.

01:43.770 --> 01:45.250
Let's pick.

01:45.690 --> 01:49.130
Uh, I think we should should go back to Miss Walker.

01:49.490 --> 01:53.090
Miss Walker, it is warm, reassuring and round.

01:53.330 --> 01:53.970
Okay.

01:54.450 --> 01:55.690
And, um.

01:56.210 --> 01:59.330
All right, let's let's go on.

01:59.330 --> 02:03.090
It's going to be time, of course, for us to create the tool.

02:03.130 --> 02:04.050
Okay, here we go.

02:04.090 --> 02:05.210
We go over to tools.

02:05.410 --> 02:07.330
We are going to do add tool.

02:07.730 --> 02:10.370
We are going to add a web hook tool.

02:10.930 --> 02:11.870
We did this before.

02:11.870 --> 02:13.790
So you know what the deal is, all right.

02:13.830 --> 02:15.910
The name which is not allowed to have spaces, remember?

02:16.070 --> 02:24.470
Um, uh, ask question about products.

02:25.230 --> 02:25.630
Okay.

02:25.670 --> 02:26.710
Description.

02:27.190 --> 02:38.910
Use this tool to ask a question related to the products offered by the store.

02:41.350 --> 02:43.350
The method is post.

02:43.670 --> 02:46.350
Remember we picked post the URL.

02:46.350 --> 02:47.830
So now we go back to n810.

02:47.870 --> 02:51.470
We're going to start of course with with test we could just risk it and go straight to production.

02:51.470 --> 02:53.910
If we feel feel feel confident about this.

02:53.910 --> 02:56.790
But it's a good practice to start with the with the test route.

02:56.790 --> 02:57.910
So we go to the webhook.

02:58.110 --> 02:59.950
We go for the test URL.

02:59.990 --> 03:01.590
Click to copy that to the clipboard.

03:01.630 --> 03:02.310
Be careful.

03:02.350 --> 03:03.630
Be sure that you've done that.

03:03.630 --> 03:04.590
Come here.

03:04.630 --> 03:05.990
Paste it in here.

03:06.150 --> 03:09.470
Make this default be like a minute.

03:10.870 --> 03:13.070
Give it plenty of time to do its research.

03:13.430 --> 03:15.910
Uh, select this box to disable interruptions.

03:15.910 --> 03:17.960
No pre-school speech.

03:17.960 --> 03:18.880
That's force.

03:18.880 --> 03:27.920
This, um, execution mode is going to be, uh, in immediate when and how this tool executes.

03:28.240 --> 03:29.720
Uh oh, this is fun.

03:29.720 --> 03:30.080
The tool.

03:30.120 --> 03:30.360
Cool.

03:30.360 --> 03:33.240
We can have typing, we can have a typing sound.

03:33.280 --> 03:34.040
Let's hear that.

03:35.640 --> 03:36.880
That's probably way too quiet for you.

03:36.880 --> 03:37.160
Hang on.

03:37.160 --> 03:38.000
Let me try that again.

03:39.120 --> 03:39.480
There we go.

03:39.520 --> 03:39.800
You may.

03:39.840 --> 03:41.880
Maybe you can hear that, but my microphone might cut that out.

03:41.880 --> 03:42.840
But there's a typing noise.

03:42.840 --> 03:43.560
That's cool.

03:44.120 --> 03:46.640
Uh, and, uh, sound behavior.

03:46.640 --> 03:48.120
When should that play?

03:48.400 --> 03:50.800
Uh, with pre speech, you're always play.

03:50.800 --> 03:51.480
I think we should go.

03:51.480 --> 03:52.360
Always play.

03:52.600 --> 03:56.320
Uh, and now let's make sure we need to, uh.

03:56.520 --> 03:56.800
Okay.

03:56.800 --> 03:57.400
We'll come back.

03:57.440 --> 03:59.120
Last time I somehow forgot to save that.

03:59.120 --> 04:00.840
So I need to make sure it does get saved.

04:01.160 --> 04:01.600
Okay.

04:01.640 --> 04:05.920
And now it's time, of course, to add in the body parameters.

04:05.920 --> 04:07.320
This is the key part.

04:07.320 --> 04:12.600
So for the description, provide the question for the product.

04:14.760 --> 04:24.300
Expert who will look up relevant context In a knowledge base.

04:26.540 --> 04:29.420
And then here we're going to have one data type.

04:29.420 --> 04:30.380
It's a string.

04:30.700 --> 04:32.540
It's going to be called question.

04:32.540 --> 04:36.900
And that's how on the other end you remember we did dot body question.

04:36.900 --> 04:38.460
That's how we know it's going to be here.

04:38.780 --> 04:39.740
It's required.

04:39.740 --> 04:42.460
It's going to be filled in by the LM description.

04:42.500 --> 04:50.580
The question for the product expert.

04:52.020 --> 04:53.140
Simple as that.

04:53.500 --> 04:55.260
I think that's all good.

04:55.780 --> 04:59.060
And I think with this we can add this tool.

04:59.700 --> 05:00.420
Excellent.

05:00.420 --> 05:03.020
Let me go in and just check that it's saved all of our settings here.

05:03.020 --> 05:03.260
Yep.

05:03.260 --> 05:03.980
This is a minute.

05:03.980 --> 05:05.700
That's for immediate typing.

05:05.860 --> 05:07.020
This looks great.

05:07.020 --> 05:08.300
Everything is good.

05:08.460 --> 05:13.700
We have constructed our tool okay just a couple more tiny things to do.

05:14.020 --> 05:20.180
Uh, if we go back to N810 again, if we look here, we just need to delete this simple memory here.

05:20.180 --> 05:25.660
We don't want it to have a memory because it's going to be called as like a back end thing every time.

05:25.700 --> 05:27.390
It doesn't need to remember what came before.

05:27.590 --> 05:30.310
In fact, it might be called from very different conversations.

05:30.310 --> 05:33.870
And besides, it's like hooked up to a chat input, so that would fail anyway.

05:34.190 --> 05:38.590
And the other thing we need to do is just press this button here to set off the test process running.

05:38.790 --> 05:41.790
And with that, I think it's time that we give this a whirl.

05:41.790 --> 05:43.910
And I tell you what, now we've got this running.

05:43.910 --> 05:50.670
Let me let me take this window and like, pull it down so we can still keep the window showing behind

05:50.670 --> 05:51.030
the scenes.

05:51.030 --> 05:52.350
Let's see if I can make this work.

05:52.550 --> 05:52.950
There we go.

05:52.990 --> 05:54.190
We can basically see that.

05:54.190 --> 05:57.630
Go to agent, try and make this nice and small.

05:57.630 --> 05:57.990
I'm going to.

05:58.030 --> 06:00.670
So I should just be able to press the preview button to bring this up.

06:00.710 --> 06:06.630
Now I can make this a little bit smaller again so we can see everything here coming in and move this

06:06.630 --> 06:07.550
down here a bit.

06:07.590 --> 06:07.830
Yep.

06:07.830 --> 06:09.230
This is going to work okay.

06:09.270 --> 06:11.230
And now we're going to call the agent.

06:11.350 --> 06:12.190
Here we go.

06:13.830 --> 06:14.310
Hello.

06:14.510 --> 06:15.590
How can I help you today.

06:15.710 --> 06:18.350
Hello I'm wondering what keyboards you have.

06:19.470 --> 06:20.710
Let me check that for you.

06:28.230 --> 06:30.550
We offer a wide variety of keyboards, including.

06:30.550 --> 06:35.280
Gaming, mechanical productivity, ergonomic and office keyboards.

06:35.440 --> 06:41.880
Some popular models include the prototype RGB gaming keyboard, the prototype wireless mechanical keyboard,

06:42.000 --> 06:45.520
and the Type Master Ergonomic Split keyboard.

06:45.800 --> 06:49.320
We also have specialty tools like the Nova Key Macro Pad 12.

06:49.560 --> 06:53.760
Are you looking for a keyboard for a specific purpose, like gaming or office work?

06:54.080 --> 06:56.720
I'd be happy to help you narrow down your choice.

06:58.960 --> 07:01.000
I sometimes feel it's so realistic.

07:01.000 --> 07:02.280
It's so human like that.

07:02.280 --> 07:03.520
I feel compelled to answer.

07:03.520 --> 07:05.680
I feel bad hanging up, which is crazy.

07:05.720 --> 07:06.600
Side effect of this.

07:06.640 --> 07:08.440
Anyway, that was really fun.

07:08.440 --> 07:12.720
I loved the way we could see that running and also see the green ticks happening.

07:12.720 --> 07:17.560
I'd say that is quite successful, but we still have some more to do.

07:17.600 --> 07:22.400
If you're trying this yourself and you ask a second question like you ask about a particular keyboard,

07:22.400 --> 07:24.680
you'll find that that she won't be able to answer.

07:24.680 --> 07:28.760
And if you're wondering why, it's of course because you can only press this execute workflow button

07:28.760 --> 07:31.520
once in test mode, and it will just take one webhook.

07:31.760 --> 07:34.560
And so we need to deploy it to production.

07:34.960 --> 07:35.560
Okay.

07:35.800 --> 07:36.680
We know how to do that.

07:36.680 --> 07:37.700
We did it before.

07:38.140 --> 07:40.860
Let me just bring this back and attach it here again.

07:41.060 --> 07:42.180
Uh, okay.

07:42.300 --> 07:45.100
So we are going to go into the webhook.

07:45.740 --> 07:50.060
We're going to go to the production URL and copy that to the clipboard.

07:50.060 --> 07:50.900
It's done.

07:51.380 --> 07:51.940
All right.

07:51.980 --> 07:53.780
Now let's go back here again.

07:53.820 --> 07:57.620
Save and publish and publish.

07:57.940 --> 07:59.220
It is live.

07:59.260 --> 08:00.060
Got it.

08:00.340 --> 08:03.460
Okay, now we come back to 11 labs.

08:03.460 --> 08:06.300
We come in here, we need to go to our tools.

08:06.300 --> 08:07.940
We need to edit this tool.

08:07.980 --> 08:08.660
Here we go.

08:08.700 --> 08:09.620
Click on here.

08:09.820 --> 08:13.260
We need to come into this URL and change the URL.

08:13.340 --> 08:15.460
Paste to the new URL.

08:15.500 --> 08:19.420
Unsaved changes save and that is saved.

08:19.540 --> 08:22.420
Uh, remember to be careful as you copy and paste these URLs.

08:22.420 --> 08:24.380
It's got to be precisely right.

08:24.660 --> 08:27.860
And now we come back here and we go up to here.

08:27.860 --> 08:31.020
We go to publish and we press publish.

08:32.420 --> 08:36.260
And that has happened to go here and say copy shareable link.

08:36.300 --> 08:38.140
It's copied to the clipboard.

08:38.180 --> 08:40.620
Go here a new page.

08:40.740 --> 08:43.620
And it's time for us to try this again.
