Vector Search: The Future of Data Querying Explained | Semantic Searching

Sdílet
Vložit
  • čas přidán 26. 09. 2023
  • ✅ Sign-up for a free cluster at → mdb.link/free-1ZIYVNvRVsY
    ✅ Get help on our Community Forums → mdb.link/community-1ZIYVNvRVsY
    ** Support for the '$vectorSearch' aggregation pipeline stage is available with MongoDB Atlas 6.0.11 and 7.0.2. **
    Welcome to this comprehensive guide on Vector Search, a revolutionary technique that allows you to search data based on meaning rather than just keywords. If you've ever struggled to find exactly what you're looking for in a database, this video is for you. We'll explore how Vector Search works, its benefits, and how to implement it in MongoDB for a seamless and powerful search experience.
    🛠 What You'll Learn
    What is Vector Search?: Understand the machine learning models behind Vector Search and how they transform text, audio, images, or other types of data into high-dimensional vectors.
    Benefits of Vector Search: Discover why semantic understanding, scalability, and flexibility make Vector Search a must-have feature for modern databases.
    MongoDB & Vector Search: Learn how to set up Vector Search in MongoDB Atlas, create triggers with OpenAI API, and perform vector search queries. We'll walk you through each step, from setting up your MongoDB Atlas account to writing JavaScript functions for querying.
    📚 Resources 📚
    ✅ Written article & code → mdb.link/semantic-search-mong...
    ✅ Vector Search Documentation→ mdb.link/vector-search-1ZIYVN...
    ✅ OpenAI → platform.openai.com/overview
    ✅ Create your first FREE MongoDB Atlas Cluster → • Get Your Free MongoDB ...
    ------
    ✅ Subscribe to our channel → mdb.link/subscribe
  • Zábava

