@ondewo/nlu-client-typescript 6.10.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/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
|
@@ -41,6 +41,8 @@ var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js')
|
|
|
41
41
|
var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js')
|
|
42
42
|
|
|
43
43
|
var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js')
|
|
44
|
+
|
|
45
|
+
var ondewo_nlu_ccai_project_pb = require('../../ondewo/nlu/ccai_project_pb.js')
|
|
44
46
|
const proto = {};
|
|
45
47
|
proto.ondewo = {};
|
|
46
48
|
proto.ondewo.nlu = require('./agent_pb.js');
|
|
@@ -11,6 +11,7 @@ import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb'; // proto import:
|
|
|
11
11
|
import * as ondewo_nlu_project_role_pb from '../../ondewo/nlu/project_role_pb'; // proto import: "ondewo/nlu/project_role.proto"
|
|
12
12
|
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb'; // proto import: "ondewo/nlu/operations.proto"
|
|
13
13
|
import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb'; // proto import: "ondewo/nlu/session.proto"
|
|
14
|
+
import * as ondewo_nlu_ccai_project_pb from '../../ondewo/nlu/ccai_project_pb'; // proto import: "ondewo/nlu/ccai_project.proto"
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
export class Agent extends jspb.Message {
|
|
@@ -691,6 +692,36 @@ export class GetAgentStatisticsRequest extends jspb.Message {
|
|
|
691
692
|
getType(): ReportType;
|
|
692
693
|
setType(value: ReportType): GetAgentStatisticsRequest;
|
|
693
694
|
|
|
695
|
+
getLlmModelFilterList(): Array<string>;
|
|
696
|
+
setLlmModelFilterList(value: Array<string>): GetAgentStatisticsRequest;
|
|
697
|
+
clearLlmModelFilterList(): GetAgentStatisticsRequest;
|
|
698
|
+
addLlmModelFilter(value: string, index?: number): GetAgentStatisticsRequest;
|
|
699
|
+
|
|
700
|
+
getLlmProviderFilterList(): Array<string>;
|
|
701
|
+
setLlmProviderFilterList(value: Array<string>): GetAgentStatisticsRequest;
|
|
702
|
+
clearLlmProviderFilterList(): GetAgentStatisticsRequest;
|
|
703
|
+
addLlmProviderFilter(value: string, index?: number): GetAgentStatisticsRequest;
|
|
704
|
+
|
|
705
|
+
getLlmAgentNameFilterList(): Array<string>;
|
|
706
|
+
setLlmAgentNameFilterList(value: Array<string>): GetAgentStatisticsRequest;
|
|
707
|
+
clearLlmAgentNameFilterList(): GetAgentStatisticsRequest;
|
|
708
|
+
addLlmAgentNameFilter(value: string, index?: number): GetAgentStatisticsRequest;
|
|
709
|
+
|
|
710
|
+
getLlmGroupBysList(): Array<string>;
|
|
711
|
+
setLlmGroupBysList(value: Array<string>): GetAgentStatisticsRequest;
|
|
712
|
+
clearLlmGroupBysList(): GetAgentStatisticsRequest;
|
|
713
|
+
addLlmGroupBys(value: string, index?: number): GetAgentStatisticsRequest;
|
|
714
|
+
|
|
715
|
+
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
716
|
+
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): GetAgentStatisticsRequest;
|
|
717
|
+
hasFieldMask(): boolean;
|
|
718
|
+
clearFieldMask(): GetAgentStatisticsRequest;
|
|
719
|
+
|
|
720
|
+
getLlmCcaiServiceProviderFilterList(): Array<ondewo_nlu_ccai_project_pb.CcaiServiceProvider>;
|
|
721
|
+
setLlmCcaiServiceProviderFilterList(value: Array<ondewo_nlu_ccai_project_pb.CcaiServiceProvider>): GetAgentStatisticsRequest;
|
|
722
|
+
clearLlmCcaiServiceProviderFilterList(): GetAgentStatisticsRequest;
|
|
723
|
+
addLlmCcaiServiceProviderFilter(value: ondewo_nlu_ccai_project_pb.CcaiServiceProvider, index?: number): GetAgentStatisticsRequest;
|
|
724
|
+
|
|
694
725
|
serializeBinary(): Uint8Array;
|
|
695
726
|
toObject(includeInstance?: boolean): GetAgentStatisticsRequest.AsObject;
|
|
696
727
|
static toObject(includeInstance: boolean, msg: GetAgentStatisticsRequest): GetAgentStatisticsRequest.AsObject;
|
|
@@ -705,6 +736,12 @@ export namespace GetAgentStatisticsRequest {
|
|
|
705
736
|
format: ReportFormat,
|
|
706
737
|
languageCode: string,
|
|
707
738
|
type: ReportType,
|
|
739
|
+
llmModelFilterList: Array<string>,
|
|
740
|
+
llmProviderFilterList: Array<string>,
|
|
741
|
+
llmAgentNameFilterList: Array<string>,
|
|
742
|
+
llmGroupBysList: Array<string>,
|
|
743
|
+
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
744
|
+
llmCcaiServiceProviderFilterList: Array<ondewo_nlu_ccai_project_pb.CcaiServiceProvider>,
|
|
708
745
|
}
|
|
709
746
|
}
|
|
710
747
|
|
|
@@ -720,6 +757,11 @@ export class GetAgentStatisticsResponse extends jspb.Message {
|
|
|
720
757
|
getType(): ReportType;
|
|
721
758
|
setType(value: ReportType): GetAgentStatisticsResponse;
|
|
722
759
|
|
|
760
|
+
getLlmTelemetryReport(): ondewo_nlu_session_pb.LlmTelemetryReport | undefined;
|
|
761
|
+
setLlmTelemetryReport(value?: ondewo_nlu_session_pb.LlmTelemetryReport): GetAgentStatisticsResponse;
|
|
762
|
+
hasLlmTelemetryReport(): boolean;
|
|
763
|
+
clearLlmTelemetryReport(): GetAgentStatisticsResponse;
|
|
764
|
+
|
|
723
765
|
serializeBinary(): Uint8Array;
|
|
724
766
|
toObject(includeInstance?: boolean): GetAgentStatisticsResponse.AsObject;
|
|
725
767
|
static toObject(includeInstance: boolean, msg: GetAgentStatisticsResponse): GetAgentStatisticsResponse.AsObject;
|
|
@@ -733,6 +775,7 @@ export namespace GetAgentStatisticsResponse {
|
|
|
733
775
|
reports: Uint8Array | string,
|
|
734
776
|
format: ReportFormat,
|
|
735
777
|
type: ReportType,
|
|
778
|
+
llmTelemetryReport?: ondewo_nlu_session_pb.LlmTelemetryReport.AsObject,
|
|
736
779
|
}
|
|
737
780
|
}
|
|
738
781
|
|
|
@@ -777,6 +820,31 @@ export class GetSessionsStatisticsRequest extends jspb.Message {
|
|
|
777
820
|
getSqlQuery(): string;
|
|
778
821
|
setSqlQuery(value: string): GetSessionsStatisticsRequest;
|
|
779
822
|
|
|
823
|
+
getLlmModelFilterList(): Array<string>;
|
|
824
|
+
setLlmModelFilterList(value: Array<string>): GetSessionsStatisticsRequest;
|
|
825
|
+
clearLlmModelFilterList(): GetSessionsStatisticsRequest;
|
|
826
|
+
addLlmModelFilter(value: string, index?: number): GetSessionsStatisticsRequest;
|
|
827
|
+
|
|
828
|
+
getLlmProviderFilterList(): Array<string>;
|
|
829
|
+
setLlmProviderFilterList(value: Array<string>): GetSessionsStatisticsRequest;
|
|
830
|
+
clearLlmProviderFilterList(): GetSessionsStatisticsRequest;
|
|
831
|
+
addLlmProviderFilter(value: string, index?: number): GetSessionsStatisticsRequest;
|
|
832
|
+
|
|
833
|
+
getLlmAgentNameFilterList(): Array<string>;
|
|
834
|
+
setLlmAgentNameFilterList(value: Array<string>): GetSessionsStatisticsRequest;
|
|
835
|
+
clearLlmAgentNameFilterList(): GetSessionsStatisticsRequest;
|
|
836
|
+
addLlmAgentNameFilter(value: string, index?: number): GetSessionsStatisticsRequest;
|
|
837
|
+
|
|
838
|
+
getLlmToolNameFilterList(): Array<string>;
|
|
839
|
+
setLlmToolNameFilterList(value: Array<string>): GetSessionsStatisticsRequest;
|
|
840
|
+
clearLlmToolNameFilterList(): GetSessionsStatisticsRequest;
|
|
841
|
+
addLlmToolNameFilter(value: string, index?: number): GetSessionsStatisticsRequest;
|
|
842
|
+
|
|
843
|
+
getLlmCcaiServiceProviderFilterList(): Array<ondewo_nlu_ccai_project_pb.CcaiServiceProvider>;
|
|
844
|
+
setLlmCcaiServiceProviderFilterList(value: Array<ondewo_nlu_ccai_project_pb.CcaiServiceProvider>): GetSessionsStatisticsRequest;
|
|
845
|
+
clearLlmCcaiServiceProviderFilterList(): GetSessionsStatisticsRequest;
|
|
846
|
+
addLlmCcaiServiceProviderFilter(value: ondewo_nlu_ccai_project_pb.CcaiServiceProvider, index?: number): GetSessionsStatisticsRequest;
|
|
847
|
+
|
|
780
848
|
serializeBinary(): Uint8Array;
|
|
781
849
|
toObject(includeInstance?: boolean): GetSessionsStatisticsRequest.AsObject;
|
|
782
850
|
static toObject(includeInstance: boolean, msg: GetSessionsStatisticsRequest): GetSessionsStatisticsRequest.AsObject;
|
|
@@ -797,6 +865,11 @@ export namespace GetSessionsStatisticsRequest {
|
|
|
797
865
|
orderBysList: Array<string>,
|
|
798
866
|
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
799
867
|
sqlQuery: string,
|
|
868
|
+
llmModelFilterList: Array<string>,
|
|
869
|
+
llmProviderFilterList: Array<string>,
|
|
870
|
+
llmAgentNameFilterList: Array<string>,
|
|
871
|
+
llmToolNameFilterList: Array<string>,
|
|
872
|
+
llmCcaiServiceProviderFilterList: Array<ondewo_nlu_ccai_project_pb.CcaiServiceProvider>,
|
|
800
873
|
}
|
|
801
874
|
}
|
|
802
875
|
|
|
@@ -812,6 +885,11 @@ export class GetSessionsStatisticsResponse extends jspb.Message {
|
|
|
812
885
|
getType(): SessionsReportType;
|
|
813
886
|
setType(value: SessionsReportType): GetSessionsStatisticsResponse;
|
|
814
887
|
|
|
888
|
+
getLlmTelemetryReport(): ondewo_nlu_session_pb.LlmTelemetryReport | undefined;
|
|
889
|
+
setLlmTelemetryReport(value?: ondewo_nlu_session_pb.LlmTelemetryReport): GetSessionsStatisticsResponse;
|
|
890
|
+
hasLlmTelemetryReport(): boolean;
|
|
891
|
+
clearLlmTelemetryReport(): GetSessionsStatisticsResponse;
|
|
892
|
+
|
|
815
893
|
serializeBinary(): Uint8Array;
|
|
816
894
|
toObject(includeInstance?: boolean): GetSessionsStatisticsResponse.AsObject;
|
|
817
895
|
static toObject(includeInstance: boolean, msg: GetSessionsStatisticsResponse): GetSessionsStatisticsResponse.AsObject;
|
|
@@ -825,6 +903,7 @@ export namespace GetSessionsStatisticsResponse {
|
|
|
825
903
|
reports: Uint8Array | string,
|
|
826
904
|
format: ReportFormat,
|
|
827
905
|
type: SessionsReportType,
|
|
906
|
+
llmTelemetryReport?: ondewo_nlu_session_pb.LlmTelemetryReport.AsObject,
|
|
828
907
|
}
|
|
829
908
|
}
|
|
830
909
|
|
|
@@ -2537,6 +2616,26 @@ export enum ReportType {
|
|
|
2537
2616
|
ENTITY_PER_LANGUAGE = 2,
|
|
2538
2617
|
ENTITY_COLLISION = 3,
|
|
2539
2618
|
INTENT_GENERAL = 4,
|
|
2619
|
+
AGENT_LLM_TOKEN_USAGE = 5,
|
|
2620
|
+
AGENT_LLM_MODELS_USED = 6,
|
|
2621
|
+
AGENT_LLM_PROVIDERS_USED = 7,
|
|
2622
|
+
AGENT_LLM_CCAI_SERVICES_USED = 8,
|
|
2623
|
+
AGENT_LLM_AGENTS_USED = 9,
|
|
2624
|
+
AGENT_LLM_ERRORS = 10,
|
|
2625
|
+
AGENT_LLM_CACHE_EFFICIENCY = 11,
|
|
2626
|
+
AGENT_LLM_REASONING_EFFORT = 12,
|
|
2627
|
+
AGENT_LLM_TOP_X_TOOLS = 13,
|
|
2628
|
+
AGENT_LLM_LEAST_X_TOOLS = 14,
|
|
2629
|
+
AGENT_LLM_LATENCY = 15,
|
|
2630
|
+
AGENT_LLM_FINISH_REASONS = 16,
|
|
2631
|
+
AGENT_LLM_TOTAL_STATISTICS = 17,
|
|
2632
|
+
AGENT_LLM_INPUT_TOKEN_USAGE = 18,
|
|
2633
|
+
AGENT_LLM_OUTPUT_TOKEN_USAGE = 19,
|
|
2634
|
+
AGENT_LLM_THINKING_TOKEN_USAGE = 20,
|
|
2635
|
+
AGENT_LLM_TOOL_CALL_TOKEN_USAGE = 21,
|
|
2636
|
+
AGENT_LLM_TOP_X_MODELS = 22,
|
|
2637
|
+
AGENT_LLM_TOP_X_CCAI_SERVICE_PROVIDERS = 23,
|
|
2638
|
+
AGENT_LLM_TOP_X_AGENT_NAMES = 24,
|
|
2540
2639
|
}
|
|
2541
2640
|
export enum SessionsReportType {
|
|
2542
2641
|
SESSIONS = 0,
|
|
@@ -2557,6 +2656,29 @@ export enum SessionsReportType {
|
|
|
2557
2656
|
SESSION_LEAST_X_LABELS = 15,
|
|
2558
2657
|
SESSION_LEAST_X_TAGS = 16,
|
|
2559
2658
|
TOTAL_STATISTICS = 17,
|
|
2659
|
+
SESSION_LLM_TOKEN_USAGE = 18,
|
|
2660
|
+
SESSION_LLM_TOOL_CALLS = 19,
|
|
2661
|
+
SESSION_LLM_THINKING = 20,
|
|
2662
|
+
SESSION_LLM_FINISH_REASONS = 21,
|
|
2663
|
+
SESSION_LLM_LATENCY = 22,
|
|
2664
|
+
SESSION_LLM_RAG_METRICS = 23,
|
|
2665
|
+
SESSION_LLM_MODELS_USED = 24,
|
|
2666
|
+
SESSION_LLM_PROVIDERS_USED = 25,
|
|
2667
|
+
SESSION_LLM_CCAI_SERVICES_USED = 26,
|
|
2668
|
+
SESSION_LLM_AGENTS_USED = 27,
|
|
2669
|
+
SESSION_LLM_ERRORS = 28,
|
|
2670
|
+
SESSION_LLM_CACHE_EFFICIENCY = 29,
|
|
2671
|
+
SESSION_LLM_REASONING_EFFORT = 30,
|
|
2672
|
+
SESSION_LLM_TOP_X_TOOLS = 31,
|
|
2673
|
+
SESSION_LLM_LEAST_X_TOOLS = 32,
|
|
2674
|
+
SESSION_LLM_TOTAL_STATISTICS = 33,
|
|
2675
|
+
SESSION_LLM_INPUT_TOKEN_USAGE = 34,
|
|
2676
|
+
SESSION_LLM_OUTPUT_TOKEN_USAGE = 35,
|
|
2677
|
+
SESSION_LLM_THINKING_TOKEN_USAGE = 36,
|
|
2678
|
+
SESSION_LLM_TOOL_CALL_TOKEN_USAGE = 37,
|
|
2679
|
+
SESSION_LLM_TOP_X_MODELS = 38,
|
|
2680
|
+
SESSION_LLM_TOP_X_CCAI_SERVICE_PROVIDERS = 39,
|
|
2681
|
+
SESSION_LLM_TOP_X_AGENT_NAMES = 40,
|
|
2560
2682
|
}
|
|
2561
2683
|
export enum ReportFormat {
|
|
2562
2684
|
CSV = 0,
|