objectbox / objectbox-swift

Swift database - fast, simple and lightweight (iOS, macOS)
https://swift.objectbox.io
Apache License 2.0
452 stars 30 forks source link

Support vector index (HNSW index) #85

Closed eakarsu closed 2 months ago

eakarsu commented 3 months ago

I am developing on iOS a RAG system with objectbox vector database within swift binding. But documentation is not synced with code. I can not run any example. I will index only text data. Can you point me right direction?

Thanks

greenrobot-team commented 3 months ago

The ObjectBox Swift library currently does not support creating a vector index.

You might want to check out the ObjectBox Dart/Flutter library which supports this. Examples in the docs.

greenrobot-team commented 2 months ago

Vector search (HNSW index) is now supported as of version 4.0.0. See https://docs.objectbox.io/on-device-vector-search for examples.