Vector Databases simply explained! (Embeddings & Indexes)

Поділитися
Вставка
  • Опубліковано 5 тра 2024
  • Vector Databases simply explained. Learn what vector databases and vector embeddings are and how they work. Then I'll go over some use cases for it and I briefly show you different options you can use.
    Resources:
    - Gentle introduction: frankzliu.com/blog/a-gentle-i...
    - What is a vector database: www.pinecone.io/learn/vector-...
    Get your Free Token for AssemblyAI👇
    www.assemblyai.com/?...
    00:00 - Intro
    00:44 - Why do we need vector databases
    01:29 - Vector embeddings and indexes
    02:58 - Use cases
    03:45 - Different vector databases
    Vector Database Options:
    - Pinecone
    - Weaviate
    - Chroma
    - Redis
    - Qdrant
    - Milvus
    - Vespa
    ▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬
    🖥️ Website: www.assemblyai.com
    🐦 Twitter: / assemblyai
    🦾 Discord: / discord
    ▶️ Subscribe: ua-cam.com/users/AssemblyAI?...
    🔥 We're hiring! Check our open roles: www.assemblyai.com/careers
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    #MachineLearning #DeepLearning

КОМЕНТАРІ • 124

  • @bobsavage3317
    @bobsavage3317 Рік тому +111

    Yes, a video describing available VDBs in terms of, e.g. Open/Closed, simplicity of operation, and user interaction patterns (quality/expressiveness of API) would be great!

    • @ProSaladToss
      @ProSaladToss 11 місяців тому

      Seconded

    • @assethotorch2395
      @assethotorch2395 11 місяців тому

      ua-cam.com/video/Yo-AzVpWrRg/v-deo.html
      You may find it helpful to start with the time frame of the video above!!

    • @RomeoKienzler
      @RomeoKienzler 10 місяців тому

      Also important how to extend the vdb with custom distance functions

  • @ChrisBrogan
    @ChrisBrogan 14 днів тому +2

    I just watched an IBM explanation of vector databases and came away lost. Then I watched yours, and got it right away. Point goes to you. ;)

  • @matt_88
    @matt_88 Рік тому +6

    Definitely! I'd love to see comparable benchmarks for common LLM and other tasks (i.e. transfer learning, use-cases in the context of fine-tuning, etc)

  • @nickstaresinic9933
    @nickstaresinic9933 11 місяців тому +14

    The concise, high-level explainer that I needed. Thanks.

  • @vincerocchi9083
    @vincerocchi9083 11 місяців тому +2

    Love your work Patrick. Definitely would like to see more on vector databases, especially when you would use one over an array or other options and the pros and cons of some of the types you mentioned (I.e. Pinecone, Milvus, etc.)

  • @karthickmj6312
    @karthickmj6312 7 місяців тому

    Thank you so much, Patrick. Would love to watch a video detailing and comparing all VDBs.

  • @DanielTorres-gd2uf
    @DanielTorres-gd2uf Рік тому +27

    Let's see the more in depth comparison! Also would love to know your take on where it will go? Are they able to automatically generate vectors for your multimodal data already? Are there known companies using vector databases currently? Are there lightweight alternatives to the services you offered? (ie. a numpy verision of a vector database?)

  • @maneeshs3876
    @maneeshs3876 10 місяців тому +2

    Nice summary on Vector databases. A comparison of Graph and Vector databases with specific use cases would also help. Thank you

  • @jolly2002me
    @jolly2002me Рік тому +32

    Yes please, more on this topic, I would appreciate it.

    • @HeyImAK
      @HeyImAK 11 місяців тому +1

      👆

  • @jonmichaelgalindo
    @jonmichaelgalindo 2 місяці тому

    Straight forward and simple. Thanks! 😊

  • @ksnydertube
    @ksnydertube 9 місяців тому

    Thank you for this video - just what I needed! If you haven't done one already, please do an explainer comparing. 🙏

  • @anirudhgangadhar6158
    @anirudhgangadhar6158 9 місяців тому

    Great intro to VD! Would love to see a more in-depth video on some real-world use cases :)

  • @saimanikanta7360
    @saimanikanta7360 8 місяців тому

    yup!! looking forward to a detailed analysis and comparison

  • @user-hf3rq7qe9v
    @user-hf3rq7qe9v 4 місяці тому

    Thank you, nice and short overview to get an idea of what a vector db is.

  • @alexfowler1683
    @alexfowler1683 10 місяців тому

    Great video, thanks! Short and exactly on point -- much appreciated.
    Yeah, it'd be cool to see more in-depth comparison of the dbs.

  • @VastCNC
    @VastCNC Рік тому +6

    Would definitely be interested in more details, especially on self hosted VDBs

  • @slawikus1982
    @slawikus1982 7 місяців тому

    Thanks for a nice video!
    Would be great to learn more on how one could use Redis and PostgreSQL as vector databases.
    Additionally, more examples and use cases for vector databases would be cool.

  • @brunomesquitazamberlan8876
    @brunomesquitazamberlan8876 29 днів тому +1

    Very useful. Now I can imagine what is a vector database. Thanks

  • @rezaru2000
    @rezaru2000 3 місяці тому

    Thanks, this is what I needed to understand the overall idea of vector db.

  • @08ae6013
    @08ae6013 Рік тому

    Thank You... It's a great explanation on Vector database. Please make a in depth videos on Pinecone & Redis vector databases

  • @ThomasLapperre
    @ThomasLapperre 6 місяців тому

    This was a very clear explanation. Thank you!

  • @khari_baat
    @khari_baat 9 місяців тому

    Good informative video. Thanks!

  • @asifmian43
    @asifmian43 8 місяців тому

    I would love to see a comparison of the different Vector Databases!

  • @TeamUpWithAI
    @TeamUpWithAI 8 місяців тому

    Thanks for putting this together! :)

  • @otto.bjorkland
    @otto.bjorkland Рік тому +5

    It would be great if you explained how to use vector databases to give LLM's long term memory! 🙏

  • @SoharabHossain
    @SoharabHossain 20 днів тому

    Brief and to the point. Great video.

  • @muhammadmursalin8915
    @muhammadmursalin8915 17 днів тому

    Thanks, describe very simply what the vector database is and its uses.🥀

  • @Anonymous-lw1zy
    @Anonymous-lw1zy 11 місяців тому

    Yes please, a VDB comparison would be great, and please include FAISS and other self-hosted options.

  • @bjugdbjk
    @bjugdbjk 10 місяців тому

    Definitely need a comparisio video and small example code for the top 3 Vector DB's used !!
    By the way ,Fantastic walk through of the concept !!.

  • @sanjeevKumar-eg6hp
    @sanjeevKumar-eg6hp 4 місяці тому

    thanks for a such a detailed and easily understandable knowledge

  • @leftright1606
    @leftright1606 9 місяців тому +1

    Yes, looking forward to a more in-depth video.

  • @4XLibelle
    @4XLibelle Місяць тому +1

    Excellent overview. Many thanks!

  • @davidlepold
    @davidlepold 11 місяців тому +2

    It could be interesting to see a case of adding a vector dbase to an existing sql database, if it can replace it, or if a parallel approach might be interesting, using them side by side, each taking advantage of strenghts. etc.

  • @nsitkarana
    @nsitkarana 11 місяців тому

    to the point and concise explanation !!

  • @jaylee7864
    @jaylee7864 Рік тому

    Thanks for the Video. you are awesome and very easy to understand what they are. I think Pinecone is quite popular so if there is a video about it, it would be great. Cheers

  • @caiyu538
    @caiyu538 Рік тому +3

    Thank you Patrick.

  • @realjackofall
    @realjackofall Рік тому

    Simply explained. Thanks!

  • @SubirSengupta1
    @SubirSengupta1 11 місяців тому +6

    I would love to see a comparison of the different VDB's and perhaps your thoughts on which one or two are the best. Thanks for a great video.

  • @hughesadam87
    @hughesadam87 8 місяців тому

    Great video thank you!

  • @mbrochh82
    @mbrochh82 Рік тому

    comparison video for the mentioned VDBs at the end would indeed be awesome!

  • @olivierrochon3858
    @olivierrochon3858 6 місяців тому

    Perfectly clear. Thanks!

  • @ednavas8093
    @ednavas8093 7 місяців тому

    Incredible video

  • @user-zn1kl4hq4j
    @user-zn1kl4hq4j 8 місяців тому

    Could you provide an overview on the comparison of different Vector Database providers and how to decide which is better?

  • @kevinli3767
    @kevinli3767 3 місяці тому

    This is a really good explanation and visualization

  • @camilaferraz8153
    @camilaferraz8153 11 місяців тому

    That was very helpful! Thank you!

  • @divakaratanjore1059
    @divakaratanjore1059 10 місяців тому

    Awesome explanation! Thank you

  • @ayoubthegreat
    @ayoubthegreat 10 місяців тому

    I love the video. One critique would be to set up further away from the background to possibly reduce the reverb you're getting

  • @WmSadler
    @WmSadler 11 місяців тому

    woud love to see detailed comparison of the vector databases

  • @ser1ification
    @ser1ification Рік тому +2

    Thank you, more please :)

  • @nickmhc
    @nickmhc 8 місяців тому

    A breakdown of differences between vector databases would be nice. But also a comparison to graph databases like neo4j and TitanDB et al would help this n00b

  • @p.j.816
    @p.j.816 4 місяці тому

    This was a really good video! Thanks so much :)

  • @angeloinvestor
    @angeloinvestor 9 місяців тому

    You would need to upload ur own embeddings to these db though? Or do they calculate it for you in a multimodal way? Pinecone seems like the former? If so, why not just host locally in your Postgres?

  • @SonGoku-pc7jl
    @SonGoku-pc7jl 6 місяців тому

    thanks, you have a video for the comparate diferences quality between?

  • @bindass1000
    @bindass1000 3 місяці тому

    Super helpful!

  • @dabravo100
    @dabravo100 Рік тому

    Great video… please go on with the next one

  • @ryansteiger6960
    @ryansteiger6960 10 місяців тому

    Thanks for the video 👍

  • @Maisonier
    @Maisonier 11 місяців тому

    Yes please a video about that. Liked and subscribed

  • @soubinan
    @soubinan 11 місяців тому

    Great video! thank you!
    A big YES for a Vector DB dedicated video
    Btw I am happy I have found this channel, let's subscribe !

  • @PaperTigerLive
    @PaperTigerLive Рік тому +1

    Very helpful animations:)
    How did you do them with exalidraw, if I may ask?

  • @user-gh4id3gg4q
    @user-gh4id3gg4q 4 місяці тому

    An in-depth comparison would be great!

  • @adityadubey7509
    @adityadubey7509 8 місяців тому

    helpful >>

  • @beemerrox
    @beemerrox 11 місяців тому

    Good explanation. Thumbs up 👍

  • @user-ng3to6lh7z
    @user-ng3to6lh7z 11 місяців тому

    It would be great to see a comparison of the vector database companies

  • @nikilragav
    @nikilragav 2 місяці тому

    This is a great explanation. But the indexing part is what I was looking for. Nearest neighbor search is already a hard problem in Computer Graphics and gaming (to detect collisions. E.g. if you ever play Madden and do a slow-mo replay, you'll see that the receiver never actually touches the ball. or E.g. cloth simulations for a cape often "clip" into the 3d model of the person wearing the cape).

  • @RanitDA
    @RanitDA 11 місяців тому

    Good topic 🎉

  • @VaibhavPatil-rx7pc
    @VaibhavPatil-rx7pc 10 місяців тому

    Cool, please explain more details about each vector db thanks

  • @ducbuivan9378
    @ducbuivan9378 13 днів тому

    thank you

  • @katsunoi
    @katsunoi 5 місяців тому

    nice video - thanks!

  • @MartinQLynx
    @MartinQLynx 8 місяців тому

    Supabase also joined the vector DB club a while ago.

  • @hammanadamafarukabubakar8365

    Great one

  • @UDAY-pv5il
    @UDAY-pv5il 6 місяців тому

    Great content.I noticed the Elastic name is missing from the list of vector databases. Could you please include it in the list?

  • @jessem2176
    @jessem2176 9 місяців тому

    I would love to see.. what is the Best Vector database... ease of use vs performance. and why. This way we can stop guessing which one to try to use and just know this one is by Standard the best.

  • @vladsinjavin9189
    @vladsinjavin9189 8 місяців тому

    Can you make a video around pinecone?

  • @AndrewPrice2704
    @AndrewPrice2704 Рік тому

    Yes please!

  • @smartfusion8799
    @smartfusion8799 Рік тому

    Yes please, i habe to decide soon which database, redisearch is cloud only, pinecone too i think

  • @moeal5110
    @moeal5110 8 місяців тому

    go in depth please we would like to see a video about all these technologies

  • @fnmby
    @fnmby Місяць тому

    Please continue..)

  • @liperuf
    @liperuf Рік тому

    yes please!

  • @pascalmartin1891
    @pascalmartin1891 9 місяців тому

    I remember working on a vector database in the mid 1980s. That was a Pick system, mostly used for accounting, warehouse management and the like. Re-innovation. 😁

  • @vamc256
    @vamc256 10 місяців тому

    Please explain further, any one of the vector databases with an example for each Weaviate, Pinecone..

  • @lancerkind
    @lancerkind 2 місяці тому

    I would enjoy seeing a comparison among these different vector databases. Today I just picked the one that’s most convenient. But there’s probably a better rationale for choosing among them. The other topic I’d like to see is sustainability. For example, if I’m adding a new vector to the database once a week what will happen after 10 years? Is that a sustainable growth when I have a 1016 element vector everyweek of the year or do I need to do something to re-index the database so that my performance doesn’t drop after a number of years?
    The data I’m creating now would be relevant for many decades.

  • @pavlotriantafyllides5687
    @pavlotriantafyllides5687 10 місяців тому

    Would love an explanation of indexing and how to use this with an LLM

  • @harshjain3122
    @harshjain3122 Рік тому +2

    This is like that scene from the Matrix where Neo stops the bullets and he sees the Matrix(humans, objects alike) as lines of code.
    We are now converting objects like banana and apples into a bunch of numbers which even we can no longer understand looking at them via the vector embedding.

  • @mechcooper8341
    @mechcooper8341 10 місяців тому

    A comparison of their underlying architecture would be useful.

  • @hughster657
    @hughster657 11 місяців тому +2

    Why isn't KX mentioned in this overview? They have a very strong vector database and support time-series data as well. Formula 1, manufacturing, utilities, and all the banks use them.

  • @SonGoku-pc7jl
    @SonGoku-pc7jl 6 місяців тому

    you can make a mor explication of diferences and optimitzacions cases :) thanks!

  • @DanielNiklaus
    @DanielNiklaus 11 місяців тому

    Yes, please.

  • @decodingdatascience
    @decodingdatascience 6 місяців тому

    🎯 Key Takeaways for quick navigation:
    00:41 📊 Vector databases store Vector embeddings for fast retrieval and similarity search.
    01:07 📝 Unstructured data like images, text, and audio can be challenging to store in relational databases, making vector databases valuable.
    02:02 🔍 Vector embeddings allow for finding similar items by calculating distances and performing nearest neighbor searches.
    03:10 🗂️ Vector databases have various use cases, including equipping language models with long-term memory, semantic search, similarity search, and recommendation engines.
    03:50 💽 Examples of vector database options include Pinecone, Chroma, Redis, Cool, Trans, Milvus, and Vespa AI, each with its strengths and capabilities.

  • @akshaysena6598
    @akshaysena6598 3 місяці тому

    In LLM, I'm facing a token limit issue. With the vector database, will I be able to overcome token issues in llm?

  • @thantzinoo938
    @thantzinoo938 11 місяців тому

    i would love to know more

  • @tabrezshaikh758
    @tabrezshaikh758 Рік тому

    Can we FAISS vector store in production?

  • @DanielWeikert
    @DanielWeikert 11 місяців тому

    I want to know how indexes work. How does the vector of the search prompt get mapped via index?

  • @darrylcatay2295
    @darrylcatay2295 Рік тому

    I say what Bob says. Thanks Bob.

  • @mr9373
    @mr9373 10 місяців тому

    I would like to see a practical application example. Adding vector database info into a group of images and how it's searched for.

  • @johnshaff
    @johnshaff 11 місяців тому +3

    Vector DB’s do not get around LLM context size limitations, but it seems like that’s the hot use case for them. Embeddings are not useful until they’ve been transformed though a neural network. I keep looking at these weird use cases like Langchain and I’m baffled people accept their wide margin of failure.

  • @darksilentcore0
    @darksilentcore0 11 місяців тому

    Tx

  • @urimtefiki226
    @urimtefiki226 3 місяці тому

    Which vectors, you are explaining my vectors of my matrix?

  • @senthil_the_analyst
    @senthil_the_analyst 11 місяців тому +1

    What about kdb+ ?

  • @TimKaseyMythHealer
    @TimKaseyMythHealer Рік тому

    Someone needs to make a 3D model of a LLM engine. In the document, “Attention is All You Need” the number 512 is given. Relating the number 512 to your X/Y coordinates, with the 4 quadrants: Would it be accurate for me to assume that the size of your four quadrants are each with 512 total (22.6 x 22.6)? Furthermore, given that there are 512 (22.6 x 22.6) allocated for each word at the input prompt, with 512 (22.6 x 22.6) allocated to each of the 6 of the LLM layers (processed in series). Am I correct in understanding this?

  • @drdca8263
    @drdca8263 11 місяців тому

    Can you point to where I can learn about how the indexing is done at a mechanical/gears-level ?
    Not like, the state of the art version, so much as like, “here’s the naive approach, and here’s the simplest improvement on it” ?

    • @zackyezek3760
      @zackyezek3760 8 місяців тому

      Simplest way to understand this is from pure higher mathematics. Look up vector spaces, inner product spaces, and “metrics” (e.g. metric spaces).
      The “vector embedding” is an algorithm (function) that assigns your actual data a vector (N-element array of #s) in a mathematical “Vector Space”. Vector spaces have nice mathematical properties; these ones are usually hyperspaces with hundreds or thousands of dimensions. You can then go further and define all sorts of add-ones; a function that defines the distance between 2 vectors is a “metric”, one that maps your vectors to lower dimensional vectors is a “projection”, and so on. All these functions have to satisfy some abstract mathematical rules to be proper metrics, projections, etc. but once they do you pick up all sorts of additional nice properties for free.
      The “index” is generally the number(s) generated by applying 1 or more of these functions to your vector. For example, the index could be the # of nonzero indices the vector has. Or it’s length, as defined by some metric. It’s some value(s) that allow searches to quickly prune away or skip most vectors so that full checks and calculations only need to run on a much smaller subspace.