title
stringlengths
12
112
published
stringlengths
19
23
url
stringlengths
28
28
video_id
stringlengths
11
11
channel_id
stringclasses
5 values
id
stringlengths
16
31
text
stringlengths
0
596
start
float64
0
37.8k
end
float64
2.18
37.8k
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1460.44
a centroid. So this one would also be run through one. So each subset of vector slices
1,460.44
1,476.6
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1467.8400000000001
is going to be run through its own clustering algorithm, creating these centroids. And these
1,467.84
1,485.36
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1476.6000000000001
centroids are smaller in size than the original sub vectors here. And what we do is for each
1,476.6
1,493.84
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1485.36
of these sub vectors, so each of these sub vectors, they get pulled into here. So maybe
1,485.36
1,502.68
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1493.84
this one is here and it gets assigned to its nearest centroid. And then we take that assignment
1,493.84
1,512.64
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1502.6799999999998
all the way back over here and add it into our vector. So this is centroid three, for
1,502.68
1,520.24
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1512.64
example. And when I say assign it back, it's probably the wrong way to think about it.
1,512.64
1,530.92
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1520.24
Maybe it's more like this. So it becomes a new vector built from those centroid IDs.
1,520.24
1,540
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1530.92
Okay. So this would be three. Now, what that does is essentially reduces the size of our
1,530.92
1,550.24
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1540.0
vectors, but pretty significantly, depending on what dimensions we use there. So let's
1,540
1,558.56
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1550.24
go back to the code. Let's implement that. Now, we need to define two new variables here.
1,550.24
1,567.68
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1558.56
So m, which is going to be the number of centroids in the final vector. So one thing that we
1,558.56
1,577.08
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1567.68
do need to know with m is that m must be, we must be able to multiply m into d. So what
1,567.68
1,591
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1577.0800000000002
is our d value? It's 100. I can't remember. Where are we? Let me check. So 768. Now we
1,577.08
1,597.8
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1591.0
should be able to divide that into eight, I think. Yeah. So this is good. We can use
1,591
1,603.12
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1597.8
eight for m, but we couldn't use something like five. Because if we do five, we see that
1,597.8
1,615.44
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1603.12
d doesn't fit. So five doesn't fit nicely into d, whereas eight does. So m or d must
1,603.12
1,622.48
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1615.44
be a multiple of m. Otherwise we're going to get an error. And that's because of the
1,615.44
1,631.08
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1622.48
way that those vectors are broken down into the final centroid ID vectors. And we also
1,622.48
1,636.88
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1631.0800000000002
need to specify the number of bits within each of those centroids. So this value, we
1,631.08
1,643.44
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1636.88
can use what we want. I'm going to use eight. And then we can set up our index and also
1,636.88
1,648.08
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1643.44
the quantizer. So we use a quantizer as we did before. So the quantizer is going to be
1,643.44
1,662.68
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1648.0800000000002
fice.index flat L2 d. And also our index here is going to be, so this is a new one. This
1,648.08
1,670.24
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1662.68
is index IVFPQ. So it's not a flat vector anymore, which is the full vector. It's a
1,662.68
1,678.52
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1670.24
quantized vector. So where we have reduced the size of it through this, through the method
1,670.24
1,687.52
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1678.52
I explained before, where we drew it out. Now we need to pass a few arguments into here.
1,678.52
1,698.2
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1687.52
First one is the quantizer. So the quantizer d, which is our own dimensionality, n list,
1,687.52
1,711.4
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1698.2
m and bits. So pass all those to our index. Sorry, we need to put fice there as well.
1,698.2
1,716.4
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1711.4
And there we go. So we now have our index again. You may have guessed that we might
1,711.4
1,724.6
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1716.4
need to train this one. There we go. So to train it, we just write index.train, that's
1,716.4
1,732.68
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1724.6
our sentence embeddings. Okay. So it might take a little bit longer this time. There
1,724.6
1,739.76
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1732.6799999999998
we go. And then we can add our vectors. Now, after adding those, let's see how quick this
1,732.68
1,744.28
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1739.76
is. Should be a lot quicker or a fair bit quicker. It's hard to get much quicker than
1,739.76
1,751.72
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1744.28
the last one. So we're going to use the same code as before. So I'm going to take this
1,744.28
1,762.08
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1751.72
down here. See, 2.86. So we've gotten a lot faster. So we've gone from, what's up here,
1,751.72
1,773.32
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1762.08
57 milliseconds down to two. Now, there is one thing here. These values are now different.
1,762.08
1,783.16
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1773.32
So the accuracy has decreased. So if we, where is the last one here? So you can see that
1,773.32
1,789.12
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1783.1599999999999
we are getting, so we have the 190. We still have that one. And we have the 12, 4, 6, 5.
1,783.16
1,795.24
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1789.12
But these two at the front are now different. And this is just, it's on the trade-offs of
1,789.12
1,804.26
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1795.24
accuracy versus speed. So if we come down here, let's give that a go. Let's have a look
1,795.24
1,814.28
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1804.26
at what we are pulling through. So I'll copy this again. Let's just see. So we have these.
1,804.26
1,820.24
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1814.28
I mean, although the accuracy has decreased technically because it's not getting the same
1,814.28
1,826.48
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1820.24
results as the exhaustive search, they're still pretty good results. So I mean, nonetheless,
1,820.24
1,834.92
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1826.48
I think that is pretty cool. So let's have a look at, let's compare this to our previous
1,826.48
1,842.92
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1834.92
two other methods in terms of, as we did before, the graphs. So here is that final one. So
1,834.92
1,851.08
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1842.92
we have IVF PQ along the bottom. Yeah, it's a lot faster, right? And then we have IVF
1,842.92
1,861.48
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1851.0800000000002
flat with a end period value of 10, much faster than L2, but still not quite as fast as PQ.
1,851.08
1,866.44
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1861.48
And then we have flat L2 at the top, which obviously, and just as well, just be aware
1,861.48
1,871.92
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1866.44
on the left here, we have a log scale. So the differences are pretty significant when
1,866.44
1,882.8
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1871.92
we get up to the 1 million mark. So I think that's it for this video. So I think obviously
1,871.92
1,887.92
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1882.8000000000002
FIESS is pretty cool, definitely really useful. And I think we're definitely going to explore
1,882.8
1,894.88
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1887.92
it more in the future. So for now, that's it. So thank you for watching and I'll see
1,887.92
1,903.4
Faiss - Introduction to Similarity Search
2021-07-13 15:00:19 UTC
https://youtu.be/sKyvsdEv6rk
sKyvsdEv6rk
UCv83tO5cePwHMt1952IVVHw
sKyvsdEv6rk-t1894.88
1,894.88
1,903.4
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t0.0
Hi, in this video we're going to be having a look at how we can deploy a plastic API
0
7.84
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t5.2
using Google's cloud platform or GCP.
5.2
13.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t8.64
So it's actually a very simple process and we're going to jump straight into it.
8.64
20.72
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t14.0
So we want to go to Google and first thing I'm going to do is actually go to the GCP console.
14
26.24
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t20.72
So we just write GCP console and we just click here.
20.72
28.56
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t26.24
And that should bring you through to this page.
26.24
33.12
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t28.56
If you already have an account, if you don't, you will need to obviously create an account.
28.56
38.88
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t33.6
But once you have your account, you come over here, you can either come up here to create a project,
33.6
42.72
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t38.879999999999995
or you just click on this button here, create project.
38.88
46.4
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t43.76
And I'm just going to call mine, flask API.
43.76
51.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t48.16
You will need to set up a billing account if you haven't already.
48.16
53.76
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t51.599999999999994
Mine is already set, so I don't need to do anything there.
51.6
55.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t53.76
Now just come to create.
53.76
60.88
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t56.879999999999995
Okay, that will take a moment for it to actually create a project.
56.88
66.08
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t61.68
Okay, but once it is done, we will see we have this project ID here.
61.68
67.84
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t66.08
We're going to need to keep that.
66.08
69.04
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t67.84
So I'm just going to copy it now.
67.84
70.4
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t69.03999999999999
So we're going to be using it later.
69.04
76.16
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t71.12
And we need to initialize the cloud build API.
71.12
78.96
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t77.52
So we come up here.
77.52
81.12
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t78.96
And we just want to click on this first link here.
78.96
89.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t83.91999999999999
And what we do is enable this API for this specific project.
83.92
94.32
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t89.36
So you need to make sure at the top here you have your your flask API project set.
89.36
100.8
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t96.63999999999999
So again, that will take a moment to actually install.
96.64
103.76
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t101.67999999999999
And then we can go ahead and create a project.
101.68
105.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t103.75999999999999
So I'm going to go ahead and create a project.
103.76
109.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t105.68
That will take a moment to actually install.
105.68
117.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t109.68
And the final thing that we need to set up is we need to install the GCP SDK.
109.68
123.2
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t117.68
So all I'm going to type into Google is GCP SDK install.
117.68
128.72
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t125.28
And you see, okay, we have this first link here, install in cloud SDK.
125.28
129.28
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t128.72
Click on that.
128.72
131.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t130.08
And you just follow through.
130.08
135.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t131.68
These instructions are pretty basic for whichever OS you're using.
131.68
137.28
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t135.68
So for me, I'm Mac.
135.68
140.16
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t138.32
Click here, install this.
138.32
148.16
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t140.88
And then I have the G Cloud SDK on my terminal.
140.88
151.04
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t149.12
So I'm going to switch over to VS Code.
149.12
156.64
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t151.04000000000002
And we'll take a look at what all this actually looks like in our code
151.04
160.48
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t156.64000000000001
and actually creating our API and deploying it.
156.64
163.2
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t160.48
Okay, so I'm in VS Code now.
160.48
166.16
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t163.2
I have this little directory.
163.2
167.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t166.16
It's just an API.
166.16
173.44
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t168.48
We created this in the previous video series and an article.
168.48
175.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t173.44
So you can have a look at that if you want.
173.44
178.56
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t175.67999999999998
But the content of this isn't particularly important.
175.68
183.52
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t178.56
As a note, we're importing some data from some files here.
178.56
187.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t184.16
And we have these two endpoints, users and locations.
184.16
188.4