@ondewo/nlu-client-typescript 6.0.0 → 6.1.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.
@@ -882,7 +882,7 @@ proto.ondewo.nlu.ListLlmModelsRequest.prototype.toObject = function(opt_includeI
882
882
  */
883
883
  proto.ondewo.nlu.ListLlmModelsRequest.toObject = function(includeInstance, msg) {
884
884
  var f, obj = {
885
- ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 1, "")
885
+ ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 1, "")
886
886
  };
887
887
 
888
888
  if (includeInstance) {
@@ -1019,7 +1019,7 @@ proto.ondewo.nlu.ListLlmModelsResponse.prototype.toObject = function(opt_include
1019
1019
  */
1020
1020
  proto.ondewo.nlu.ListLlmModelsResponse.toObject = function(includeInstance, msg) {
1021
1021
  var f, obj = {
1022
- llmModelsList: jspb.Message.toObjectList(msg.getLlmModelsList(),
1022
+ llmModelsList: jspb.Message.toObjectList(msg.getLlmModelsList(),
1023
1023
  proto.ondewo.nlu.LlmModel.toObject, includeInstance)
1024
1024
  };
1025
1025
 
@@ -1172,11 +1172,11 @@ proto.ondewo.nlu.LlmModel.prototype.toObject = function(opt_includeInstance) {
1172
1172
  */
1173
1173
  proto.ondewo.nlu.LlmModel.toObject = function(includeInstance, msg) {
1174
1174
  var f, obj = {
1175
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1176
- displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1177
- description: jspb.Message.getFieldWithDefault(msg, 3, ""),
1178
- ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 4, ""),
1179
- ccaiServiceProvider: jspb.Message.getFieldWithDefault(msg, 5, 0)
1175
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1176
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1177
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
1178
+ ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 4, ""),
1179
+ ccaiServiceProvider: jspb.Message.getFieldWithDefault(msg, 5, 0)
1180
1180
  };
1181
1181
 
1182
1182
  if (includeInstance) {
@@ -1429,9 +1429,9 @@ proto.ondewo.nlu.LlmGenerateRequest.prototype.toObject = function(opt_includeIns
1429
1429
  */
1430
1430
  proto.ondewo.nlu.LlmGenerateRequest.toObject = function(includeInstance, msg) {
1431
1431
  var f, obj = {
1432
- llmGenerationRequest: (f = msg.getLlmGenerationRequest()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
1433
- ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1434
- fileResourcesList: jspb.Message.toObjectList(msg.getFileResourcesList(),
1432
+ llmGenerationRequest: (f = msg.getLlmGenerationRequest()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
1433
+ ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1434
+ fileResourcesList: jspb.Message.toObjectList(msg.getFileResourcesList(),
1435
1435
  ondewo_nlu_session_pb.FileResource.toObject, includeInstance)
1436
1436
  };
1437
1437
 
@@ -1670,8 +1670,8 @@ proto.ondewo.nlu.LlmGenerateResponse.prototype.toObject = function(opt_includeIn
1670
1670
  */
1671
1671
  proto.ondewo.nlu.LlmGenerateResponse.toObject = function(includeInstance, msg) {
1672
1672
  var f, obj = {
1673
- llmGenerationResponse: (f = msg.getLlmGenerationResponse()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
1674
- fileResourcesList: jspb.Message.toObjectList(msg.getFileResourcesList(),
1673
+ llmGenerationResponse: (f = msg.getLlmGenerationResponse()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
1674
+ fileResourcesList: jspb.Message.toObjectList(msg.getFileResourcesList(),
1675
1675
  ondewo_nlu_session_pb.FileResource.toObject, includeInstance)
1676
1676
  };
1677
1677
 
@@ -1874,7 +1874,7 @@ proto.ondewo.nlu.StreamingLlmGenerateResponse.prototype.toObject = function(opt_
1874
1874
  */
1875
1875
  proto.ondewo.nlu.StreamingLlmGenerateResponse.toObject = function(includeInstance, msg) {
1876
1876
  var f, obj = {
1877
- llmGenerationStreamResponse: (f = msg.getLlmGenerationStreamResponse()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
1877
+ llmGenerationStreamResponse: (f = msg.getLlmGenerationStreamResponse()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
1878
1878
  };
1879
1879
 
1880
1880
  if (includeInstance) {
@@ -2025,10 +2025,10 @@ proto.ondewo.nlu.ExtractEntitiesRequest.prototype.toObject = function(opt_includ
2025
2025
  */
2026
2026
  proto.ondewo.nlu.ExtractEntitiesRequest.toObject = function(includeInstance, msg) {
2027
2027
  var f, obj = {
2028
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
2029
- text: jspb.Message.getFieldWithDefault(msg, 2, ""),
2030
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
2031
- intentName: jspb.Message.getFieldWithDefault(msg, 4, "")
2028
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
2029
+ text: jspb.Message.getFieldWithDefault(msg, 2, ""),
2030
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
2031
+ intentName: jspb.Message.getFieldWithDefault(msg, 4, "")
2032
2032
  };
2033
2033
 
2034
2034
  if (includeInstance) {
@@ -2252,12 +2252,12 @@ proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.prototype.toObject = function(opt_i
2252
2252
  */
2253
2253
  proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.toObject = function(includeInstance, msg) {
2254
2254
  var f, obj = {
2255
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
2256
- text: jspb.Message.getFieldWithDefault(msg, 2, ""),
2257
- potentialEntitiesList: jspb.Message.toObjectList(msg.getPotentialEntitiesList(),
2255
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
2256
+ text: jspb.Message.getFieldWithDefault(msg, 2, ""),
2257
+ potentialEntitiesList: jspb.Message.toObjectList(msg.getPotentialEntitiesList(),
2258
2258
  proto.ondewo.nlu.EntityTypeFuzzyNerConfig.toObject, includeInstance),
2259
- minimalScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
2260
- allowOverlaps: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2259
+ minimalScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
2260
+ allowOverlaps: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2261
2261
  };
2262
2262
 
2263
2263
  if (includeInstance) {
@@ -2532,11 +2532,11 @@ proto.ondewo.nlu.EntityTypeFuzzyNerConfig.prototype.toObject = function(opt_incl
2532
2532
  */
2533
2533
  proto.ondewo.nlu.EntityTypeFuzzyNerConfig.toObject = function(includeInstance, msg) {
2534
2534
  var f, obj = {
2535
- entityType: (f = msg.getEntityType()) && ondewo_nlu_entity_type_pb.EntityType.toObject(includeInstance, f),
2536
- minimalScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
2537
- entityValuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2538
- algorithm: jspb.Message.getFieldWithDefault(msg, 4, 0),
2539
- allowOverlaps: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2535
+ entityType: (f = msg.getEntityType()) && ondewo_nlu_entity_type_pb.EntityType.toObject(includeInstance, f),
2536
+ minimalScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
2537
+ entityValuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2538
+ algorithm: jspb.Message.getFieldWithDefault(msg, 4, 0),
2539
+ allowOverlaps: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2540
2540
  };
2541
2541
 
2542
2542
  if (includeInstance) {
@@ -2830,9 +2830,9 @@ proto.ondewo.nlu.EntityDetected.prototype.toObject = function(opt_includeInstanc
2830
2830
  */
2831
2831
  proto.ondewo.nlu.EntityDetected.toObject = function(includeInstance, msg) {
2832
2832
  var f, obj = {
2833
- entity: (f = msg.getEntity()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity.toObject(includeInstance, f),
2834
- extractionMethod: jspb.Message.getFieldWithDefault(msg, 2, ""),
2835
- score: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
2833
+ entity: (f = msg.getEntity()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity.toObject(includeInstance, f),
2834
+ extractionMethod: jspb.Message.getFieldWithDefault(msg, 2, ""),
2835
+ score: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
2836
2836
  };
2837
2837
 
2838
2838
  if (includeInstance) {
@@ -3048,9 +3048,9 @@ proto.ondewo.nlu.ExtractEntitiesResponse.prototype.toObject = function(opt_inclu
3048
3048
  */
3049
3049
  proto.ondewo.nlu.ExtractEntitiesResponse.toObject = function(includeInstance, msg) {
3050
3050
  var f, obj = {
3051
- entitiesDetectedList: jspb.Message.toObjectList(msg.getEntitiesDetectedList(),
3051
+ entitiesDetectedList: jspb.Message.toObjectList(msg.getEntitiesDetectedList(),
3052
3052
  proto.ondewo.nlu.EntityDetected.toObject, includeInstance),
3053
- text: jspb.Message.getFieldWithDefault(msg, 2, "")
3053
+ text: jspb.Message.getFieldWithDefault(msg, 2, "")
3054
3054
  };
3055
3055
 
3056
3056
  if (includeInstance) {
@@ -3238,12 +3238,12 @@ proto.ondewo.nlu.GetAlternativeSentencesRequest.prototype.toObject = function(op
3238
3238
  */
3239
3239
  proto.ondewo.nlu.GetAlternativeSentencesRequest.toObject = function(includeInstance, msg) {
3240
3240
  var f, obj = {
3241
- config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
3242
- sentence: jspb.Message.getFieldWithDefault(msg, 2, ""),
3243
- languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
3244
- parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
3245
- protectedWordsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
3246
- wordsToChangeList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
3241
+ config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
3242
+ sentence: jspb.Message.getFieldWithDefault(msg, 2, ""),
3243
+ languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
3244
+ parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
3245
+ protectedWordsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
3246
+ wordsToChangeList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
3247
3247
  };
3248
3248
 
3249
3249
  if (includeInstance) {
@@ -3577,10 +3577,10 @@ proto.ondewo.nlu.GenerateUserSaysRequest.prototype.toObject = function(opt_inclu
3577
3577
  */
3578
3578
  proto.ondewo.nlu.GenerateUserSaysRequest.toObject = function(includeInstance, msg) {
3579
3579
  var f, obj = {
3580
- languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
3581
- parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
3582
- nRepeatSynonym: jspb.Message.getFieldWithDefault(msg, 6, 0),
3583
- branch: jspb.Message.getFieldWithDefault(msg, 8, "")
3580
+ languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
3581
+ parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
3582
+ nRepeatSynonym: jspb.Message.getFieldWithDefault(msg, 6, 0),
3583
+ branch: jspb.Message.getFieldWithDefault(msg, 8, "")
3584
3584
  };
3585
3585
 
3586
3586
  if (includeInstance) {
@@ -3797,11 +3797,11 @@ proto.ondewo.nlu.GenerateResponsesRequest.prototype.toObject = function(opt_incl
3797
3797
  */
3798
3798
  proto.ondewo.nlu.GenerateResponsesRequest.toObject = function(includeInstance, msg) {
3799
3799
  var f, obj = {
3800
- languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
3801
- parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
3802
- nRepeatSynonym: jspb.Message.getFieldWithDefault(msg, 7, 0),
3803
- branch: jspb.Message.getFieldWithDefault(msg, 8, ""),
3804
- dropUnknownParameters: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
3800
+ languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
3801
+ parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
3802
+ nRepeatSynonym: jspb.Message.getFieldWithDefault(msg, 7, 0),
3803
+ branch: jspb.Message.getFieldWithDefault(msg, 8, ""),
3804
+ dropUnknownParameters: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
3805
3805
  };
3806
3806
 
3807
3807
  if (includeInstance) {
@@ -4054,16 +4054,16 @@ proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.prototype.toObject = funct
4054
4054
  */
4055
4055
  proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
4056
4056
  var f, obj = {
4057
- config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
4058
- trainingPhrase: (f = msg.getTrainingPhrase()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
4059
- intentName: jspb.Message.getFieldWithDefault(msg, 3, ""),
4060
- languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
4061
- parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
4062
- detectEntities: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
4063
- similarityThreshold: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
4064
- protectedWordsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
4065
- wordsToChangeList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
4066
- branch: jspb.Message.getFieldWithDefault(msg, 10, "")
4057
+ config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
4058
+ trainingPhrase: (f = msg.getTrainingPhrase()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
4059
+ intentName: jspb.Message.getFieldWithDefault(msg, 3, ""),
4060
+ languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
4061
+ parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
4062
+ detectEntities: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
4063
+ similarityThreshold: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
4064
+ protectedWordsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
4065
+ wordsToChangeList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
4066
+ branch: jspb.Message.getFieldWithDefault(msg, 10, "")
4067
4067
  };
4068
4068
 
4069
4069
  if (includeInstance) {
@@ -4534,10 +4534,10 @@ proto.ondewo.nlu.GetSynonymsRequest.prototype.toObject = function(opt_includeIns
4534
4534
  */
4535
4535
  proto.ondewo.nlu.GetSynonymsRequest.toObject = function(includeInstance, msg) {
4536
4536
  var f, obj = {
4537
- config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
4538
- word: jspb.Message.getFieldWithDefault(msg, 2, ""),
4539
- languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
4540
- parent: jspb.Message.getFieldWithDefault(msg, 5, "")
4537
+ config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
4538
+ word: jspb.Message.getFieldWithDefault(msg, 2, ""),
4539
+ languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
4540
+ parent: jspb.Message.getFieldWithDefault(msg, 5, "")
4541
4541
  };
4542
4542
 
4543
4543
  if (includeInstance) {
@@ -4782,7 +4782,7 @@ proto.ondewo.nlu.GetSynonymsResponse.prototype.toObject = function(opt_includeIn
4782
4782
  */
4783
4783
  proto.ondewo.nlu.GetSynonymsResponse.toObject = function(includeInstance, msg) {
4784
4784
  var f, obj = {
4785
- synonymsList: jspb.Message.toObjectList(msg.getSynonymsList(),
4785
+ synonymsList: jspb.Message.toObjectList(msg.getSynonymsList(),
4786
4786
  proto.ondewo.nlu.Synonym.toObject, includeInstance)
4787
4787
  };
4788
4788
 
@@ -4935,8 +4935,8 @@ proto.ondewo.nlu.Synonym.prototype.toObject = function(opt_includeInstance) {
4935
4935
  */
4936
4936
  proto.ondewo.nlu.Synonym.toObject = function(includeInstance, msg) {
4937
4937
  var f, obj = {
4938
- synonym: jspb.Message.getFieldWithDefault(msg, 1, ""),
4939
- score: jspb.Message.getFieldWithDefault(msg, 2, 0)
4938
+ synonym: jspb.Message.getFieldWithDefault(msg, 1, ""),
4939
+ score: jspb.Message.getFieldWithDefault(msg, 2, 0)
4940
4940
  };
4941
4941
 
4942
4942
  if (includeInstance) {
@@ -5102,7 +5102,7 @@ proto.ondewo.nlu.GetAlternativeSentencesResponse.prototype.toObject = function(o
5102
5102
  */
5103
5103
  proto.ondewo.nlu.GetAlternativeSentencesResponse.toObject = function(includeInstance, msg) {
5104
5104
  var f, obj = {
5105
- alternativeSentencesList: jspb.Message.toObjectList(msg.getAlternativeSentencesList(),
5105
+ alternativeSentencesList: jspb.Message.toObjectList(msg.getAlternativeSentencesList(),
5106
5106
  proto.ondewo.nlu.AltSentence.toObject, includeInstance)
5107
5107
  };
5108
5108
 
@@ -5262,7 +5262,7 @@ proto.ondewo.nlu.GenerateResponsesResponse.prototype.toObject = function(opt_inc
5262
5262
  */
5263
5263
  proto.ondewo.nlu.GenerateResponsesResponse.toObject = function(includeInstance, msg) {
5264
5264
  var f, obj = {
5265
- responsesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5265
+ responsesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5266
5266
  };
5267
5267
 
5268
5268
  if (includeInstance) {
@@ -5418,7 +5418,7 @@ proto.ondewo.nlu.GenerateUserSaysResponse.prototype.toObject = function(opt_incl
5418
5418
  */
5419
5419
  proto.ondewo.nlu.GenerateUserSaysResponse.toObject = function(includeInstance, msg) {
5420
5420
  var f, obj = {
5421
- userSaysList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5421
+ userSaysList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5422
5422
  };
5423
5423
 
5424
5424
  if (includeInstance) {
@@ -5574,7 +5574,7 @@ proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse.prototype.toObject = func
5574
5574
  */
5575
5575
  proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse.toObject = function(includeInstance, msg) {
5576
5576
  var f, obj = {
5577
- alternativeTrainingPhrasesList: jspb.Message.toObjectList(msg.getAlternativeTrainingPhrasesList(),
5577
+ alternativeTrainingPhrasesList: jspb.Message.toObjectList(msg.getAlternativeTrainingPhrasesList(),
5578
5578
  proto.ondewo.nlu.AltTrainingPhrase.toObject, includeInstance)
5579
5579
  };
5580
5580
 
@@ -5727,8 +5727,8 @@ proto.ondewo.nlu.AltSentence.prototype.toObject = function(opt_includeInstance)
5727
5727
  */
5728
5728
  proto.ondewo.nlu.AltSentence.toObject = function(includeInstance, msg) {
5729
5729
  var f, obj = {
5730
- sentence: jspb.Message.getFieldWithDefault(msg, 1, ""),
5731
- score: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
5730
+ sentence: jspb.Message.getFieldWithDefault(msg, 1, ""),
5731
+ score: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
5732
5732
  };
5733
5733
 
5734
5734
  if (includeInstance) {
@@ -5887,8 +5887,8 @@ proto.ondewo.nlu.AltTrainingPhrase.prototype.toObject = function(opt_includeInst
5887
5887
  */
5888
5888
  proto.ondewo.nlu.AltTrainingPhrase.toObject = function(includeInstance, msg) {
5889
5889
  var f, obj = {
5890
- trainingPhrase: (f = msg.getTrainingPhrase()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
5891
- score: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
5890
+ trainingPhrase: (f = msg.getTrainingPhrase()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
5891
+ score: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
5892
5892
  };
5893
5893
 
5894
5894
  if (includeInstance) {
@@ -6068,15 +6068,15 @@ proto.ondewo.nlu.DataEnrichmentConfig.prototype.toObject = function(opt_includeI
6068
6068
  */
6069
6069
  proto.ondewo.nlu.DataEnrichmentConfig.toObject = function(includeInstance, msg) {
6070
6070
  var f, obj = {
6071
- entityEnrichment: (f = msg.getEntityEnrichment()) && proto.ondewo.nlu.EntityEnrichmentConfig.toObject(includeInstance, f),
6072
- thesaurusEnrichment: (f = msg.getThesaurusEnrichment()) && proto.ondewo.nlu.ThesaurusEnrichmentConfig.toObject(includeInstance, f),
6073
- word2vecEnrichment: (f = msg.getWord2vecEnrichment()) && proto.ondewo.nlu.Word2VecEnrichmentConfig.toObject(includeInstance, f),
6074
- wordNetEnrichment: (f = msg.getWordNetEnrichment()) && proto.ondewo.nlu.WordNetAugEnrichmentConfig.toObject(includeInstance, f),
6075
- gpt2Enrichment: (f = msg.getGpt2Enrichment()) && proto.ondewo.nlu.GPT2EnrichmentConfig.toObject(includeInstance, f),
6076
- gloveEnrichment: (f = msg.getGloveEnrichment()) && proto.ondewo.nlu.GloVeEnrichmentConfig.toObject(includeInstance, f),
6077
- bertEnrichment: (f = msg.getBertEnrichment()) && proto.ondewo.nlu.BertAugEnrichmentConfig.toObject(includeInstance, f),
6078
- xlnetEnrichment: (f = msg.getXlnetEnrichment()) && proto.ondewo.nlu.XLNetAugEnrichmentConfig.toObject(includeInstance, f),
6079
- llmEnrichment: (f = msg.getLlmEnrichment()) && proto.ondewo.nlu.LlmEnrichmentConfig.toObject(includeInstance, f)
6071
+ entityEnrichment: (f = msg.getEntityEnrichment()) && proto.ondewo.nlu.EntityEnrichmentConfig.toObject(includeInstance, f),
6072
+ thesaurusEnrichment: (f = msg.getThesaurusEnrichment()) && proto.ondewo.nlu.ThesaurusEnrichmentConfig.toObject(includeInstance, f),
6073
+ word2vecEnrichment: (f = msg.getWord2vecEnrichment()) && proto.ondewo.nlu.Word2VecEnrichmentConfig.toObject(includeInstance, f),
6074
+ wordNetEnrichment: (f = msg.getWordNetEnrichment()) && proto.ondewo.nlu.WordNetAugEnrichmentConfig.toObject(includeInstance, f),
6075
+ gpt2Enrichment: (f = msg.getGpt2Enrichment()) && proto.ondewo.nlu.GPT2EnrichmentConfig.toObject(includeInstance, f),
6076
+ gloveEnrichment: (f = msg.getGloveEnrichment()) && proto.ondewo.nlu.GloVeEnrichmentConfig.toObject(includeInstance, f),
6077
+ bertEnrichment: (f = msg.getBertEnrichment()) && proto.ondewo.nlu.BertAugEnrichmentConfig.toObject(includeInstance, f),
6078
+ xlnetEnrichment: (f = msg.getXlnetEnrichment()) && proto.ondewo.nlu.XLNetAugEnrichmentConfig.toObject(includeInstance, f),
6079
+ llmEnrichment: (f = msg.getLlmEnrichment()) && proto.ondewo.nlu.LlmEnrichmentConfig.toObject(includeInstance, f)
6080
6080
  };
6081
6081
 
6082
6082
  if (includeInstance) {
@@ -6627,9 +6627,9 @@ proto.ondewo.nlu.EntityEnrichmentConfig.prototype.toObject = function(opt_includ
6627
6627
  */
6628
6628
  proto.ondewo.nlu.EntityEnrichmentConfig.toObject = function(includeInstance, msg) {
6629
6629
  var f, obj = {
6630
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
6631
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
6632
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
6630
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
6631
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
6632
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
6633
6633
  };
6634
6634
 
6635
6635
  if (includeInstance) {
@@ -6817,9 +6817,9 @@ proto.ondewo.nlu.ThesaurusEnrichmentConfig.prototype.toObject = function(opt_inc
6817
6817
  */
6818
6818
  proto.ondewo.nlu.ThesaurusEnrichmentConfig.toObject = function(includeInstance, msg) {
6819
6819
  var f, obj = {
6820
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
6821
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
6822
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
6820
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
6821
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
6822
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
6823
6823
  };
6824
6824
 
6825
6825
  if (includeInstance) {
@@ -7007,9 +7007,9 @@ proto.ondewo.nlu.BertAugEnrichmentConfig.prototype.toObject = function(opt_inclu
7007
7007
  */
7008
7008
  proto.ondewo.nlu.BertAugEnrichmentConfig.toObject = function(includeInstance, msg) {
7009
7009
  var f, obj = {
7010
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7011
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7012
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7010
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7011
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7012
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7013
7013
  };
7014
7014
 
7015
7015
  if (includeInstance) {
@@ -7197,9 +7197,9 @@ proto.ondewo.nlu.GloVeEnrichmentConfig.prototype.toObject = function(opt_include
7197
7197
  */
7198
7198
  proto.ondewo.nlu.GloVeEnrichmentConfig.toObject = function(includeInstance, msg) {
7199
7199
  var f, obj = {
7200
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7201
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7202
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7200
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7201
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7202
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7203
7203
  };
7204
7204
 
7205
7205
  if (includeInstance) {
@@ -7387,9 +7387,9 @@ proto.ondewo.nlu.GPT2EnrichmentConfig.prototype.toObject = function(opt_includeI
7387
7387
  */
7388
7388
  proto.ondewo.nlu.GPT2EnrichmentConfig.toObject = function(includeInstance, msg) {
7389
7389
  var f, obj = {
7390
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7391
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7392
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7390
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7391
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7392
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7393
7393
  };
7394
7394
 
7395
7395
  if (includeInstance) {
@@ -7577,9 +7577,9 @@ proto.ondewo.nlu.Word2VecEnrichmentConfig.prototype.toObject = function(opt_incl
7577
7577
  */
7578
7578
  proto.ondewo.nlu.Word2VecEnrichmentConfig.toObject = function(includeInstance, msg) {
7579
7579
  var f, obj = {
7580
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7581
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7582
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7580
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7581
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7582
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7583
7583
  };
7584
7584
 
7585
7585
  if (includeInstance) {
@@ -7767,9 +7767,9 @@ proto.ondewo.nlu.WordNetAugEnrichmentConfig.prototype.toObject = function(opt_in
7767
7767
  */
7768
7768
  proto.ondewo.nlu.WordNetAugEnrichmentConfig.toObject = function(includeInstance, msg) {
7769
7769
  var f, obj = {
7770
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7771
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7772
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7770
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7771
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7772
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7773
7773
  };
7774
7774
 
7775
7775
  if (includeInstance) {
@@ -7957,9 +7957,9 @@ proto.ondewo.nlu.XLNetAugEnrichmentConfig.prototype.toObject = function(opt_incl
7957
7957
  */
7958
7958
  proto.ondewo.nlu.XLNetAugEnrichmentConfig.toObject = function(includeInstance, msg) {
7959
7959
  var f, obj = {
7960
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7961
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7962
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7960
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7961
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
7962
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
7963
7963
  };
7964
7964
 
7965
7965
  if (includeInstance) {
@@ -8147,10 +8147,10 @@ proto.ondewo.nlu.LlmEnrichmentConfig.prototype.toObject = function(opt_includeIn
8147
8147
  */
8148
8148
  proto.ondewo.nlu.LlmEnrichmentConfig.toObject = function(includeInstance, msg) {
8149
8149
  var f, obj = {
8150
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
8151
- enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
8152
- executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
8153
- ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 4, "")
8150
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
8151
+ enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
8152
+ executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
8153
+ ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 4, "")
8154
8154
  };
8155
8155
 
8156
8156
  if (includeInstance) {
@@ -8374,13 +8374,13 @@ proto.ondewo.nlu.ClassifyIntentsRequest.prototype.toObject = function(opt_includ
8374
8374
  */
8375
8375
  proto.ondewo.nlu.ClassifyIntentsRequest.toObject = function(includeInstance, msg) {
8376
8376
  var f, obj = {
8377
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
8378
- text: jspb.Message.getFieldWithDefault(msg, 2, ""),
8379
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
8380
- activeContexts: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
8381
- contextNamesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
8382
- mode: jspb.Message.getFieldWithDefault(msg, 6, 0),
8383
- algorithmsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
8377
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
8378
+ text: jspb.Message.getFieldWithDefault(msg, 2, ""),
8379
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
8380
+ activeContexts: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
8381
+ contextNamesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
8382
+ mode: jspb.Message.getFieldWithDefault(msg, 6, 0),
8383
+ algorithmsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
8384
8384
  };
8385
8385
 
8386
8386
  if (includeInstance) {
@@ -8724,10 +8724,10 @@ proto.ondewo.nlu.IntentClassified.prototype.toObject = function(opt_includeInsta
8724
8724
  */
8725
8725
  proto.ondewo.nlu.IntentClassified.toObject = function(includeInstance, msg) {
8726
8726
  var f, obj = {
8727
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
8728
- intentDisplayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
8729
- classifier: jspb.Message.getFieldWithDefault(msg, 3, ""),
8730
- score: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
8727
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
8728
+ intentDisplayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
8729
+ classifier: jspb.Message.getFieldWithDefault(msg, 3, ""),
8730
+ score: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
8731
8731
  };
8732
8732
 
8733
8733
  if (includeInstance) {
@@ -8951,11 +8951,11 @@ proto.ondewo.nlu.ClassifyIntentsResponse.prototype.toObject = function(opt_inclu
8951
8951
  */
8952
8952
  proto.ondewo.nlu.ClassifyIntentsResponse.toObject = function(includeInstance, msg) {
8953
8953
  var f, obj = {
8954
- intentsClassifiedList: jspb.Message.toObjectList(msg.getIntentsClassifiedList(),
8954
+ intentsClassifiedList: jspb.Message.toObjectList(msg.getIntentsClassifiedList(),
8955
8955
  proto.ondewo.nlu.IntentClassified.toObject, includeInstance),
8956
- text: jspb.Message.getFieldWithDefault(msg, 2, ""),
8957
- activeContexts: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
8958
- contextNamesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
8956
+ text: jspb.Message.getFieldWithDefault(msg, 2, ""),
8957
+ activeContexts: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
8958
+ contextNamesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
8959
8959
  };
8960
8960
 
8961
8961
  if (includeInstance) {
@@ -633,6 +633,8 @@ export enum CcaiServiceType {
633
633
  CCAI_SERVICE_TYPE_ONDEWO_AIM_WEBCHAT = 15,
634
634
  CCAI_SERVICE_TYPE_ONDEWO_AIM_WEBPHONE = 16,
635
635
  CCAI_SERVICE_TYPE_ONDEWO_NLU_VECTORSTORE = 17,
636
+ CCAI_SERVICE_TYPE_ONDEWO_NLU_LLM_AGENT = 18,
637
+ CCAI_SERVICE_TYPE_ONDEWO_NLU_LLM_MCP = 19,
636
638
  }
637
639
  export enum CcaiServiceProvider {
638
640
  NO_CCAI_SERVICE_PROVIDER = 0,
@@ -657,6 +659,15 @@ export enum CcaiServiceProvider {
657
659
  CCAI_SERVICE_PROVIDER_MILVUS = 19,
658
660
  CCAI_SERVICE_PROVIDER_QDRANT = 20,
659
661
  CCAI_SERVICE_PROVIDER_CHROMA = 21,
662
+ CCAI_SERVICE_PROVIDER_GOOGLE = 22,
663
+ CCAI_SERVICE_PROVIDER_MICROSOFT = 23,
664
+ CCAI_SERVICE_PROVIDER_DEEPGRAM = 24,
665
+ CCAI_SERVICE_PROVIDER_ELEVENLABS = 25,
666
+ CCAI_SERVICE_PROVIDER_HUGGINGFACE_TGI = 26,
667
+ CCAI_SERVICE_PROVIDER_HUGGINGFACE_TGE = 27,
668
+ CCAI_SERVICE_PROVIDER_HUGGINGFACE_SMOLAGENTS = 28,
669
+ CCAI_SERVICE_PROVIDER_GOOGLE_AGENT_DEVELOPMENT_KIT = 29,
670
+ CCAI_SERVICE_PROVIDER_MODEL_CONTEXT_PROTOCOL = 30,
660
671
  }
661
672
  export enum CcaiProjectView {
662
673
  CCAI_PROJECT_VIEW_UNSPECIFIED = 0,