For the complete documentation index, see llms.txt. This page is also available as Markdown.

Vector

Vector datasets allow you to store your own vectors so that they can be efficiently queried later. The dimension of vectors has to match the dimension specified when creating the dataset.

Create a Dataset

Create a dataset with Vector type which tells AnnDB to skip any pre-processing and embedding, and store the vectors as is. The distance metric and dimension cannot be changed later.

In order to manage data in your dataset, create a corresponding dataset instance using the client.

Python client accepts either a list of floats or a NumPy array as vectors.

Ruby client accepts a list of floats as vectors.

Insert

Update

Delete

Last updated