Skip to content

Indexing with vectors / vector search #1007

Open
@joepio

Description

@joepio

LLMs have enabled a new type of search: vector search. Instead of finding a word or string, vector search turns entries and queries into vectors (arrays of numbers).

It would also be very useful for Atomic Assistant.

UseCases

Approaches

Using sled / KV store

I don't think it's possible to do meaningful nearest-neighbor search using sled's KV / BTreeMap data structure. Searching in a KV store is done with range queries over lexicographically sorted keys, and I can't see how we can turn a high-dimensional vector in a meaningful key, where close neighbors are also lexicographically close.

Using an external vector DB

The whole point of AtomicServer is that you don't need anything else. I don't want external dependencies, I want it to be a small single binary that you can just run and it gives you all you need.

OasysDB

An embeddable vector database in rust. That's the spirit!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestserveratomic-server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions