@zilliz/milvus2-sdk-node 2.4.8 → 2.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/milvus/const/client.d.ts +2 -1
  2. package/dist/milvus/const/client.js +1 -0
  3. package/dist/milvus/const/client.js.map +1 -1
  4. package/dist/milvus/const/limits.d.ts +1 -0
  5. package/dist/milvus/const/limits.js +2 -1
  6. package/dist/milvus/const/limits.js.map +1 -1
  7. package/dist/milvus/const/milvus.d.ts +4 -0
  8. package/dist/milvus/const/milvus.js +6 -1
  9. package/dist/milvus/const/milvus.js.map +1 -1
  10. package/dist/milvus/grpc/BaseClient.js +12 -4
  11. package/dist/milvus/grpc/BaseClient.js.map +1 -1
  12. package/dist/milvus/grpc/Collection.d.ts +77 -2
  13. package/dist/milvus/grpc/Collection.js +106 -1
  14. package/dist/milvus/grpc/Collection.js.map +1 -1
  15. package/dist/milvus/grpc/Data.js +28 -7
  16. package/dist/milvus/grpc/Data.js.map +1 -1
  17. package/dist/milvus/grpc/Database.d.ts +24 -1
  18. package/dist/milvus/grpc/Database.js +35 -1
  19. package/dist/milvus/grpc/Database.js.map +1 -1
  20. package/dist/milvus/grpc/MilvusIndex.d.ts +29 -2
  21. package/dist/milvus/grpc/MilvusIndex.js +44 -1
  22. package/dist/milvus/grpc/MilvusIndex.js.map +1 -1
  23. package/dist/milvus/grpc/Partition.js +10 -0
  24. package/dist/milvus/grpc/Partition.js.map +1 -1
  25. package/dist/milvus/grpc/User.d.ts +165 -1
  26. package/dist/milvus/grpc/User.js +229 -0
  27. package/dist/milvus/grpc/User.js.map +1 -1
  28. package/dist/milvus/types/Client.d.ts +1 -0
  29. package/dist/milvus/types/Collection.d.ts +30 -19
  30. package/dist/milvus/types/Common.d.ts +5 -5
  31. package/dist/milvus/types/Data.d.ts +23 -6
  32. package/dist/milvus/types/Database.d.ts +6 -0
  33. package/dist/milvus/types/MilvusIndex.d.ts +4 -0
  34. package/dist/milvus/types/Partition.d.ts +4 -0
  35. package/dist/milvus/types/User.d.ts +56 -1
  36. package/dist/milvus/utils/Format.d.ts +56 -31
  37. package/dist/milvus/utils/Format.js +153 -51
  38. package/dist/milvus/utils/Format.js.map +1 -1
  39. package/dist/proto/proto/common.proto +30 -0
  40. package/dist/proto/proto/google/protobuf/descriptor.proto +46 -5
  41. package/dist/proto/proto/milvus.proto +131 -6
  42. package/dist/proto/proto/msg.proto +7 -0
  43. package/dist/proto/proto/rg.proto +7 -0
  44. package/dist/proto/proto/schema.proto +27 -0
  45. package/dist/sdk.json +1 -1
  46. package/package.json +3 -3
@@ -55,6 +55,13 @@ option optimize_for = SPEED;
55
55
  // files it parses.
56
56
  message FileDescriptorSet {
57
57
  repeated FileDescriptorProto file = 1;
58
+
59
+ // Extensions for tooling.
60
+ extensions 536000000 [declaration = {
61
+ number: 536000000
62
+ type: ".buf.descriptor.v1.FileDescriptorSetExtension"
63
+ full_name: ".buf.descriptor.v1.buf_file_descriptor_set_extension"
64
+ }];
58
65
  }
59
66
 
60
67
  // The full set of known editions.
