WEBVTT

00:00:00.000 --> 00:00:04.800
 This next part, just like the calendar is completely optional, but if you would

00:00:04.800 --> 00:00:10.880
 like to be able to add not just direct keyword search, but also what's called

00:00:10.880 --> 00:00:18.720
 semantic search, meaning search by meaning to your HQ space, this is how you

00:00:18.720 --> 00:00:19.440
 can do that.

00:00:19.440 --> 00:00:24.080
 It requires a thing called embedding and there is an extra cost, but it's a

00:00:24.080 --> 00:00:25.280
 minuscule one.

00:00:25.280 --> 00:00:33.760
 I use Voyage AI for embeddings, which essentially just gives your local Claude,

00:00:33.760 --> 00:00:36.880
 not to get too technical about it, of course, whatever AI you're using, gives

00:00:36.880 --> 00:00:43.280
 your local tool the ability to algorithmically and mathematically

00:00:43.600 --> 00:00:50.400
 determine the meaning similarity between two different texts.

00:00:50.880 --> 00:00:54.560
 The technical side of that, I don't completely understand, but it does work.

00:00:54.880 --> 00:00:59.120
 And in order to be able to set that up, there's a spot here.

00:00:59.120 --> 00:01:02.880
 I'll go back to the gear, same place we went for the calendar, and you'll see

00:01:02.880 --> 00:01:04.320
 search optional.

00:01:04.320 --> 00:01:06.800
 And you can see keyword search is already working.

00:01:06.800 --> 00:01:09.520
 That's built in, that's functional, that's happening already.

00:01:09.520 --> 00:01:16.000
 If you want to turn on search by meaning, you'll need an API key from

00:01:16.000 --> 00:01:17.280
 Voyage AI.

00:01:17.280 --> 00:01:22.640
 If you want to use something other than Voyage AI, you will want, you'll need to

00:01:22.640 --> 00:01:26.320
 work with your Claude to kind of retool how the database for this works.

00:01:26.720 --> 00:01:32.960
 But voyage, they have right now, there's a 200 million free tokens at the outset.

00:01:32.960 --> 00:01:34.400
 I haven't even gone through that yet.

00:01:34.400 --> 00:01:40.720
 And after that point, it's like something like 0.0006 cents per, let's just say I

00:01:40.720 --> 00:01:46.400
 signed up in May without the 200 million and the whole time that I've been using

00:01:46.400 --> 00:01:51.440
 it, I've spent like $2 and I have a lot of files in my primary HQ, so it's not

00:01:51.440 --> 00:01:52.720
 expensive.

00:01:52.720 --> 00:01:53.680
 You won't have to worry about that.

00:01:53.680 --> 00:01:54.800
 You'll go to Voyage AI.

00:01:54.800 --> 00:01:58.000
 This is their homepage, voyageai.com.

00:01:58.000 --> 00:01:59.680
 And I've already signed in here.

00:01:59.680 --> 00:02:02.240
 I've gone to the section that says API keys.

00:02:02.240 --> 00:02:04.800
 I'm going to create an API key and it's going to do it here right in front of

00:02:04.800 --> 00:02:04.960
 you.

00:02:05.920 --> 00:02:10.400
 This is set up in the Action View so that when you type this in and paste it, it

00:02:10.400 --> 00:02:13.040
 doesn't go into any Claude conversation or anything like that.

00:02:13.040 --> 00:02:18.160
 It just gets saved in a secrets file that has a thing blocking it from Claude

00:02:18.160 --> 00:02:19.280
 reading it directly.

00:02:19.280 --> 00:02:26.480
 You don't want API keys to be shown in a conversation with Claude or any other AI

00:02:26.480 --> 00:02:28.800
 that isn't local to your computer.

00:02:28.800 --> 00:02:33.040
 And there's a distinction between an AI that lives on your computer completely

00:02:33.040 --> 00:02:36.400
 versus one like the one we're using now that has access to your local files.

00:02:36.400 --> 00:02:39.200
 But the AI thinking is still somewhere else.

00:02:39.200 --> 00:02:42.560
 You don't want to paste a credential into something that's living on somebody

00:02:42.560 --> 00:02:45.840
 else's server, which is also why I'm going to revoke this credential as soon

00:02:45.840 --> 00:02:47.200
 as I've made this video.

00:02:47.200 --> 00:02:50.160
 Not that I don't trust you, but you know, we play safe here.

00:02:50.800 --> 00:02:58.000
 So I'm going to say create a new secret key and I'll call this installation demo

00:02:58.640 --> 00:03:00.320
 and it doesn't matter what project it's in.

00:03:00.320 --> 00:03:05.200
 I'll just put it in the default project and I'll click create secret key and once

00:03:05.200 --> 00:03:07.360
 it's created, I'll copy it.

00:03:08.640 --> 00:03:11.360
 Now just be aware they only show these keys once.

00:03:11.360 --> 00:03:14.640
 Even I can't view any of my past keys.

00:03:15.280 --> 00:03:18.560
 You'll see, well, I'll go ahead and click this here and click paste it.

00:03:18.560 --> 00:03:21.840
 Once I paste it, there we go.

00:03:22.640 --> 00:03:26.960
 Once I paste it and hit save, it's going to start indexing the files that I have

00:03:26.960 --> 00:03:31.280
 locally here and it takes just a moment and now meaning search is turned on.

00:03:31.280 --> 00:03:36.080
 And there's also a job that operates in the background that refreshes that index

00:03:36.080 --> 00:03:36.800
 anytime.

00:03:36.800 --> 00:03:40.720
 So, you know, anytime you add new files or take files away, those things are

00:03:40.720 --> 00:03:42.560
 reflected in that index.

00:03:42.560 --> 00:03:46.560
 So that means that you, you know, within a few minutes after a new file has been

00:03:46.560 --> 00:03:48.880
 added, it's going to be a searchable by meaning.

00:03:48.880 --> 00:03:53.280
 And I think some of them actually are right away that they get doing that.

00:03:53.280 --> 00:03:57.520
 So when you click done with it and then you'll see none of my other ones, you

00:03:57.520 --> 00:03:58.800
 can't, you can't even see them.

00:03:58.800 --> 00:04:01.040
 I can't even see them after they've been used.

00:04:01.920 --> 00:04:03.200
 So that's set up.

00:04:03.200 --> 00:04:03.920
 That's it.

00:04:03.920 --> 00:04:04.960
 That's really it.

00:04:04.960 --> 00:04:09.040
 And so when we go to use, when I show some of the examples of how I use Claude

00:04:09.040 --> 00:04:11.120
 here in a moment, just know that that exists.

00:04:11.120 --> 00:04:15.200
 The search is in the background that gives you, uh, not just search by

00:04:15.200 --> 00:04:17.920
 keywords, but also search by meaning.

