@ondewo/nlu-client-typescript 6.9.0 → 6.11.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.
- package/api/ondewo/nlu/agent_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/agent_pb.d.ts +122 -0
- package/api/ondewo/nlu/agent_pb.js +707 -8
- package/api/ondewo/nlu/ccai_project_pb.d.ts +1 -0
- package/api/ondewo/nlu/ccai_project_pb.js +2 -1
- package/api/ondewo/nlu/llm_evaluation_grpc_web_pb.d.ts +273 -0
- package/api/ondewo/nlu/llm_evaluation_grpc_web_pb.js +1370 -0
- package/api/ondewo/nlu/llm_evaluation_pb.d.ts +1507 -0
- package/api/ondewo/nlu/llm_evaluation_pb.js +12292 -0
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +2 -1
- package/api/ondewo/nlu/rag_pb.d.ts +4 -0
- package/api/ondewo/nlu/rag_pb.js +31 -1
- package/api/ondewo/nlu/session_grpc_web_pb.js +5 -1
- package/api/ondewo/nlu/session_pb.d.ts +1334 -1
- package/api/ondewo/nlu/session_pb.js +11624 -1350
- package/package.json +1 -1
- package/public-api.d.ts +31 -29
- package/public-api.js +28 -26
|
@@ -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 {
|
package/api/ondewo/nlu/rag_pb.js
CHANGED
|
@@ -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
|
|
|
@@ -34,13 +34,17 @@ var google_rpc_status_pb = require('../../google/rpc/status_pb.js')
|
|
|
34
34
|
|
|
35
35
|
var google_type_latlng_pb = require('../../google/type/latlng_pb.js')
|
|
36
36
|
|
|
37
|
+
var ondewo_nlu_ccai_project_pb = require('../../ondewo/nlu/ccai_project_pb.js')
|
|
38
|
+
|
|
37
39
|
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
38
40
|
|
|
39
41
|
var ondewo_nlu_context_pb = require('../../ondewo/nlu/context_pb.js')
|
|
40
42
|
|
|
43
|
+
var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js')
|
|
44
|
+
|
|
41
45
|
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
|
|
42
46
|
|
|
43
|
-
var
|
|
47
|
+
var ondewo_nlu_llm_evaluation_pb = require('../../ondewo/nlu/llm_evaluation_pb.js')
|
|
44
48
|
const proto = {};
|
|
45
49
|
proto.ondewo = {};
|
|
46
50
|
proto.ondewo.nlu = require('./session_pb.js');
|