TheDocumentation Index
Fetch the complete documentation index at: https://docs.chonkie.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.
The host of the Milvus instance. Used if
uri is not provided.The port of the Milvus instance. Used if
uri is not provided.The connection alias to use for this Milvus connection.
Writing Chunks to Milvus
Searching Chunks in Milvus
You can retrieve the most similar chunks from your Milvus collection using thesearch method.
