@ondewo/nlu-client-typescript 6.9.0 → 6.10.0

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.
@@ -141,6 +141,7 @@ export namespace OperationMetadata {
141
141
  RUN_RAG_CRAWLER = 10,
142
142
  ADD_RAG_CRAWLER_RESULT_TO_DATASET = 11,
143
143
  REMOVE_RAG_CRAWLER_RESULT_FROM_DATASET = 12,
144
+ CHANGE_DATASET_EMBEDDING_MODEL = 13,
144
145
  }
145
146
  }
146
147
 
@@ -456,7 +456,8 @@ proto.ondewo.nlu.OperationMetadata.OperationType = {
456
456
  INDEX_AGENT: 9,
457
457
  RUN_RAG_CRAWLER: 10,
458
458
  ADD_RAG_CRAWLER_RESULT_TO_DATASET: 11,
459
- REMOVE_RAG_CRAWLER_RESULT_FROM_DATASET: 12
459
+ REMOVE_RAG_CRAWLER_RESULT_FROM_DATASET: 12,
460
+ CHANGE_DATASET_EMBEDDING_MODEL: 13
460
461
  };
461
462
 
462
463
  /**
@@ -382,6 +382,9 @@ export class RagDataset extends jspb.Message {
382
382
  hasUpdateTime(): boolean;
383
383
  clearUpdateTime(): RagDataset;
384
384
 
385
+ getEmbeddingModelCcaiServiceName(): string;
386
+ setEmbeddingModelCcaiServiceName(value: string): RagDataset;
387
+
385
388
  serializeBinary(): Uint8Array;
386
389
  toObject(includeInstance?: boolean): RagDataset.AsObject;
387
390
  static toObject(includeInstance: boolean, msg: RagDataset): RagDataset.AsObject;
@@ -405,6 +408,7 @@ export namespace RagDataset {
405
408
  parsingStatus?: RagDatasetParsingStatus.AsObject,
406
409
  createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
407
410
  updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
411
+ embeddingModelCcaiServiceName: string,
408
412
  }
409
413
 
410
414
  export enum DocumentCountCase {
@@ -3670,7 +3670,8 @@ parserConfig: (f = msg.getParserConfig()) && proto.ondewo.nlu.RagParserConfig.to
3670
3670
  pagerank: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f,
3671
3671
  parsingStatus: (f = msg.getParsingStatus()) && proto.ondewo.nlu.RagDatasetParsingStatus.toObject(includeInstance, f),
3672
3672
  createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3673
- updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
3673
+ updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3674
+ embeddingModelCcaiServiceName: jspb.Message.getFieldWithDefault(msg, 14, "")
3674
3675
  };
3675
3676
 
3676
3677
  if (includeInstance) {
@@ -3763,6 +3764,10 @@ proto.ondewo.nlu.RagDataset.deserializeBinaryFromReader = function(msg, reader)
3763
3764
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3764
3765
  msg.setUpdateTime(value);
3765
3766
  break;
3767
+ case 14:
3768
+ var value = /** @type {string} */ (reader.readString());
3769
+ msg.setEmbeddingModelCcaiServiceName(value);
3770
+ break;
3766
3771
  default:
3767
3772
  reader.skipField();
3768
3773
  break;
@@ -3887,6 +3892,13 @@ proto.ondewo.nlu.RagDataset.serializeBinaryToWriter = function(message, writer)
3887
3892
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3888
3893
  );
3889
3894
  }
3895
+ f = message.getEmbeddingModelCcaiServiceName();
3896
+ if (f.length > 0) {
3897
+ writer.writeString(
3898
+ 14,
3899
+ f
3900
+ );
3901
+ }
3890
3902
  };
3891
3903
 
3892
3904
 
@@ -4272,6 +4284,24 @@ proto.ondewo.nlu.RagDataset.prototype.hasUpdateTime = function() {
4272
4284
  };
4273
4285
 
4274
4286
 
4287
+ /**
4288
+ * optional string embedding_model_ccai_service_name = 14;
4289
+ * @return {string}
4290
+ */
4291
+ proto.ondewo.nlu.RagDataset.prototype.getEmbeddingModelCcaiServiceName = function() {
4292
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
4293
+ };
4294
+
4295
+
4296
+ /**
4297
+ * @param {string} value
4298
+ * @return {!proto.ondewo.nlu.RagDataset} returns this
4299
+ */
4300
+ proto.ondewo.nlu.RagDataset.prototype.setEmbeddingModelCcaiServiceName = function(value) {
4301
+ return jspb.Message.setProto3StringField(this, 14, value);
4302
+ };
4303
+
4304
+
4275
4305
 
4276
4306
 
4277
4307
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ondewo/nlu-client-typescript",
3
- "version": "6.9.0",
3
+ "version": "6.10.0",
4
4
  "description": "ONDEWO Natural Language Understanding (NLU) Client library for Typescript",
5
5
  "author": "ONDEWO GmbH <office@ondewo.com>",
6
6
  "homepage": "https://ondewo.com",