Skip to content

using vector search with mongoengine #2785

Open
@alexisdal

Description

@alexisdal

hello

I have been using mongoengine on my latest project and I'm happy with it.

somehow, I would like to push vectors (embeddings) into my mongodb collection and perform vector searches. It's apparently a fresh development of mongodb. source => https://www.mongodb.com/products/platform/atlas-vector-search

I made a simple lookup in the documentation and issues of mongoengine but did not find any matches.

what I want to achieve

  1. push vectors in a collection
  2. perform similarity search between a vector and the entire collection, retrieve the K-th closest matches (typically using cosine distance)
  3. using the mongoengine abstraction layer

Any clue about how to do this ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions