



Official SDK and client libraries for Milvus vector database supporting Python, Java, Go, Node.js, and other languages. Provides simple and intuitive APIs for vector operations, search, and data management across platforms.
Loading more......
Milvus provides official client libraries in multiple programming languages, enabling developers to interact with Milvus vector database using simple and intuitive APIs. The SDKs support all Milvus features including vector search, data management, and collection operations.
pip install pymilvus
from pymilvus import connections, Collection
# Connect
connections.connect("default", host="localhost", port="19530")
# Create collection
collection = Collection("my_collection")
# Insert vectors
collection.insert(data)
# Search
results = collection.search(
data=query_vectors,
anns_field="embedding",
param={"metric_type": "L2", "params": {"nprobe": 10}},
limit=10
)
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>2.x.x</version>
</dependency>
go get github.com/milvus-io/milvus-sdk-go/v2
npm install @zilliz/milvus2-sdk-node
All SDKs support:
SDK versions should match Milvus server major version:
Free and open-source under Apache 2.0 license.