opik 1.9.56 → 1.9.58
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/index.cjs +27 -27
- package/dist/index.d.cts +31 -4
- package/dist/index.d.ts +31 -4
- package/dist/index.js +25 -25
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2702,7 +2702,10 @@ declare namespace AutomationRuleEvaluatorWrite {
|
|
|
2702
2702
|
type: "span_user_defined_metric_python";
|
|
2703
2703
|
}
|
|
2704
2704
|
interface _Base {
|
|
2705
|
-
|
|
2705
|
+
/** Primary project ID (legacy field for backwards compatibility) */
|
|
2706
|
+
projectId?: string;
|
|
2707
|
+
/** Project IDs for write operations (used when creating/updating rules) */
|
|
2708
|
+
projectIds?: string[];
|
|
2706
2709
|
name: string;
|
|
2707
2710
|
samplingRate?: number;
|
|
2708
2711
|
enabled?: boolean;
|
|
@@ -2984,8 +2987,12 @@ declare namespace AutomationRuleEvaluatorObjectObjectPublic {
|
|
|
2984
2987
|
}
|
|
2985
2988
|
interface _Base {
|
|
2986
2989
|
id?: string;
|
|
2987
|
-
|
|
2990
|
+
/** Primary project ID (legacy field for backwards compatibility) */
|
|
2991
|
+
projectId?: string;
|
|
2992
|
+
/** Primary project name (legacy field for backwards compatibility) */
|
|
2988
2993
|
projectName?: string;
|
|
2994
|
+
/** Projects assigned to this rule (unique, sorted alphabetically by name) */
|
|
2995
|
+
projects?: ProjectReferencePublic[];
|
|
2989
2996
|
name: string;
|
|
2990
2997
|
samplingRate?: number;
|
|
2991
2998
|
enabled?: boolean;
|
|
@@ -3145,6 +3152,19 @@ interface LlmAsJudgeOutputSchemaPublic {
|
|
|
3145
3152
|
description: string;
|
|
3146
3153
|
}
|
|
3147
3154
|
|
|
3155
|
+
/**
|
|
3156
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3157
|
+
*/
|
|
3158
|
+
/**
|
|
3159
|
+
* Project reference with ID and name
|
|
3160
|
+
*/
|
|
3161
|
+
interface ProjectReferencePublic {
|
|
3162
|
+
/** Project ID */
|
|
3163
|
+
projectId: string;
|
|
3164
|
+
/** Project name */
|
|
3165
|
+
projectName: string;
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3148
3168
|
/**
|
|
3149
3169
|
* This file was auto-generated by Fern from our API Definition.
|
|
3150
3170
|
*/
|
|
@@ -3312,8 +3332,12 @@ declare namespace AutomationRuleEvaluatorPublic {
|
|
|
3312
3332
|
}
|
|
3313
3333
|
interface _Base {
|
|
3314
3334
|
id?: string;
|
|
3315
|
-
|
|
3335
|
+
/** Primary project ID (legacy field for backwards compatibility) */
|
|
3336
|
+
projectId?: string;
|
|
3337
|
+
/** Primary project name (legacy field for backwards compatibility) */
|
|
3316
3338
|
projectName?: string;
|
|
3339
|
+
/** Projects assigned to this rule (unique, sorted alphabetically by name) */
|
|
3340
|
+
projects?: ProjectReferencePublic[];
|
|
3317
3341
|
name: string;
|
|
3318
3342
|
samplingRate?: number;
|
|
3319
3343
|
enabled?: boolean;
|
|
@@ -3388,7 +3412,10 @@ declare namespace AutomationRuleEvaluatorUpdate {
|
|
|
3388
3412
|
name: string;
|
|
3389
3413
|
samplingRate?: number;
|
|
3390
3414
|
enabled?: boolean;
|
|
3391
|
-
|
|
3415
|
+
/** Primary project ID (legacy field, maintained for backwards compatibility) */
|
|
3416
|
+
projectId?: string;
|
|
3417
|
+
/** Multiple project IDs (new field for multi-project support) */
|
|
3418
|
+
projectIds?: string[];
|
|
3392
3419
|
action: "evaluator";
|
|
3393
3420
|
}
|
|
3394
3421
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2702,7 +2702,10 @@ declare namespace AutomationRuleEvaluatorWrite {
|
|
|
2702
2702
|
type: "span_user_defined_metric_python";
|
|
2703
2703
|
}
|
|
2704
2704
|
interface _Base {
|
|
2705
|
-
|
|
2705
|
+
/** Primary project ID (legacy field for backwards compatibility) */
|
|
2706
|
+
projectId?: string;
|
|
2707
|
+
/** Project IDs for write operations (used when creating/updating rules) */
|
|
2708
|
+
projectIds?: string[];
|
|
2706
2709
|
name: string;
|
|
2707
2710
|
samplingRate?: number;
|
|
2708
2711
|
enabled?: boolean;
|
|
@@ -2984,8 +2987,12 @@ declare namespace AutomationRuleEvaluatorObjectObjectPublic {
|
|
|
2984
2987
|
}
|
|
2985
2988
|
interface _Base {
|
|
2986
2989
|
id?: string;
|
|
2987
|
-
|
|
2990
|
+
/** Primary project ID (legacy field for backwards compatibility) */
|
|
2991
|
+
projectId?: string;
|
|
2992
|
+
/** Primary project name (legacy field for backwards compatibility) */
|
|
2988
2993
|
projectName?: string;
|
|
2994
|
+
/** Projects assigned to this rule (unique, sorted alphabetically by name) */
|
|
2995
|
+
projects?: ProjectReferencePublic[];
|
|
2989
2996
|
name: string;
|
|
2990
2997
|
samplingRate?: number;
|
|
2991
2998
|
enabled?: boolean;
|
|
@@ -3145,6 +3152,19 @@ interface LlmAsJudgeOutputSchemaPublic {
|
|
|
3145
3152
|
description: string;
|
|
3146
3153
|
}
|
|
3147
3154
|
|
|
3155
|
+
/**
|
|
3156
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3157
|
+
*/
|
|
3158
|
+
/**
|
|
3159
|
+
* Project reference with ID and name
|
|
3160
|
+
*/
|
|
3161
|
+
interface ProjectReferencePublic {
|
|
3162
|
+
/** Project ID */
|
|
3163
|
+
projectId: string;
|
|
3164
|
+
/** Project name */
|
|
3165
|
+
projectName: string;
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3148
3168
|
/**
|
|
3149
3169
|
* This file was auto-generated by Fern from our API Definition.
|
|
3150
3170
|
*/
|
|
@@ -3312,8 +3332,12 @@ declare namespace AutomationRuleEvaluatorPublic {
|
|
|
3312
3332
|
}
|
|
3313
3333
|
interface _Base {
|
|
3314
3334
|
id?: string;
|
|
3315
|
-
|
|
3335
|
+
/** Primary project ID (legacy field for backwards compatibility) */
|
|
3336
|
+
projectId?: string;
|
|
3337
|
+
/** Primary project name (legacy field for backwards compatibility) */
|
|
3316
3338
|
projectName?: string;
|
|
3339
|
+
/** Projects assigned to this rule (unique, sorted alphabetically by name) */
|
|
3340
|
+
projects?: ProjectReferencePublic[];
|
|
3317
3341
|
name: string;
|
|
3318
3342
|
samplingRate?: number;
|
|
3319
3343
|
enabled?: boolean;
|
|
@@ -3388,7 +3412,10 @@ declare namespace AutomationRuleEvaluatorUpdate {
|
|
|
3388
3412
|
name: string;
|
|
3389
3413
|
samplingRate?: number;
|
|
3390
3414
|
enabled?: boolean;
|
|
3391
|
-
|
|
3415
|
+
/** Primary project ID (legacy field, maintained for backwards compatibility) */
|
|
3416
|
+
projectId?: string;
|
|
3417
|
+
/** Multiple project IDs (new field for multi-project support) */
|
|
3418
|
+
projectIds?: string[];
|
|
3392
3419
|
action: "evaluator";
|
|
3393
3420
|
}
|
|
3394
3421
|
}
|