Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <[email protected]>
  • Loading branch information
shanghaikid committed Apr 18, 2024
1 parent 272681a commit d6f7088
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,22 @@ const search = await milvusClient.search({
});
```

### New Typescript client

Starting from v2.4.0, we introduced a TypeScript client to provide better support for the [Milvus RESTful API V2](https://milvus.io/api-reference/restful/v2.3.x/About.md), take a look at our [test file](https://github.com/milvus-io/milvus-sdk-node/blob/main/test/http/test.ts).

```javascript
import { HttpClient } from '@zilliz/milvus2-sdk-node';
const client = new HttpClient(config);
await client.createCollection(params);
await client.describeCollection(params);
await client.listCollections(params);
await client.insert(params);
await client.upsert(params);
await client.query(params);
await client.search(params);
```

## Code Examples

This table organizes the examples by technology, providing a brief description and the directory where each example can be found.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@zilliz/milvus2-sdk-node",
"author": "[email protected]",
"version": "2.3.6",
"milvusVersion": "2.4-20240416-82cf91fd",
"version": "2.4.0",
"milvusVersion": "v2.4.0",
"main": "dist/milvus",
"files": [
"dist"
Expand Down

0 comments on commit d6f7088

Please sign in to comment.