Handshakes
Chroma Handshake
Export Chonkie’s Chunks into a Chroma collection.
The ChromaHandshake
class provides seamless integration between Chonkie’s chunking system and ChromaDB, a popular vector database.
Embed and store your Chonkie chunks in ChromaDB without ever leaving the Chonkie SDK.
Installation
Before using the Chroma handshake, make sure to install the required dependencies:
Basic Usage
Initialization
Writing Chunks to ChromaDB
Parameters
Chroma client instance. If not provided, a new client will be created.
Name of the collection to use. If “random”, a random name will be generated.
Embedding model to use.
If provided, creates a persistent Chroma client at the specified path.