Aerospike(
self,
client: Client,
embedding: Union[Embeddings, Callable],
| Name | Type | Description |
|---|---|---|
client* | Client | Aerospike client. |
embedding* | Union[Embeddings, Callable] | Embeddings object or Callable (deprecated) to embed text. |
namespace* | str | Namespace to use for storing vectors. This should match |
index_name | Optional[str] | Default: None |
vector_key | str | Default: '_vector' |
text_key | str | Default: '_text' |
id_key | str | Default: '_id' |
set_name | Optional[str] | Default: None |
distance_strategy | Optional[Union[DistanceStrategy, VectorDistanceMetric]] | Default: DistanceStrategy.EUCLIDEAN_DISTANCE |
Aerospike vector store.
To use, you should have the aerospike_vector_search python package installed.
Name of the index previously created in Aerospike. This
Key to use for vector in metadata. This should match the key used during index creation.
Key to use for text in metadata.
Key to use for id in metadata.
Default set name to use for storing vectors.
Distance strategy to use for similarity search This should match the distance strategy used during index creation.