Crates.io | zetacore |
lib.rs | zetacore |
version | 0.1.0 |
source | src |
created_at | 2024-08-28 05:43:11.615191 |
updated_at | 2024-08-28 05:43:11.615191 |
description | A simple in-memory vector store library with Python bindings. |
homepage | |
repository | https://github.com/zenithvrx/zetacore |
max_upload_size | |
id | 1354213 |
size | 23,153 |
zetacore is a Rust library with Python bindings for efficient vector storage and similarity search.
pip install zetacore
import zetacore
store = zetacore.VectorStore([])
store.add([
{ "id": "vector_1", "values": [1.0, 2.0] },
{ "id": "vector_2", "values": [5.3, 3.9] },
])
result = store.query([1.5, 2.5], 1)
print(f"Nearest vector: {result[0]}")
Contributions are welcome!
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.