Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing with vectors / vector search #1007

Open
joepio opened this issue Oct 30, 2024 · 0 comments
Open

Indexing with vectors / vector search #1007

joepio opened this issue Oct 30, 2024 · 0 comments
Labels
enhancement New feature or request server atomic-server

Comments

@joepio
Copy link
Member

joepio commented Oct 30, 2024

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).

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!

@joepio joepio added enhancement New feature or request server atomic-server labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server atomic-server
Projects
None yet
Development

No branches or pull requests

1 participant