@zilliz/milvus2-sdk-node
v2.6.10
Published
[](https://badges.aleen42.com/src/typescript.svg) [](https://github.com/zilliztech/attu/releases) [![downloads]
Downloads
675,713
Readme
Milvus2-sdk-node
The official Milvus client for Node.js.
📚 Documentation
For complete documentation, API reference, guides, and examples, please visit our documentation site.
Compatibility
The following table shows the recommended @zilliz/milvus2-sdk-node versions for different Milvus versions:
| Milvus version | Node sdk version | Installation |
| :------------: | :--------------: | :----------------------------------------- |
| v2.6.0+ | latest | yarn add @zilliz/milvus2-sdk-node@latest |
| v2.5.0+ | v2.5.0 | yarn add @zilliz/[email protected] |
| v2.4.0+ | v2.4.9 | yarn add @zilliz/[email protected] |
| v2.3.0+ | v2.3.5 | yarn add @zilliz/[email protected] |
| v2.2.0+ | v2.3.5 | yarn add @zilliz/[email protected] |
Dependencies
- Milvus
- Zilliz Cloud
- Node: v18+
Installation
npm install @zilliz/milvus2-sdk-node
# or
yarn add @zilliz/milvus2-sdk-nodeQuick Start
import { MilvusClient } from '@zilliz/milvus2-sdk-node';
const client = new MilvusClient({
address: 'localhost:19530',
});
await client.connectPromise;For more examples and detailed usage, see the documentation.
Contributing
yarn install- Fetch milvus proto
git submodule init(if this is your first time)git submodule update --remote
- Add feature in milvus folder
- Run test
yarn test -- test/Your-test-for-your-feature.spec.ts
