opik 2.0.71 → 2.0.73
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/dist/chunk-JV4VZZV2.js +404 -0
- package/dist/index.cjs +36 -36
- package/dist/index.d.cts +51 -1
- package/dist/index.d.ts +51 -1
- package/dist/index.js +1 -1
- package/dist/{suite-KHEZIYZM.js → suite-KMXDB4SN.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-277G3DZX.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -390,6 +390,7 @@ interface AgentInsightsIssueUpdate {
|
|
|
390
390
|
* reportDay: "2023-01-15",
|
|
391
391
|
* issues: [{
|
|
392
392
|
* name: "name",
|
|
393
|
+
* severity: "critical",
|
|
393
394
|
* count: 1000000,
|
|
394
395
|
* totalCount: 1000000,
|
|
395
396
|
* usersImpacted: 1000000,
|
|
@@ -414,6 +415,7 @@ interface FindAgentInsightsIssuesRequest {
|
|
|
414
415
|
fromDate?: string;
|
|
415
416
|
toDate?: string;
|
|
416
417
|
status?: FindAgentInsightsIssuesRequestStatus;
|
|
418
|
+
severity?: FindAgentInsightsIssuesRequestSeverity;
|
|
417
419
|
sorting?: string;
|
|
418
420
|
page?: number;
|
|
419
421
|
size?: number;
|
|
@@ -438,6 +440,14 @@ declare const AgentInsightsIssueUpdateStatus: {
|
|
|
438
440
|
};
|
|
439
441
|
type AgentInsightsIssueUpdateStatus = (typeof AgentInsightsIssueUpdateStatus)[keyof typeof AgentInsightsIssueUpdateStatus];
|
|
440
442
|
|
|
443
|
+
declare const FindAgentInsightsIssuesRequestSeverity: {
|
|
444
|
+
readonly Critical: "critical";
|
|
445
|
+
readonly High: "high";
|
|
446
|
+
readonly Medium: "medium";
|
|
447
|
+
readonly Low: "low";
|
|
448
|
+
};
|
|
449
|
+
type FindAgentInsightsIssuesRequestSeverity = (typeof FindAgentInsightsIssuesRequestSeverity)[keyof typeof FindAgentInsightsIssuesRequestSeverity];
|
|
450
|
+
|
|
441
451
|
declare const FindAgentInsightsIssuesRequestStatus: {
|
|
442
452
|
readonly Open: "open";
|
|
443
453
|
readonly Resolved: "resolved";
|
|
@@ -3026,6 +3036,7 @@ interface DeleteThreadFeedbackScores {
|
|
|
3026
3036
|
threadId: string;
|
|
3027
3037
|
names: string[];
|
|
3028
3038
|
author?: string;
|
|
3039
|
+
sourceQueueId?: string;
|
|
3029
3040
|
}
|
|
3030
3041
|
|
|
3031
3042
|
/**
|
|
@@ -3141,6 +3152,7 @@ interface GetTracesByProjectRequest {
|
|
|
3141
3152
|
search?: string;
|
|
3142
3153
|
fromTime?: Date;
|
|
3143
3154
|
toTime?: Date;
|
|
3155
|
+
annotationQueueId?: string;
|
|
3144
3156
|
}
|
|
3145
3157
|
|
|
3146
3158
|
/**
|
|
@@ -3172,6 +3184,7 @@ interface GetTraceThreadsRequest {
|
|
|
3172
3184
|
search?: string;
|
|
3173
3185
|
fromTime?: Date;
|
|
3174
3186
|
toTime?: Date;
|
|
3187
|
+
annotationQueueId?: string;
|
|
3175
3188
|
}
|
|
3176
3189
|
|
|
3177
3190
|
/**
|
|
@@ -3502,6 +3515,7 @@ interface AgentInsightsIssue {
|
|
|
3502
3515
|
cause?: string;
|
|
3503
3516
|
suggestedFix?: string;
|
|
3504
3517
|
status?: AgentInsightsIssueStatus;
|
|
3518
|
+
severity?: AgentInsightsIssueSeverity;
|
|
3505
3519
|
tracesQuery?: string;
|
|
3506
3520
|
/** SUM(count) over the requested window */
|
|
3507
3521
|
totalOccurrences?: number;
|
|
@@ -3542,6 +3556,14 @@ interface AgentInsightsIssuePage {
|
|
|
3542
3556
|
content?: AgentInsightsIssue[];
|
|
3543
3557
|
}
|
|
3544
3558
|
|
|
3559
|
+
declare const AgentInsightsIssueSeverity: {
|
|
3560
|
+
readonly Critical: "critical";
|
|
3561
|
+
readonly High: "high";
|
|
3562
|
+
readonly Medium: "medium";
|
|
3563
|
+
readonly Low: "low";
|
|
3564
|
+
};
|
|
3565
|
+
type AgentInsightsIssueSeverity = (typeof AgentInsightsIssueSeverity)[keyof typeof AgentInsightsIssueSeverity];
|
|
3566
|
+
|
|
3545
3567
|
declare const AgentInsightsIssueStatus: {
|
|
3546
3568
|
readonly Open: "open";
|
|
3547
3569
|
readonly Resolved: "resolved";
|
|
@@ -3556,6 +3578,7 @@ interface AgentInsightsIssueWithDetails {
|
|
|
3556
3578
|
cause?: string;
|
|
3557
3579
|
suggestedFix?: string;
|
|
3558
3580
|
status?: AgentInsightsIssueWithDetailsStatus;
|
|
3581
|
+
severity?: AgentInsightsIssueWithDetailsSeverity;
|
|
3559
3582
|
tracesQuery?: string;
|
|
3560
3583
|
createdBy?: string;
|
|
3561
3584
|
createdAt?: Date;
|
|
@@ -3565,6 +3588,14 @@ interface AgentInsightsIssueWithDetails {
|
|
|
3565
3588
|
details?: AgentInsightsIssueDetail[];
|
|
3566
3589
|
}
|
|
3567
3590
|
|
|
3591
|
+
declare const AgentInsightsIssueWithDetailsSeverity: {
|
|
3592
|
+
readonly Critical: "critical";
|
|
3593
|
+
readonly High: "high";
|
|
3594
|
+
readonly Medium: "medium";
|
|
3595
|
+
readonly Low: "low";
|
|
3596
|
+
};
|
|
3597
|
+
type AgentInsightsIssueWithDetailsSeverity = (typeof AgentInsightsIssueWithDetailsSeverity)[keyof typeof AgentInsightsIssueWithDetailsSeverity];
|
|
3598
|
+
|
|
3568
3599
|
declare const AgentInsightsIssueWithDetailsStatus: {
|
|
3569
3600
|
readonly Open: "open";
|
|
3570
3601
|
readonly Resolved: "resolved";
|
|
@@ -4463,6 +4494,7 @@ type ColumnTypesItem = (typeof ColumnTypesItem)[keyof typeof ColumnTypesItem];
|
|
|
4463
4494
|
interface Comment {
|
|
4464
4495
|
id?: string;
|
|
4465
4496
|
text: string;
|
|
4497
|
+
sourceQueueId?: string;
|
|
4466
4498
|
createdAt?: Date;
|
|
4467
4499
|
lastUpdatedAt?: Date;
|
|
4468
4500
|
createdBy?: string;
|
|
@@ -4472,6 +4504,7 @@ interface Comment {
|
|
|
4472
4504
|
interface CommentCompare {
|
|
4473
4505
|
id?: string;
|
|
4474
4506
|
text: string;
|
|
4507
|
+
sourceQueueId?: string;
|
|
4475
4508
|
createdAt?: Date;
|
|
4476
4509
|
lastUpdatedAt?: Date;
|
|
4477
4510
|
createdBy?: string;
|
|
@@ -4481,6 +4514,7 @@ interface CommentCompare {
|
|
|
4481
4514
|
interface CommentPublic {
|
|
4482
4515
|
id?: string;
|
|
4483
4516
|
text: string;
|
|
4517
|
+
sourceQueueId?: string;
|
|
4484
4518
|
createdAt?: Date;
|
|
4485
4519
|
lastUpdatedAt?: Date;
|
|
4486
4520
|
createdBy?: string;
|
|
@@ -4964,6 +4998,7 @@ interface DatasetVersionSummaryPublic {
|
|
|
4964
4998
|
interface DeleteFeedbackScore {
|
|
4965
4999
|
name: string;
|
|
4966
5000
|
author?: string;
|
|
5001
|
+
sourceQueueId?: string;
|
|
4967
5002
|
}
|
|
4968
5003
|
|
|
4969
5004
|
interface DeleteIdsHolder {
|
|
@@ -5499,6 +5534,7 @@ interface FeedbackScore {
|
|
|
5499
5534
|
value: number;
|
|
5500
5535
|
reason?: string;
|
|
5501
5536
|
source: FeedbackScoreSource;
|
|
5537
|
+
sourceQueueId?: string;
|
|
5502
5538
|
createdAt?: Date;
|
|
5503
5539
|
lastUpdatedAt?: Date;
|
|
5504
5540
|
createdBy?: string;
|
|
@@ -5535,6 +5571,7 @@ interface FeedbackScoreBatchItem {
|
|
|
5535
5571
|
reason?: string;
|
|
5536
5572
|
source: FeedbackScoreBatchItemSource;
|
|
5537
5573
|
author?: string;
|
|
5574
|
+
sourceQueueId?: string;
|
|
5538
5575
|
id: string;
|
|
5539
5576
|
}
|
|
5540
5577
|
|
|
@@ -5555,6 +5592,7 @@ interface FeedbackScoreBatchItemThread {
|
|
|
5555
5592
|
reason?: string;
|
|
5556
5593
|
source: FeedbackScoreBatchItemThreadSource;
|
|
5557
5594
|
author?: string;
|
|
5595
|
+
sourceQueueId?: string;
|
|
5558
5596
|
threadId: string;
|
|
5559
5597
|
}
|
|
5560
5598
|
|
|
@@ -5571,6 +5609,7 @@ interface FeedbackScoreCompare {
|
|
|
5571
5609
|
value: number;
|
|
5572
5610
|
reason?: string;
|
|
5573
5611
|
source: FeedbackScoreCompareSource;
|
|
5612
|
+
sourceQueueId?: string;
|
|
5574
5613
|
createdAt?: Date;
|
|
5575
5614
|
lastUpdatedAt?: Date;
|
|
5576
5615
|
createdBy?: string;
|
|
@@ -5591,6 +5630,7 @@ interface FeedbackScoreExperimentItemBulkWriteView {
|
|
|
5591
5630
|
value: number;
|
|
5592
5631
|
reason?: string;
|
|
5593
5632
|
source: FeedbackScoreExperimentItemBulkWriteViewSource;
|
|
5633
|
+
sourceQueueId?: string;
|
|
5594
5634
|
createdAt?: Date;
|
|
5595
5635
|
lastUpdatedAt?: Date;
|
|
5596
5636
|
createdBy?: string;
|
|
@@ -5622,6 +5662,7 @@ interface FeedbackScorePublic {
|
|
|
5622
5662
|
value: number;
|
|
5623
5663
|
reason?: string;
|
|
5624
5664
|
source: FeedbackScorePublicSource;
|
|
5665
|
+
sourceQueueId?: string;
|
|
5625
5666
|
createdAt?: Date;
|
|
5626
5667
|
lastUpdatedAt?: Date;
|
|
5627
5668
|
createdBy?: string;
|
|
@@ -6794,6 +6835,7 @@ interface ReportedIssue {
|
|
|
6794
6835
|
cause?: string;
|
|
6795
6836
|
suggestedFix?: string;
|
|
6796
6837
|
tracesQuery?: string;
|
|
6838
|
+
severity: ReportedIssueSeverity;
|
|
6797
6839
|
count: number;
|
|
6798
6840
|
totalCount: number;
|
|
6799
6841
|
usersImpacted: number;
|
|
@@ -6801,6 +6843,14 @@ interface ReportedIssue {
|
|
|
6801
6843
|
metadata?: JsonNode;
|
|
6802
6844
|
}
|
|
6803
6845
|
|
|
6846
|
+
declare const ReportedIssueSeverity: {
|
|
6847
|
+
readonly Critical: "critical";
|
|
6848
|
+
readonly High: "high";
|
|
6849
|
+
readonly Medium: "medium";
|
|
6850
|
+
readonly Low: "low";
|
|
6851
|
+
};
|
|
6852
|
+
type ReportedIssueSeverity = (typeof ReportedIssueSeverity)[keyof typeof ReportedIssueSeverity];
|
|
6853
|
+
|
|
6804
6854
|
interface ReportPreference {
|
|
6805
6855
|
projectId?: string;
|
|
6806
6856
|
enabled?: boolean;
|
|
@@ -6896,7 +6946,6 @@ interface ServiceTogglesConfig {
|
|
|
6896
6946
|
welcomeWizardEnabled: boolean;
|
|
6897
6947
|
exportEnabled: boolean;
|
|
6898
6948
|
optimizationStudioEnabled: boolean;
|
|
6899
|
-
costIntelligenceEnabled: boolean;
|
|
6900
6949
|
datasetVersioningEnabled: boolean;
|
|
6901
6950
|
datasetExportEnabled: boolean;
|
|
6902
6951
|
demoDataEnabled: boolean;
|
|
@@ -8446,6 +8495,7 @@ declare class AgentInsightsClient {
|
|
|
8446
8495
|
* reportDay: "2023-01-15",
|
|
8447
8496
|
* issues: [{
|
|
8448
8497
|
* name: "name",
|
|
8498
|
+
* severity: "critical",
|
|
8449
8499
|
* count: 1000000,
|
|
8450
8500
|
* totalCount: 1000000,
|
|
8451
8501
|
* usersImpacted: 1000000,
|
package/dist/index.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ interface AgentInsightsIssueUpdate {
|
|
|
390
390
|
* reportDay: "2023-01-15",
|
|
391
391
|
* issues: [{
|
|
392
392
|
* name: "name",
|
|
393
|
+
* severity: "critical",
|
|
393
394
|
* count: 1000000,
|
|
394
395
|
* totalCount: 1000000,
|
|
395
396
|
* usersImpacted: 1000000,
|
|
@@ -414,6 +415,7 @@ interface FindAgentInsightsIssuesRequest {
|
|
|
414
415
|
fromDate?: string;
|
|
415
416
|
toDate?: string;
|
|
416
417
|
status?: FindAgentInsightsIssuesRequestStatus;
|
|
418
|
+
severity?: FindAgentInsightsIssuesRequestSeverity;
|
|
417
419
|
sorting?: string;
|
|
418
420
|
page?: number;
|
|
419
421
|
size?: number;
|
|
@@ -438,6 +440,14 @@ declare const AgentInsightsIssueUpdateStatus: {
|
|
|
438
440
|
};
|
|
439
441
|
type AgentInsightsIssueUpdateStatus = (typeof AgentInsightsIssueUpdateStatus)[keyof typeof AgentInsightsIssueUpdateStatus];
|
|
440
442
|
|
|
443
|
+
declare const FindAgentInsightsIssuesRequestSeverity: {
|
|
444
|
+
readonly Critical: "critical";
|
|
445
|
+
readonly High: "high";
|
|
446
|
+
readonly Medium: "medium";
|
|
447
|
+
readonly Low: "low";
|
|
448
|
+
};
|
|
449
|
+
type FindAgentInsightsIssuesRequestSeverity = (typeof FindAgentInsightsIssuesRequestSeverity)[keyof typeof FindAgentInsightsIssuesRequestSeverity];
|
|
450
|
+
|
|
441
451
|
declare const FindAgentInsightsIssuesRequestStatus: {
|
|
442
452
|
readonly Open: "open";
|
|
443
453
|
readonly Resolved: "resolved";
|
|
@@ -3026,6 +3036,7 @@ interface DeleteThreadFeedbackScores {
|
|
|
3026
3036
|
threadId: string;
|
|
3027
3037
|
names: string[];
|
|
3028
3038
|
author?: string;
|
|
3039
|
+
sourceQueueId?: string;
|
|
3029
3040
|
}
|
|
3030
3041
|
|
|
3031
3042
|
/**
|
|
@@ -3141,6 +3152,7 @@ interface GetTracesByProjectRequest {
|
|
|
3141
3152
|
search?: string;
|
|
3142
3153
|
fromTime?: Date;
|
|
3143
3154
|
toTime?: Date;
|
|
3155
|
+
annotationQueueId?: string;
|
|
3144
3156
|
}
|
|
3145
3157
|
|
|
3146
3158
|
/**
|
|
@@ -3172,6 +3184,7 @@ interface GetTraceThreadsRequest {
|
|
|
3172
3184
|
search?: string;
|
|
3173
3185
|
fromTime?: Date;
|
|
3174
3186
|
toTime?: Date;
|
|
3187
|
+
annotationQueueId?: string;
|
|
3175
3188
|
}
|
|
3176
3189
|
|
|
3177
3190
|
/**
|
|
@@ -3502,6 +3515,7 @@ interface AgentInsightsIssue {
|
|
|
3502
3515
|
cause?: string;
|
|
3503
3516
|
suggestedFix?: string;
|
|
3504
3517
|
status?: AgentInsightsIssueStatus;
|
|
3518
|
+
severity?: AgentInsightsIssueSeverity;
|
|
3505
3519
|
tracesQuery?: string;
|
|
3506
3520
|
/** SUM(count) over the requested window */
|
|
3507
3521
|
totalOccurrences?: number;
|
|
@@ -3542,6 +3556,14 @@ interface AgentInsightsIssuePage {
|
|
|
3542
3556
|
content?: AgentInsightsIssue[];
|
|
3543
3557
|
}
|
|
3544
3558
|
|
|
3559
|
+
declare const AgentInsightsIssueSeverity: {
|
|
3560
|
+
readonly Critical: "critical";
|
|
3561
|
+
readonly High: "high";
|
|
3562
|
+
readonly Medium: "medium";
|
|
3563
|
+
readonly Low: "low";
|
|
3564
|
+
};
|
|
3565
|
+
type AgentInsightsIssueSeverity = (typeof AgentInsightsIssueSeverity)[keyof typeof AgentInsightsIssueSeverity];
|
|
3566
|
+
|
|
3545
3567
|
declare const AgentInsightsIssueStatus: {
|
|
3546
3568
|
readonly Open: "open";
|
|
3547
3569
|
readonly Resolved: "resolved";
|
|
@@ -3556,6 +3578,7 @@ interface AgentInsightsIssueWithDetails {
|
|
|
3556
3578
|
cause?: string;
|
|
3557
3579
|
suggestedFix?: string;
|
|
3558
3580
|
status?: AgentInsightsIssueWithDetailsStatus;
|
|
3581
|
+
severity?: AgentInsightsIssueWithDetailsSeverity;
|
|
3559
3582
|
tracesQuery?: string;
|
|
3560
3583
|
createdBy?: string;
|
|
3561
3584
|
createdAt?: Date;
|
|
@@ -3565,6 +3588,14 @@ interface AgentInsightsIssueWithDetails {
|
|
|
3565
3588
|
details?: AgentInsightsIssueDetail[];
|
|
3566
3589
|
}
|
|
3567
3590
|
|
|
3591
|
+
declare const AgentInsightsIssueWithDetailsSeverity: {
|
|
3592
|
+
readonly Critical: "critical";
|
|
3593
|
+
readonly High: "high";
|
|
3594
|
+
readonly Medium: "medium";
|
|
3595
|
+
readonly Low: "low";
|
|
3596
|
+
};
|
|
3597
|
+
type AgentInsightsIssueWithDetailsSeverity = (typeof AgentInsightsIssueWithDetailsSeverity)[keyof typeof AgentInsightsIssueWithDetailsSeverity];
|
|
3598
|
+
|
|
3568
3599
|
declare const AgentInsightsIssueWithDetailsStatus: {
|
|
3569
3600
|
readonly Open: "open";
|
|
3570
3601
|
readonly Resolved: "resolved";
|
|
@@ -4463,6 +4494,7 @@ type ColumnTypesItem = (typeof ColumnTypesItem)[keyof typeof ColumnTypesItem];
|
|
|
4463
4494
|
interface Comment {
|
|
4464
4495
|
id?: string;
|
|
4465
4496
|
text: string;
|
|
4497
|
+
sourceQueueId?: string;
|
|
4466
4498
|
createdAt?: Date;
|
|
4467
4499
|
lastUpdatedAt?: Date;
|
|
4468
4500
|
createdBy?: string;
|
|
@@ -4472,6 +4504,7 @@ interface Comment {
|
|
|
4472
4504
|
interface CommentCompare {
|
|
4473
4505
|
id?: string;
|
|
4474
4506
|
text: string;
|
|
4507
|
+
sourceQueueId?: string;
|
|
4475
4508
|
createdAt?: Date;
|
|
4476
4509
|
lastUpdatedAt?: Date;
|
|
4477
4510
|
createdBy?: string;
|
|
@@ -4481,6 +4514,7 @@ interface CommentCompare {
|
|
|
4481
4514
|
interface CommentPublic {
|
|
4482
4515
|
id?: string;
|
|
4483
4516
|
text: string;
|
|
4517
|
+
sourceQueueId?: string;
|
|
4484
4518
|
createdAt?: Date;
|
|
4485
4519
|
lastUpdatedAt?: Date;
|
|
4486
4520
|
createdBy?: string;
|
|
@@ -4964,6 +4998,7 @@ interface DatasetVersionSummaryPublic {
|
|
|
4964
4998
|
interface DeleteFeedbackScore {
|
|
4965
4999
|
name: string;
|
|
4966
5000
|
author?: string;
|
|
5001
|
+
sourceQueueId?: string;
|
|
4967
5002
|
}
|
|
4968
5003
|
|
|
4969
5004
|
interface DeleteIdsHolder {
|
|
@@ -5499,6 +5534,7 @@ interface FeedbackScore {
|
|
|
5499
5534
|
value: number;
|
|
5500
5535
|
reason?: string;
|
|
5501
5536
|
source: FeedbackScoreSource;
|
|
5537
|
+
sourceQueueId?: string;
|
|
5502
5538
|
createdAt?: Date;
|
|
5503
5539
|
lastUpdatedAt?: Date;
|
|
5504
5540
|
createdBy?: string;
|
|
@@ -5535,6 +5571,7 @@ interface FeedbackScoreBatchItem {
|
|
|
5535
5571
|
reason?: string;
|
|
5536
5572
|
source: FeedbackScoreBatchItemSource;
|
|
5537
5573
|
author?: string;
|
|
5574
|
+
sourceQueueId?: string;
|
|
5538
5575
|
id: string;
|
|
5539
5576
|
}
|
|
5540
5577
|
|
|
@@ -5555,6 +5592,7 @@ interface FeedbackScoreBatchItemThread {
|
|
|
5555
5592
|
reason?: string;
|
|
5556
5593
|
source: FeedbackScoreBatchItemThreadSource;
|
|
5557
5594
|
author?: string;
|
|
5595
|
+
sourceQueueId?: string;
|
|
5558
5596
|
threadId: string;
|
|
5559
5597
|
}
|
|
5560
5598
|
|
|
@@ -5571,6 +5609,7 @@ interface FeedbackScoreCompare {
|
|
|
5571
5609
|
value: number;
|
|
5572
5610
|
reason?: string;
|
|
5573
5611
|
source: FeedbackScoreCompareSource;
|
|
5612
|
+
sourceQueueId?: string;
|
|
5574
5613
|
createdAt?: Date;
|
|
5575
5614
|
lastUpdatedAt?: Date;
|
|
5576
5615
|
createdBy?: string;
|
|
@@ -5591,6 +5630,7 @@ interface FeedbackScoreExperimentItemBulkWriteView {
|
|
|
5591
5630
|
value: number;
|
|
5592
5631
|
reason?: string;
|
|
5593
5632
|
source: FeedbackScoreExperimentItemBulkWriteViewSource;
|
|
5633
|
+
sourceQueueId?: string;
|
|
5594
5634
|
createdAt?: Date;
|
|
5595
5635
|
lastUpdatedAt?: Date;
|
|
5596
5636
|
createdBy?: string;
|
|
@@ -5622,6 +5662,7 @@ interface FeedbackScorePublic {
|
|
|
5622
5662
|
value: number;
|
|
5623
5663
|
reason?: string;
|
|
5624
5664
|
source: FeedbackScorePublicSource;
|
|
5665
|
+
sourceQueueId?: string;
|
|
5625
5666
|
createdAt?: Date;
|
|
5626
5667
|
lastUpdatedAt?: Date;
|
|
5627
5668
|
createdBy?: string;
|
|
@@ -6794,6 +6835,7 @@ interface ReportedIssue {
|
|
|
6794
6835
|
cause?: string;
|
|
6795
6836
|
suggestedFix?: string;
|
|
6796
6837
|
tracesQuery?: string;
|
|
6838
|
+
severity: ReportedIssueSeverity;
|
|
6797
6839
|
count: number;
|
|
6798
6840
|
totalCount: number;
|
|
6799
6841
|
usersImpacted: number;
|
|
@@ -6801,6 +6843,14 @@ interface ReportedIssue {
|
|
|
6801
6843
|
metadata?: JsonNode;
|
|
6802
6844
|
}
|
|
6803
6845
|
|
|
6846
|
+
declare const ReportedIssueSeverity: {
|
|
6847
|
+
readonly Critical: "critical";
|
|
6848
|
+
readonly High: "high";
|
|
6849
|
+
readonly Medium: "medium";
|
|
6850
|
+
readonly Low: "low";
|
|
6851
|
+
};
|
|
6852
|
+
type ReportedIssueSeverity = (typeof ReportedIssueSeverity)[keyof typeof ReportedIssueSeverity];
|
|
6853
|
+
|
|
6804
6854
|
interface ReportPreference {
|
|
6805
6855
|
projectId?: string;
|
|
6806
6856
|
enabled?: boolean;
|
|
@@ -6896,7 +6946,6 @@ interface ServiceTogglesConfig {
|
|
|
6896
6946
|
welcomeWizardEnabled: boolean;
|
|
6897
6947
|
exportEnabled: boolean;
|
|
6898
6948
|
optimizationStudioEnabled: boolean;
|
|
6899
|
-
costIntelligenceEnabled: boolean;
|
|
6900
6949
|
datasetVersioningEnabled: boolean;
|
|
6901
6950
|
datasetExportEnabled: boolean;
|
|
6902
6951
|
demoDataEnabled: boolean;
|
|
@@ -8446,6 +8495,7 @@ declare class AgentInsightsClient {
|
|
|
8446
8495
|
* reportDay: "2023-01-15",
|
|
8447
8496
|
* issues: [{
|
|
8448
8497
|
* name: "name",
|
|
8498
|
+
* severity: "critical",
|
|
8449
8499
|
* count: 1000000,
|
|
8450
8500
|
* totalCount: 1000000,
|
|
8451
8501
|
* usersImpacted: 1000000,
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ia}from'./chunk-
|
|
1
|
+
import {Ia}from'./chunk-JV4VZZV2.js';export{va as AgentTaskCompletionJudge,ua as AgentToolCorrectnessJudge,ia as AnswerRelevance,ea as BaseLLMJudgeMetric,F as BaseMetric,G as BaseSuiteEvaluator,s as ChatPrompt,xa as ComplianceRiskJudge,l as ConfigMismatchError,k as ConfigNotFoundError,ba as Contains,B as DEFAULT_EXECUTION_POLICY,m as Dataset,i as DatasetVersion,j as DatasetVersionNotFoundError,pa as DemographicBiasJudge,na as DialogueHelpfulnessJudge,aa as ExactMatch,ja as GEval,ka as GEvalPreset,ra as GenderBiasJudge,ha as Hallucination,da as IsJson,T as LLMJudge,K as ModelConfigurationError,I as ModelError,J as ModelGenerationError,fa as Moderation,Fa as OPIK_PARENT_SPAN_ID_HEADER,Ea as OPIK_TRACE_ID_HEADER,Da as Opik,H as OpikBaseModel,t as OpikQueryLanguage,g as OpikSpanType,qa as PoliticalBiasJudge,r as Prompt,n as PromptType,wa as PromptUncertaintyJudge,oa as QARelevanceJudge,ca as RegexMatch,ta as RegionalBiasJudge,sa as ReligiousBiasJudge,S as ResponseSchema,Q as SYSTEM_PROMPT,ma as SummarizationCoherenceJudge,la as SummarizationConsistencyJudge,E as TASK_ERROR_SCORE_NAME,Ba as TestSuite,C as TestSuiteResult,v as ThreadsAnnotationQueue,u as TracesAnnotationQueue,R as USER_PROMPT_TEMPLATE,ga as Usefulness,M as VercelAIChatModel,y as activateRunner,w as agentConfigContext,D as buildSuiteResult,N as createModel,O as createModelFromInstance,V as deserializeEvaluators,L as detectProvider,c as disableLogger,_ as evaluate,$ as evaluatePrompt,Y as evaluateTestSuite,x as flushAll,h as generateId,Ga as getDistributedTraceHeaders,o as getGlobalClient,z as getTrackContext,e as isTracingActive,a as logger,q as resetGlobalClient,f as resetTracingToConfigDefault,ya as resolveEvaluators,W as resolveExecutionPolicy,X as resolveItemExecutionPolicy,P as resolveModel,Z as runTests,U as serializeEvaluators,p as setGlobalClient,b as setLoggerLevel,d as setTracingActive,A as track,za as validateEvaluators,Aa as validateExecutionPolicy,Ha as z}from'./chunk-JV4VZZV2.js';Ia();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ca}from'./chunk-
|
|
1
|
+
import {Ca}from'./chunk-JV4VZZV2.js';export{B as DEFAULT_EXECUTION_POLICY,Ba as TestSuite,C as TestSuiteResult,D as buildSuiteResult,V as deserializeEvaluators,Y as evaluateTestSuite,W as resolveExecutionPolicy,X as resolveItemExecutionPolicy,Z as runTests,U as serializeEvaluators}from'./chunk-JV4VZZV2.js';Ca();
|