zetacore

Crates.iozetacore
lib.rszetacore
version0.1.0
sourcesrc
created_at2024-08-28 05:43:11.615191
updated_at2024-08-28 05:43:11.615191
descriptionA simple in-memory vector store library with Python bindings.
homepage
repositoryhttps://github.com/zenithvrx/zetacore
max_upload_size
id1354213
size23,153
(zenithvrx)

documentation

README

zetacore

zetacore is a Rust library with Python bindings for efficient vector storage and similarity search.

Features

  • Store and manage vector records with associated metadata
  • Perform cosine similarity search on stored vectors
  • Efficient add, get, and delete operations
  • Python bindings for easy integration with Python projects

Installation

Python

pip install zetacore

Usage

Python

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]}")

Contributing

Contributions are welcome!

License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

Commit count: 0

cargo fmt