opik 1.8.3 → 1.8.5
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/{Client-D_935KS9.d.cts → Client-2G0t2clK.d.cts} +14 -2
- package/dist/{Client-D_935KS9.d.ts → Client-2G0t2clK.d.ts} +14 -2
- package/dist/chunk-VMXFFSXG.js +9 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/vercel/index.cjs +7 -7
- package/dist/vercel/index.d.cts +1 -1
- package/dist/vercel/index.d.ts +1 -1
- package/dist/vercel/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-DTTZ3ROB.js +0 -9
|
@@ -153,6 +153,7 @@ interface FindDatasetsRequest {
|
|
|
153
153
|
promptId?: string;
|
|
154
154
|
name?: string;
|
|
155
155
|
sorting?: string;
|
|
156
|
+
filters?: string;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
159
|
/**
|
|
@@ -169,6 +170,7 @@ interface DatasetWrite {
|
|
|
169
170
|
id?: string;
|
|
170
171
|
name: string;
|
|
171
172
|
visibility?: DatasetWriteVisibility;
|
|
173
|
+
tags?: string[];
|
|
172
174
|
description?: string;
|
|
173
175
|
}
|
|
174
176
|
|
|
@@ -209,6 +211,7 @@ interface DatasetUpdate {
|
|
|
209
211
|
name: string;
|
|
210
212
|
description?: string;
|
|
211
213
|
visibility?: DatasetUpdateVisibility;
|
|
214
|
+
tags?: string[];
|
|
212
215
|
}
|
|
213
216
|
|
|
214
217
|
/**
|
|
@@ -563,7 +566,7 @@ declare const ProjectUpdateVisibility: {
|
|
|
563
566
|
/**
|
|
564
567
|
* This file was auto-generated by Fern from our API Definition.
|
|
565
568
|
*/
|
|
566
|
-
type ProjectMetricRequestPublicMetricType = "FEEDBACK_SCORES" | "TRACE_COUNT" | "TOKEN_USAGE" | "DURATION" | "COST" | "GUARDRAILS_FAILED_COUNT";
|
|
569
|
+
type ProjectMetricRequestPublicMetricType = "FEEDBACK_SCORES" | "TRACE_COUNT" | "TOKEN_USAGE" | "DURATION" | "COST" | "GUARDRAILS_FAILED_COUNT" | "THREAD_COUNT" | "THREAD_DURATION" | "THREAD_FEEDBACK_SCORES";
|
|
567
570
|
declare const ProjectMetricRequestPublicMetricType: {
|
|
568
571
|
readonly FeedbackScores: "FEEDBACK_SCORES";
|
|
569
572
|
readonly TraceCount: "TRACE_COUNT";
|
|
@@ -571,6 +574,9 @@ declare const ProjectMetricRequestPublicMetricType: {
|
|
|
571
574
|
readonly Duration: "DURATION";
|
|
572
575
|
readonly Cost: "COST";
|
|
573
576
|
readonly GuardrailsFailedCount: "GUARDRAILS_FAILED_COUNT";
|
|
577
|
+
readonly ThreadCount: "THREAD_COUNT";
|
|
578
|
+
readonly ThreadDuration: "THREAD_DURATION";
|
|
579
|
+
readonly ThreadFeedbackScores: "THREAD_FEEDBACK_SCORES";
|
|
574
580
|
};
|
|
575
581
|
|
|
576
582
|
/**
|
|
@@ -2388,6 +2394,7 @@ interface DatasetPagePublic {
|
|
|
2388
2394
|
page?: number;
|
|
2389
2395
|
size?: number;
|
|
2390
2396
|
total?: number;
|
|
2397
|
+
sortableBy?: string[];
|
|
2391
2398
|
}
|
|
2392
2399
|
|
|
2393
2400
|
/**
|
|
@@ -2407,6 +2414,7 @@ interface DatasetPublic {
|
|
|
2407
2414
|
id?: string;
|
|
2408
2415
|
name: string;
|
|
2409
2416
|
visibility?: DatasetPublicVisibility;
|
|
2417
|
+
tags?: string[];
|
|
2410
2418
|
description?: string;
|
|
2411
2419
|
createdAt?: Date;
|
|
2412
2420
|
createdBy?: string;
|
|
@@ -3484,7 +3492,7 @@ interface DataPointNumberPublic {
|
|
|
3484
3492
|
/**
|
|
3485
3493
|
* This file was auto-generated by Fern from our API Definition.
|
|
3486
3494
|
*/
|
|
3487
|
-
type ProjectMetricResponsePublicMetricType = "FEEDBACK_SCORES" | "TRACE_COUNT" | "TOKEN_USAGE" | "DURATION" | "COST" | "GUARDRAILS_FAILED_COUNT";
|
|
3495
|
+
type ProjectMetricResponsePublicMetricType = "FEEDBACK_SCORES" | "TRACE_COUNT" | "TOKEN_USAGE" | "DURATION" | "COST" | "GUARDRAILS_FAILED_COUNT" | "THREAD_COUNT" | "THREAD_DURATION" | "THREAD_FEEDBACK_SCORES";
|
|
3488
3496
|
declare const ProjectMetricResponsePublicMetricType: {
|
|
3489
3497
|
readonly FeedbackScores: "FEEDBACK_SCORES";
|
|
3490
3498
|
readonly TraceCount: "TRACE_COUNT";
|
|
@@ -3492,6 +3500,9 @@ declare const ProjectMetricResponsePublicMetricType: {
|
|
|
3492
3500
|
readonly Duration: "DURATION";
|
|
3493
3501
|
readonly Cost: "COST";
|
|
3494
3502
|
readonly GuardrailsFailedCount: "GUARDRAILS_FAILED_COUNT";
|
|
3503
|
+
readonly ThreadCount: "THREAD_COUNT";
|
|
3504
|
+
readonly ThreadDuration: "THREAD_DURATION";
|
|
3505
|
+
readonly ThreadFeedbackScores: "THREAD_FEEDBACK_SCORES";
|
|
3495
3506
|
};
|
|
3496
3507
|
|
|
3497
3508
|
/**
|
|
@@ -3752,6 +3763,7 @@ interface PromptPagePublic {
|
|
|
3752
3763
|
size?: number;
|
|
3753
3764
|
total?: number;
|
|
3754
3765
|
content?: PromptPublic[];
|
|
3766
|
+
sortableBy?: string[];
|
|
3755
3767
|
}
|
|
3756
3768
|
|
|
3757
3769
|
/**
|
|
@@ -153,6 +153,7 @@ interface FindDatasetsRequest {
|
|
|
153
153
|
promptId?: string;
|
|
154
154
|
name?: string;
|
|
155
155
|
sorting?: string;
|
|
156
|
+
filters?: string;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
159
|
/**
|
|
@@ -169,6 +170,7 @@ interface DatasetWrite {
|
|
|
169
170
|
id?: string;
|
|
170
171
|
name: string;
|
|
171
172
|
visibility?: DatasetWriteVisibility;
|
|
173
|
+
tags?: string[];
|
|
172
174
|
description?: string;
|
|
173
175
|
}
|
|
174
176
|
|
|
@@ -209,6 +211,7 @@ interface DatasetUpdate {
|
|
|
209
211
|
name: string;
|
|
210
212
|
description?: string;
|
|
211
213
|
visibility?: DatasetUpdateVisibility;
|
|
214
|
+
tags?: string[];
|
|
212
215
|
}
|
|
213
216
|
|
|
214
217
|
/**
|
|
@@ -563,7 +566,7 @@ declare const ProjectUpdateVisibility: {
|
|
|
563
566
|
/**
|
|
564
567
|
* This file was auto-generated by Fern from our API Definition.
|
|
565
568
|
*/
|
|
566
|
-
type ProjectMetricRequestPublicMetricType = "FEEDBACK_SCORES" | "TRACE_COUNT" | "TOKEN_USAGE" | "DURATION" | "COST" | "GUARDRAILS_FAILED_COUNT";
|
|
569
|
+
type ProjectMetricRequestPublicMetricType = "FEEDBACK_SCORES" | "TRACE_COUNT" | "TOKEN_USAGE" | "DURATION" | "COST" | "GUARDRAILS_FAILED_COUNT" | "THREAD_COUNT" | "THREAD_DURATION" | "THREAD_FEEDBACK_SCORES";
|
|
567
570
|
declare const ProjectMetricRequestPublicMetricType: {
|
|
568
571
|
readonly FeedbackScores: "FEEDBACK_SCORES";
|
|
569
572
|
readonly TraceCount: "TRACE_COUNT";
|
|
@@ -571,6 +574,9 @@ declare const ProjectMetricRequestPublicMetricType: {
|
|
|
571
574
|
readonly Duration: "DURATION";
|
|
572
575
|
readonly Cost: "COST";
|
|
573
576
|
readonly GuardrailsFailedCount: "GUARDRAILS_FAILED_COUNT";
|
|
577
|
+
readonly ThreadCount: "THREAD_COUNT";
|
|
578
|
+
readonly ThreadDuration: "THREAD_DURATION";
|
|
579
|
+
readonly ThreadFeedbackScores: "THREAD_FEEDBACK_SCORES";
|
|
574
580
|
};
|
|
575
581
|
|
|
576
582
|
/**
|
|
@@ -2388,6 +2394,7 @@ interface DatasetPagePublic {
|
|
|
2388
2394
|
page?: number;
|
|
2389
2395
|
size?: number;
|
|
2390
2396
|
total?: number;
|
|
2397
|
+
sortableBy?: string[];
|
|
2391
2398
|
}
|
|
2392
2399
|
|
|
2393
2400
|
/**
|
|
@@ -2407,6 +2414,7 @@ interface DatasetPublic {
|
|
|
2407
2414
|
id?: string;
|
|
2408
2415
|
name: string;
|
|
2409
2416
|
visibility?: DatasetPublicVisibility;
|
|
2417
|
+
tags?: string[];
|
|
2410
2418
|
description?: string;
|
|
2411
2419
|
createdAt?: Date;
|
|
2412
2420
|
createdBy?: string;
|
|
@@ -3484,7 +3492,7 @@ interface DataPointNumberPublic {
|
|
|
3484
3492
|
/**
|
|
3485
3493
|
* This file was auto-generated by Fern from our API Definition.
|
|
3486
3494
|
*/
|
|
3487
|
-
type ProjectMetricResponsePublicMetricType = "FEEDBACK_SCORES" | "TRACE_COUNT" | "TOKEN_USAGE" | "DURATION" | "COST" | "GUARDRAILS_FAILED_COUNT";
|
|
3495
|
+
type ProjectMetricResponsePublicMetricType = "FEEDBACK_SCORES" | "TRACE_COUNT" | "TOKEN_USAGE" | "DURATION" | "COST" | "GUARDRAILS_FAILED_COUNT" | "THREAD_COUNT" | "THREAD_DURATION" | "THREAD_FEEDBACK_SCORES";
|
|
3488
3496
|
declare const ProjectMetricResponsePublicMetricType: {
|
|
3489
3497
|
readonly FeedbackScores: "FEEDBACK_SCORES";
|
|
3490
3498
|
readonly TraceCount: "TRACE_COUNT";
|
|
@@ -3492,6 +3500,9 @@ declare const ProjectMetricResponsePublicMetricType: {
|
|
|
3492
3500
|
readonly Duration: "DURATION";
|
|
3493
3501
|
readonly Cost: "COST";
|
|
3494
3502
|
readonly GuardrailsFailedCount: "GUARDRAILS_FAILED_COUNT";
|
|
3503
|
+
readonly ThreadCount: "THREAD_COUNT";
|
|
3504
|
+
readonly ThreadDuration: "THREAD_DURATION";
|
|
3505
|
+
readonly ThreadFeedbackScores: "THREAD_FEEDBACK_SCORES";
|
|
3495
3506
|
};
|
|
3496
3507
|
|
|
3497
3508
|
/**
|
|
@@ -3752,6 +3763,7 @@ interface PromptPagePublic {
|
|
|
3752
3763
|
size?: number;
|
|
3753
3764
|
total?: number;
|
|
3754
3765
|
content?: PromptPublic[];
|
|
3766
|
+
sortableBy?: string[];
|
|
3755
3767
|
}
|
|
3756
3768
|
|
|
3757
3769
|
/**
|