Komentáře • 40

  • @MongoDB
    @MongoDB  Před 9 měsíci +3

    ✅ Sign-up for a free cluster at → mdb.link/free-1ZIYVNvRVsY
    ✅ Vector Search Documentation→ mdb.link/vector-search-1ZIYVNvRVsY

  • @mzf11125
    @mzf11125 Před 6 měsíci +19

    Linear Algebra wasn't a waste of time after all

  • @spectralvalkyrie
    @spectralvalkyrie Před 8 měsíci +1

    Wow I really want to learn to do this!

  • @emanuelsosa5923
    @emanuelsosa5923 Před 6 měsíci

    I love that!

  • @user-cd1vg8le7f
    @user-cd1vg8le7f Před 9 měsíci +1

    cool. i will try it

  • @user-xz8bp5eb4d
    @user-xz8bp5eb4d Před 4 měsíci

    Love you so much

  • @KingAtem1000
    @KingAtem1000 Před 9 měsíci +1

    Thats pretty cool

  • @user-gy9ig3qj3m
    @user-gy9ig3qj3m Před 6 měsíci +4

    Two Questions:
    1. I use embedding model from Huggingface, and calculate embeddings myself. Can that be done inside the function that you showed? This requires importing some libs.
    2. Are there other supported vector indexing algorithms? KNN has major issues with performance, I use HNSW (Hierarchical Small World Graph).

  • @isabellesteinhauslin650
    @isabellesteinhauslin650 Před 4 měsíci

    Hey there, great content! I code using Pythong but this video provided me direction. Btw, I think there was an up date in the interface of MongoDB and the code for creating a vector search might need to be updated.

  • @hoangng16
    @hoangng16 Před 2 měsíci +1

    Can we create a new vector search index using code instead of going to the MongoDB UI?

  • @Wooster23
    @Wooster23 Před 8 měsíci +1

    Is there a score or some quantified notion of similarity that can be returned with each result?

  • @user-ip1wg4sg3w
    @user-ip1wg4sg3w Před 5 měsíci +2

    I am really interested in implementing this in my microservices all written with Go.
    Can all of this be made programmatically with Mongo client for Go?
    Indexes can be created with the client, so I imagine that all of this can be done too.

  • @donalshijan5615
    @donalshijan5615 Před 5 měsíci

    I have a question, In this example it's going through plot which was saved as movie data. right? It then queries that plot for similar result, could it be done in a way where it goes through the actual movie and tries to figure out , oh there it is, a boy and a yellow dog, and then return that movie suggesting it might be the one we are referring to.

  • @bobonaqa
    @bobonaqa Před 8 měsíci

    So this is only working with dedicated servers and not supported with the serverless option?

  • @bobuputheeckal2693
    @bobuputheeckal2693 Před 4 měsíci

    This worked for me. But some searches didn’t work as expected. I asked which is the first Bond movie. It gave me a list of bond movies. I understand the vector is only on plot. But can we vectorize the whole document ?

  • @user-wj3uq3tm8c
    @user-wj3uq3tm8c Před 6 měsíci +3

    What about searching in multiple fields inside a document? Is it possible to embed and search not only the plot of the movie but 20 more properties?

    • @jainsamyak970
      @jainsamyak970 Před 4 měsíci

      Hello! Did you find the answer to this ? Because I am also looking for this only. But not able to find anything.

    • @harikrishnansathyan4382
      @harikrishnansathyan4382 Před 4 měsíci

      Hii.. Any update on this, did you find any way to do this?

    • @bobuputheeckal2693
      @bobuputheeckal2693 Před 4 měsíci

      Did u guys think of vectorizing all the properties of the document?

  • @minhkhaitran1447
    @minhkhaitran1447 Před 8 měsíci +1

    unfortunately, I just follow the guide from the doc, but I get this error |
    MongoServerError: $vectorSearch is not allowed or the syntax is incorrect, see the Atlas documentation for more information
    not sure why is that? anyone know? please help

    • @SiiKiiN
      @SiiKiiN Před 8 měsíci

      Are you using the serverless?

  • @Konstantin19877
    @Konstantin19877 Před 5 měsíci

    The search output is an exact text from DB or model twicks it the way it wants?
    Do i understand correct, model is just a search mechanism it does not changes found data it gives it to you as is?

    • @ViciOuSKiddo
      @ViciOuSKiddo Před 5 měsíci

      Correct. It's a search mechanism, but it's a "semantic" search engine. The results it returns are exactly what you saved. If you want the models to change it, you have to send it to an LLM to do that and ask it nicely.

  • @miralirafiyev4646
    @miralirafiyev4646 Před 9 měsíci +1

    Is it free to use in VPS server ( out of atlas ) where mongodb installed ?

    • @MongoDB
      @MongoDB  Před 9 měsíci

      This is only available through Atlas currently

  • @JaimeHRozo
    @JaimeHRozo Před 9 měsíci

    It does not work on my Atlas cluster. The trigger log is showing the following error message even when uploading only one record:
    [
    "Processing document with id: 573a1390f29313caabcd4eaf",
    "Failed to receive embedding. Status code: 429"
    ]
    How can it be fixed?

    • @stevehoward2749
      @stevehoward2749 Před 8 měsíci +1

      To me, the 429 looks like you exhausted some free resource, probably with openai.

    • @0xVeeda
      @0xVeeda Před 6 měsíci

      Seems you got rate limited

    • @Masyukun
      @Masyukun Před 3 měsíci

      I recommend re-running the REST call using your favorite client -- cURL, Bruno, Postman, etc. For me, it gave me more information -- I had no credit in my account.

  • @Masyukun
    @Masyukun Před 3 měsíci

    Don't set your Trigger to trigger off updates too, or you'll create an infinite loop! Also... it's responseCode, not response_code.

  • @arturkre5793
    @arturkre5793 Před 5 dny

    9 months pass and nothing works. My serverless cluster does not support triggers and also there is no search tab in my cluster.

    • @MongoDB
      @MongoDB  Před 4 dny

      You are correct. Currently, serverless clusters have some limitations. If you would like to test out all features you can use a free forever M0 cluster which has these features enabled. Here is a list of the current limitations on serverless clusters: www.mongodb.com/docs/atlas/reference/serverless-instance-limitations/#unsupported-actions

  • @rudroroy1054
    @rudroroy1054 Před 3 měsíci

    This is just too much. I feel like I am so far behind.