Crate chromadb_rs

source ·
Expand description

Welcome to the Chromadb-rs Rust Library! This library allows you to interact with the ChromaDB vector database in Rust.

!!! Disclaimer : It’s designed for learning and educational purposes. A more advanced library exists, check out chromadb.

Here’s a quick guide on how to use this library:

  1. Run the Backend: You can run the ChromaDB backend using Docker. For default configuration, use docker pull chromadb/chroma and docker run -p 8000:8000 chromadb/chroma. For auth using token and persistent storage, checkout this link.

  2. Create a Default Client: You can create a default client like this: let client = ChromaClient::new(ChromaClientParams::default());.

  3. Create an Advanced Client: For more advanced usage, you can create a client with custom parameters. Check out the example in the README.

  4. Use Chroma Client Methods: The library provides methods like heartbeat, list collections, create collection, get or create collection, get collection, and delete collection. Check out the examples in the README.

For more detailed examples and usage, please check out the GitHub repository.

We welcome contributions! If you’d like to contribute, please open an issue first to discuss your changes.

This project is licensed under the MIT License.

Happy coding! 😊

Modules§