@@ -80,7 +87,7 @@ enum Edition {
80
87
  EDITION_2024 = 1001;
81
88
 
82
89
  // Placeholder editions for testing feature resolution. These should not be
83
- // used or relyed on outside of tests.
90
+ // used or relied on outside of tests.
84
91
  EDITION_1_TEST_ONLY = 1;
85
92
  EDITION_2_TEST_ONLY = 2;
86
93
  EDITION_99997_TEST_ONLY = 99997;
@@ -124,9 +131,15 @@ message FileDescriptorProto {
124
131
  // The supported values are "proto2", "proto3", and "editions".
125
132
  //
126
133
  // If `edition` is present, this value must be "editions".
134
+ // WARNING: This field should only be used by protobuf plugins or special
135
+ // cases like the proto compiler. Other uses are discouraged and
136
+ // developers should rely on the protoreflect APIs for their client language.
127
137
  optional string syntax = 12;
128
138
 
129
139
  // The edition of the proto file.
140
+ // WARNING: This field should only be used by protobuf plugins or special
141
+ // cases like the proto compiler. Other uses are discouraged and
142
+ // developers should rely on the protoreflect APIs for their client language.
130
143
  optional Edition edition = 14;
131
144
  }
132
145
 
@@ -539,6 +552,9 @@ message FileOptions {
539
552
  optional string ruby_package = 45;
540
553
 
541
554
  // Any features defined in the specific edition.
555
+ // WARNING: This field should only be used by protobuf plugins or special
556
+ // cases like the proto compiler. Other uses are discouraged and
557
+ // developers should rely on the protoreflect APIs for their client language.
542
558
  optional FeatureSet features = 50;
543
559
 
544
560
  // The parser stores options it doesn't recognize here.
@@ -625,6 +641,9 @@ message MessageOptions {
625
641
  optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
626
642
 
627
643
  // Any features defined in the specific edition.
644
+ // WARNING: This field should only be used by protobuf plugins or special
645
+ // cases like the proto compiler. Other uses are discouraged and
646
+ // developers should rely on the protoreflect APIs for their client language.
628
647
  optional FeatureSet features = 12;
629
648
 
630
649
  // The parser stores options it doesn't recognize here. See above.
@@ -732,8 +751,6 @@ message FieldOptions {
732
751
  optional bool debug_redact = 16 [default = false];
733
752
 
734
753
  // If set to RETENTION_SOURCE, the option will be omitted from the binary.
735
- // Note: as of January 2023, support for this is in progress and does not yet
736
- // have an effect (b/264593489).
737
754
  enum OptionRetention {
738
755
  RETENTION_UNKNOWN = 0;
739
756
  RETENTION_RUNTIME = 1;
@@ -744,8 +761,7 @@ message FieldOptions {
744
761
 
745
762
  // This indicates the types of entities that the field may apply to when used
746
763
  // as an option. If it is unset, then the field may be freely used as an
747
- // option on any kind of entity. Note: as of January 2023, support for this is
748
- // in progress and does not yet have an effect (b/264593489).
764
+ // option on any kind of entity.
749
765
  enum OptionTargetType {
750
766
  TARGET_TYPE_UNKNOWN = 0;
751
767
  TARGET_TYPE_FILE = 1;
@@ -768,6 +784,9 @@ message FieldOptions {
768
784
  repeated EditionDefault edition_defaults = 20;
769
785
 
770
786
  // Any features defined in the specific edition.
787
+ // WARNING: This field should only be used by protobuf plugins or special
788
+ // cases like the proto compiler. Other uses are discouraged and
789
+ // developers should rely on the protoreflect APIs for their client language.
771
790
  optional FeatureSet features = 21;
772
791
 
773
792
  // Information about the support window of a feature.
@@ -804,6 +823,9 @@ message FieldOptions {
804
823
 
805
824
  message OneofOptions {
806
825
  // Any features defined in the specific edition.
826
+ // WARNING: This field should only be used by protobuf plugins or special
827
+ // cases like the proto compiler. Other uses are discouraged and
828
+ // developers should rely on the protoreflect APIs for their client language.
807
829
  optional FeatureSet features = 1;
808
830
 
809
831
  // The parser stores options it doesn't recognize here. See above.
@@ -836,6 +858,9 @@ message EnumOptions {
836
858
  optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
837
859
 
838
860
  // Any features defined in the specific edition.
861
+ // WARNING: This field should only be used by protobuf plugins or special
862
+ // cases like the proto compiler. Other uses are discouraged and
863
+ // developers should rely on the protoreflect APIs for their client language.
839
864
  optional FeatureSet features = 7;
840
865
 
841
866
  // The parser stores options it doesn't recognize here. See above.
@@ -853,6 +878,9 @@ message EnumValueOptions {
853
878
  optional bool deprecated = 1 [default = false];
854
879
 
855
880
  // Any features defined in the specific edition.
881
+ // WARNING: This field should only be used by protobuf plugins or special
882
+ // cases like the proto compiler. Other uses are discouraged and
883
+ // developers should rely on the protoreflect APIs for their client language.
856
884
  optional FeatureSet features = 2;
857
885
 
858
886
  // Indicate that fields annotated with this enum value should not be printed
@@ -873,6 +901,9 @@ message EnumValueOptions {
873
901
  message ServiceOptions {
874
902
 
875
903
  // Any features defined in the specific edition.
904
+ // WARNING: This field should only be used by protobuf plugins or special
905
+ // cases like the proto compiler. Other uses are discouraged and
906
+ // developers should rely on the protoreflect APIs for their client language.
876
907
  optional FeatureSet features = 34;
877
908
 
878
909
  // Note: Field numbers 1 through 32 are reserved for Google's internal RPC
@@ -918,6 +949,9 @@ message MethodOptions {
918
949
  [default = IDEMPOTENCY_UNKNOWN];
919
950
 
920
951
  // Any features defined in the specific edition.
952
+ // WARNING: This field should only be used by protobuf plugins or special
953
+ // cases like the proto compiler. Other uses are discouraged and
954
+ // developers should rely on the protoreflect APIs for their client language.
921
955
  optional FeatureSet features = 35;
922
956
 
923
957
  // The parser stores options it doesn't recognize here. See above.
@@ -1255,6 +1289,13 @@ message SourceCodeInfo {
1255
1289
  optional string trailing_comments = 4;
1256
1290
  repeated string leading_detached_comments = 6;
1257
1291
  }
1292
+
1293
+ // Extensions for tooling.
1294
+ extensions 536000000 [declaration = {
1295
+ number: 536000000
1296
+ type: ".buf.descriptor.v1.SourceCodeInfoExtension"
1297
+ full_name: ".buf.descriptor.v1.buf_source_code_info_extension"
1298
+ }];
1258
1299
  }
1259
1300
 
1260
1301
  // Describes the relationship between generated code and its original source
@@ -27,7 +27,7 @@ service MilvusService {
27
27
  rpc GetCollectionStatistics(GetCollectionStatisticsRequest) returns (GetCollectionStatisticsResponse) {}
28
28
  rpc ShowCollections(ShowCollectionsRequest) returns (ShowCollectionsResponse) {}
29
29
  rpc AlterCollection(AlterCollectionRequest) returns (common.Status) {}
30
-
30
+ rpc AlterCollectionField(AlterCollectionFieldRequest) returns (common.Status) {}
31
31
  rpc CreatePartition(CreatePartitionRequest) returns (common.Status) {}
32
32
  rpc DropPartition(DropPartitionRequest) returns (common.Status) {}
33
33
  rpc HasPartition(HasPartitionRequest) returns (BoolResponse) {}
@@ -107,6 +107,7 @@ service MilvusService {
107
107
  rpc SelectRole(SelectRoleRequest) returns (SelectRoleResponse) {}
108
108
  rpc SelectUser(SelectUserRequest) returns (SelectUserResponse) {}
109
109
  rpc OperatePrivilege(OperatePrivilegeRequest) returns (common.Status) {}
110
+ rpc OperatePrivilegeV2(OperatePrivilegeV2Request) returns (common.Status) {}
110
111
  rpc SelectGrant(SelectGrantRequest) returns (SelectGrantResponse) {}
111
112
 
112
113
  rpc GetVersion(GetVersionRequest) returns (GetVersionResponse) {}
@@ -139,6 +140,11 @@ service MilvusService {
139
140
 
140
141
  rpc BackupRBAC(BackupRBACMetaRequest) returns (BackupRBACMetaResponse){}
141
142
  rpc RestoreRBAC(RestoreRBACMetaRequest) returns (common.Status){}
143
+
144
+ rpc CreatePrivilegeGroup(CreatePrivilegeGroupRequest) returns (common.Status) {}
145
+ rpc DropPrivilegeGroup(DropPrivilegeGroupRequest) returns (common.Status) {}
146
+ rpc ListPrivilegeGroups(ListPrivilegeGroupsRequest) returns (ListPrivilegeGroupsResponse) {}
147
+ rpc OperatePrivilegeGroup(OperatePrivilegeGroupRequest) returns (common.Status) {}
142
148
  }
143
149
 
144
150
  message CreateAliasRequest {
@@ -282,6 +288,22 @@ message AlterCollectionRequest {
282
288
  string collection_name = 3;
283
289
  int64 collectionID = 4;
284
290
  repeated common.KeyValuePair properties = 5;
291
+ repeated string delete_keys = 6;
292
+ }
293
+
294
+ message AlterCollectionFieldRequest {
295
+ option (common.privilege_ext_obj) = {
296
+ object_type: Global
297
+ object_privilege: PrivilegeCreateCollection
298
+ object_name_index: -1
299
+ };
300
+ // Not useful for now
301
+ common.MsgBase base = 1;
302
+ string db_name = 2;
303
+ // The unique collection name in milvus.(Required)
304
+ string collection_name = 3;
305
+ string field_name =4;
306
+ repeated common.KeyValuePair properties = 5;
285
307
  }
286
308
 
287
309
  /**
@@ -736,6 +758,7 @@ message AlterIndexRequest {
736
758
  string collection_name = 3;
737
759
  string index_name = 4;
738
760
  repeated common.KeyValuePair extra_params = 5;
761
+ repeated string delete_keys = 6;
739
762
  }
740
763
 
741
764
  /*
@@ -905,6 +928,7 @@ message DeleteRequest {
905
928
  string expr = 5;
906
929
  repeated uint32 hash_keys = 6;
907
930
  common.ConsistencyLevel consistency_level = 7;
931
+ map<string, schema.TemplateValue> expr_template_values = 8;
908
932
  }
909
933
 
910
934
 
@@ -914,10 +938,10 @@ message SubSearchRequest {
914
938
  bytes placeholder_group = 2; // must
915
939
  common.DslType dsl_type = 3; // must
916
940
  repeated common.KeyValuePair search_params = 4; // must
917
- int64 nq = 5;
941
+ int64 nq = 5;
942
+ map<string, schema.TemplateValue> expr_template_values = 6;
918
943
  }
919
944
 
920
-
921
945
  message SearchRequest {
922
946
  option (common.privilege_ext_obj) = {
923
947
  object_type: Collection
@@ -942,6 +966,7 @@ message SearchRequest {
942
966
  bool use_default_consistency = 15;
943
967
  bool search_by_primary_keys = 16;
944
968
  repeated SubSearchRequest sub_reqs = 17;
969
+ map<string, schema.TemplateValue> expr_template_values = 18;
945
970
  }
946
971
 
947
972
  message Hits {
@@ -1015,6 +1040,7 @@ message QueryRequest {
1015
1040
  bool not_return_all_meta = 10;
1016
1041
  common.ConsistencyLevel consistency_level = 11;
1017
1042
  bool use_default_consistency = 12;
1043
+ map<string, schema.TemplateValue> expr_template_values = 13;
1018
1044
  }
1019
1045
 
1020
1046
  message QueryResults {
@@ -1179,11 +1205,13 @@ message ManualCompactionRequest {
1179
1205
  option (common.privilege_ext_obj) = {
1180
1206
  object_type: Collection
1181
1207
  object_privilege: PrivilegeCompaction
1182
- object_name_index: 1
1208
+ object_name_index: 4
1183
1209
  };
1184
1210
  int64 collectionID = 1;
1185
1211
  uint64 timetravel = 2;
1186
1212
  bool majorCompaction = 3;
1213
+ string collection_name = 4;
1214
+ string db_name = 5;
1187
1215
  }
1188
1216
 
1189
1217
  message ManualCompactionResponse {
@@ -1437,6 +1465,66 @@ message DropRoleRequest {
1437
1465
  bool force_drop = 3;
1438
1466
  }
1439
1467
 
1468
+ message CreatePrivilegeGroupRequest {
1469
+ option (common.privilege_ext_obj) = {
1470
+ object_type: Global
1471
+ object_privilege: PrivilegeCreatePrivilegeGroup
1472
+ object_name_index: -1
1473
+ };
1474
+ // Not useful for now
1475
+ common.MsgBase base = 1;
1476
+ // group name
1477
+ string group_name = 2;
1478
+ }
1479
+
1480
+ message DropPrivilegeGroupRequest {
1481
+ option (common.privilege_ext_obj) = {
1482
+ object_type: Global
1483
+ object_privilege: PrivilegeDropPrivilegeGroup
1484
+ object_name_index: -1
1485
+ };
1486
+ // Not useful for now
1487
+ common.MsgBase base = 1;
1488
+ // group name
1489
+ string group_name = 2;
1490
+ }
1491
+
1492
+ message ListPrivilegeGroupsRequest {
1493
+ option (common.privilege_ext_obj) = {
1494
+ object_type: Global
1495
+ object_privilege: PrivilegeListPrivilegeGroups
1496
+ object_name_index: -1
1497
+ };
1498
+ // Not useful for now
1499
+ common.MsgBase base = 1;
1500
+ }
1501
+
1502
+ message ListPrivilegeGroupsResponse {
1503
+ common.Status status = 1;
1504
+ repeated PrivilegeGroupInfo privilege_groups = 2;
1505
+ }
1506
+
1507
+ message OperatePrivilegeGroupRequest {
1508
+ option (common.privilege_ext_obj) = {
1509
+ object_type: Global
1510
+ object_privilege: PrivilegeOperatePrivilegeGroup
1511
+ object_name_index: -1
1512
+ };
1513
+ // Not useful for now
1514
+ common.MsgBase base = 1;
1515
+ // group name
1516
+ string group_name = 2;
1517
+ // privileges
1518
+ repeated PrivilegeEntity privileges = 3;
1519
+ // operation type
1520
+ OperatePrivilegeGroupType type = 4;
1521
+ }
1522
+
1523
+ enum OperatePrivilegeGroupType {
1524
+ AddPrivilegesToGroup = 0;
1525
+ RemovePrivilegesFromGroup = 1;
1526
+ }
1527
+
1440
1528
  enum OperateUserRoleType {
1441
1529
  AddUserToRole = 0;
1442
1530
  RemoveUserFromRole = 1;
@@ -1458,6 +1546,11 @@ message OperateUserRoleRequest {
1458
1546
  OperateUserRoleType type = 4;
1459
1547
  }
1460
1548
 
1549
+ message PrivilegeGroupInfo {
1550
+ string group_name = 1;
1551
+ repeated PrivilegeEntity privileges = 2;
1552
+ }
1553
+
1461
1554
  message SelectRoleRequest {
1462
1555
  option (common.privilege_ext_obj) = {
1463
1556
  object_type: Global
@@ -1540,6 +1633,12 @@ message GrantEntity {
1540
1633
  string db_name = 5;
1541
1634
  }
1542
1635
 
1636
+ enum PrivilegeLevel {
1637
+ Cluster = 0;
1638
+ Database = 1;
1639
+ Collection = 2;
1640
+ }
1641
+
1543
1642
  message SelectGrantRequest {
1544
1643
  option (common.privilege_ext_obj) = {
1545
1644
  object_type: Global
@@ -1576,6 +1675,29 @@ message OperatePrivilegeRequest {
1576
1675
  GrantEntity entity = 2;
1577
1676
  // operation type
1578
1677
  OperatePrivilegeType type = 3;
1678
+ // version
1679
+ string version = 4;
1680
+ }
1681
+
1682
+
1683
+ message OperatePrivilegeV2Request {
1684
+ option (common.privilege_ext_obj) = {
1685
+ object_type: Global
1686
+ object_privilege: PrivilegeManageOwnership
1687
+ object_name_index: -1
1688
+ };
1689
+ // Not useful for now
1690
+ common.MsgBase base = 1;
1691
+ // role
1692
+ RoleEntity role = 2;
1693
+ // privilege
1694
+ GrantorEntity grantor = 3;
1695
+ // operation type
1696
+ OperatePrivilegeType type = 4;
1697
+ // db name
1698
+ string db_name = 5;
1699
+ // collection name
1700
+ string collection_name = 6;
1579
1701
  }
1580
1702
 
1581
1703
  message UserInfo {
@@ -1591,6 +1713,8 @@ message RBACMeta {
1591
1713
  repeated milvus.RoleEntity roles = 2;
1592
1714
  // (role, object, previledge)
1593
1715
  repeated milvus.GrantEntity grants = 3;
1716
+ // privilege group info
1717
+ repeated milvus.PrivilegeGroupInfo privilege_groups = 4;
1594
1718
  }
1595
1719
 
1596
1720
  message BackupRBACMetaRequest {
@@ -1892,6 +2016,7 @@ message AlterDatabaseRequest {
1892
2016
  string db_name = 2;
1893
2017
  string db_id = 3;
1894
2018
  repeated common.KeyValuePair properties = 4;
2019
+ repeated string delete_keys = 5;
1895
2020
  }
1896
2021
 
1897
2022
  message DescribeDatabaseRequest {
@@ -1931,7 +2056,7 @@ message ImportAuthPlaceholder {
1931
2056
  option (common.privilege_ext_obj) = {
1932
2057
  object_type: Collection
1933
2058
  object_privilege: PrivilegeImport
1934
- object_name_index: 1
2059
+ object_name_index: 2
1935
2060
  };
1936
2061
  string db_name = 1;
1937
2062
  string collection_name = 2;
@@ -1942,7 +2067,7 @@ message GetImportProgressAuthPlaceholder {
1942
2067
  option (common.privilege_ext_obj) = {
1943
2068
  object_type: Collection
1944
2069
  object_privilege: PrivilegeImport
1945
- object_name_index: 1
2070
+ object_name_index: -1
1946
2071
  };
1947
2072
  string db_name = 1;
1948
2073
  }
@@ -106,3 +106,10 @@ message DataNodeTtMsg {
106
106
  repeated common.SegmentStats segments_stats = 4;
107
107
  }
108
108
 
109
+ message ReplicateMsg {
110
+ common.MsgBase base = 1;
111
+ bool is_end = 2;
112
+ bool is_cluster = 3;
113
+ string database = 4;
114
+ string collection = 5;
115
+ }
@@ -10,6 +10,8 @@ option java_generate_equals_and_hash = true;
10
10
 
11
11
  option csharp_namespace = "Milvus.Client.Grpc";
12
12
 
13
+ import "common.proto";
14
+
13
15
  message ResourceGroupLimit {
14
16
  int32 node_num = 1;
15
17
  // preserve for other limit.
@@ -19,10 +21,15 @@ message ResourceGroupTransfer {
19
21
  string resource_group = 1; // resource groups can be transfered with current resource group.
20
22
  // preserve for other option, such as weight, priority or affinity setup.
21
23
  }
24
+
25
+ message ResourceGroupNodeFilter {
26
+ repeated common.KeyValuePair node_labels = 1; // node in resource group must match node labels requirements
27
+ }
22
28
 
23
29
  message ResourceGroupConfig {
24
30
  ResourceGroupLimit requests = 1; // requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
25
31
  ResourceGroupLimit limits = 2; // limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
26
32
  repeated ResourceGroupTransfer transfer_from = 3; // missing node should be transfer from given resource group at high priority in repeated list.
27
33
  repeated ResourceGroupTransfer transfer_to = 4; // redundant node should be transfer to given resource group at high priority in repeated list.
34
+ ResourceGroupNodeFilter node_filter = 5; // node in resource group must match node filters
28
35
  }
@@ -77,6 +77,7 @@ message CollectionSchema {
77
77
  repeated FieldSchema fields = 4;
78
78
  bool enable_dynamic_field = 5; // mark whether this table has the dynamic field function enabled.
79
79
  repeated common.KeyValuePair properties = 6;
80
+ string dbName = 8;
80
81
  }
81
82
 
82
83
  message BoolArray { repeated bool data = 1; }
@@ -175,6 +176,7 @@ message SearchResultData {
175
176
  FieldData group_by_field_value = 8;
176
177
  int64 all_search_count = 9;
177
178
  repeated float distances = 10;
179
+ repeated float recalls = 12;
178
180
  }
179
181
 
180
182
  // vector field clustering info
@@ -195,3 +197,28 @@ message ClusteringInfo {
195
197
  repeated VectorClusteringInfo vector_clustering_infos = 1;
196
198
  repeated ScalarClusteringInfo scalar_clustering_infos = 2;
197
199
  }
200
+
201
+ message TemplateValue {
202
+ oneof val {
203
+ bool bool_val = 1;
204
+ int64 int64_val = 2;
205
+ double float_val = 3;
206
+ string string_val = 4;
207
+ TemplateArrayValue array_val = 5;
208
+ };
209
+ }
210
+
211
+ message TemplateArrayValue {
212
+ oneof data {
213
+ BoolArray bool_data = 1;
214
+ LongArray long_data = 2;
215
+ DoubleArray double_data = 3;
216
+ StringArray string_data = 4;
217
+ TemplateArrayValueArray array_data = 5;
218
+ JSONArray json_data = 6;
219
+ }
220
+ }
221
+
222
+ message TemplateArrayValueArray {
223
+ repeated TemplateArrayValue data = 1;
224
+ }
package/dist/sdk.json CHANGED
@@ -1 +1 @@
1
- {"version":"2.4.8","milvusVersion":"v2.4.10"}
1
+ {"version":"2.4.10","milvusVersion":"v2.4.19"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@zilliz/milvus2-sdk-node",
3
3
  "author": "ued@zilliz.com",
4
- "version": "2.4.8",
5
- "milvusVersion": "v2.4.10",
4
+ "version": "2.4.10",
5
+ "milvusVersion": "v2.4.19",
6
6
  "main": "dist/milvus",
7
7
  "files": [
8
8
  "dist"
@@ -20,7 +20,7 @@
20
20
  "doc-json": "npx typedoc milvus --json"
21
21
  },
22
22
  "dependencies": {
23
- "@grpc/grpc-js": "^1.8.22",
23
+ "@grpc/grpc-js": "^1.12.1",
24
24
  "@grpc/proto-loader": "^0.7.10",
25
25
  "@petamoriken/float16": "^3.8.6",
26
26
  "dayjs": "^1.11.7",