MilvusHandshake class provides seamless integration between Chonkie’s chunking system and Milvus, a powerful, open-source vector database.
Embed and store your Chonkie chunks in a Milvus collection, with automatic schema and index creation, without ever leaving the Chonkie SDK.
Installation
Before using the Milvus handshake, make sure to install the required dependencies:Basic Usage
Initialization
Parameters
The name of the Milvus collection to use. If “random”, a unique name is generated.
The embedding model to use for creating vectors.
The full URI to connect to Milvus. This is the preferred method for specifying connection details.
Writing Chunks to Milvus
Searching Chunks in Milvus
You can retrieve the most similar chunks from your Milvus collection using thesearch method.
