opik 2.0.51 → 2.0.53
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-ESJEX6P3.js +404 -0
- package/dist/index.cjs +36 -36
- package/dist/index.d.cts +59 -6
- package/dist/index.d.ts +59 -6
- package/dist/index.js +1 -1
- package/dist/{suite-GXAXIC24.js → suite-QQADPYMX.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-NA3QFMTH.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -5312,7 +5312,9 @@ interface KpiCardResponse {
|
|
|
5312
5312
|
|
|
5313
5313
|
interface KpiMetric {
|
|
5314
5314
|
type?: KpiMetricType;
|
|
5315
|
+
/** Metric value for the current period. Unit depends on `type`: `count` is an integer count; `errors` is a percentage in [0, 100]; `avg_duration` is milliseconds; `total_cost` is in USD. */
|
|
5315
5316
|
currentValue?: number;
|
|
5317
|
+
/** Metric value for the immediately preceding period of equal length. Same unit as `current_value`. */
|
|
5316
5318
|
previousValue?: number;
|
|
5317
5319
|
}
|
|
5318
5320
|
|
|
@@ -6055,6 +6057,8 @@ interface PromptVersionDetail {
|
|
|
6055
6057
|
type?: PromptVersionDetailType;
|
|
6056
6058
|
/** version type discriminator; defaults to prompt_version */
|
|
6057
6059
|
versionType?: PromptVersionDetailVersionType;
|
|
6060
|
+
/** Deprecated: use 'environments' instead */
|
|
6061
|
+
environment?: string;
|
|
6058
6062
|
environments?: string[];
|
|
6059
6063
|
changeDescription?: string;
|
|
6060
6064
|
tags?: string[];
|
|
@@ -6087,6 +6091,8 @@ type PromptVersionDetailVersionType = (typeof PromptVersionDetailVersionType)[ke
|
|
|
6087
6091
|
interface PromptVersionLink {
|
|
6088
6092
|
id: string;
|
|
6089
6093
|
commit?: string;
|
|
6094
|
+
/** sequential version number in the format v<N>; null for masks */
|
|
6095
|
+
versionNumber?: string;
|
|
6090
6096
|
promptId?: string;
|
|
6091
6097
|
promptName?: string;
|
|
6092
6098
|
}
|
|
@@ -6123,6 +6129,8 @@ interface PromptVersionPublic {
|
|
|
6123
6129
|
type?: PromptVersionPublicType;
|
|
6124
6130
|
/** version type discriminator; defaults to prompt_version */
|
|
6125
6131
|
versionType?: PromptVersionPublicVersionType;
|
|
6132
|
+
/** Deprecated: use 'environments' instead */
|
|
6133
|
+
environment?: string;
|
|
6126
6134
|
environments?: string[];
|
|
6127
6135
|
changeDescription?: string;
|
|
6128
6136
|
tags?: string[];
|
|
@@ -12182,6 +12190,11 @@ interface GetPromptOptions {
|
|
|
12182
12190
|
version?: string;
|
|
12183
12191
|
/** Optional project name to scope the lookup. */
|
|
12184
12192
|
projectName?: string;
|
|
12193
|
+
/**
|
|
12194
|
+
* Optional environment name. Resolves to the version currently owned by that
|
|
12195
|
+
* workspace environment. Mutually exclusive with `commit`.
|
|
12196
|
+
*/
|
|
12197
|
+
environment?: string;
|
|
12185
12198
|
}
|
|
12186
12199
|
/**
|
|
12187
12200
|
* Variables to be substituted into prompt template.
|
|
@@ -12258,7 +12271,6 @@ declare class PromptVersion {
|
|
|
12258
12271
|
readonly commit: string;
|
|
12259
12272
|
/**
|
|
12260
12273
|
* Sequential version identifier of this prompt version (e.g. `"v3"`).
|
|
12261
|
-
* Undefined for mask versions, which do not carry a version number.
|
|
12262
12274
|
*/
|
|
12263
12275
|
readonly version?: string;
|
|
12264
12276
|
readonly type: PromptType;
|
|
@@ -12279,7 +12291,7 @@ declare class PromptVersion {
|
|
|
12279
12291
|
/**
|
|
12280
12292
|
* Get formatted version information string.
|
|
12281
12293
|
* Format: "[v3] YYYY-MM-DD by user@email.com - Change description"
|
|
12282
|
-
* (falls back to the commit hash
|
|
12294
|
+
* (falls back to the commit hash when no version number is present).
|
|
12283
12295
|
*/
|
|
12284
12296
|
getVersionInfo(): string;
|
|
12285
12297
|
/**
|
|
@@ -12333,6 +12345,8 @@ interface BasePromptData {
|
|
|
12333
12345
|
templateStructure?: PromptTemplateStructure;
|
|
12334
12346
|
synced?: boolean;
|
|
12335
12347
|
projectName?: string;
|
|
12348
|
+
/** Optional environments that own this prompt version. */
|
|
12349
|
+
environments?: string[];
|
|
12336
12350
|
}
|
|
12337
12351
|
/**
|
|
12338
12352
|
* Abstract base class for all prompt types.
|
|
@@ -12346,6 +12360,7 @@ declare abstract class BasePrompt {
|
|
|
12346
12360
|
private _synced;
|
|
12347
12361
|
private _changeDescription;
|
|
12348
12362
|
private _projectName;
|
|
12363
|
+
private _environments;
|
|
12349
12364
|
readonly type: PromptType;
|
|
12350
12365
|
readonly templateStructure: PromptTemplateStructure;
|
|
12351
12366
|
protected _name: string;
|
|
@@ -12363,6 +12378,11 @@ declare abstract class BasePrompt {
|
|
|
12363
12378
|
get synced(): boolean;
|
|
12364
12379
|
get changeDescription(): string | undefined;
|
|
12365
12380
|
get projectName(): string | undefined;
|
|
12381
|
+
/**
|
|
12382
|
+
* The environments that own this prompt version. Returns an empty array
|
|
12383
|
+
* if the version is not associated with any environment.
|
|
12384
|
+
*/
|
|
12385
|
+
get environments(): readonly string[];
|
|
12366
12386
|
constructor(data: BasePromptData, opik?: OpikClient);
|
|
12367
12387
|
/**
|
|
12368
12388
|
* Updates internal state after a successful background sync.
|
|
@@ -12375,6 +12395,7 @@ declare abstract class BasePrompt {
|
|
|
12375
12395
|
changeDescription?: string;
|
|
12376
12396
|
tags?: string[];
|
|
12377
12397
|
projectName?: string;
|
|
12398
|
+
environments?: string[];
|
|
12378
12399
|
}): void;
|
|
12379
12400
|
/**
|
|
12380
12401
|
* Shared background-sync helper for subclass constructors.
|
|
@@ -14310,14 +14331,18 @@ declare class OpikClient {
|
|
|
14310
14331
|
* default 300s). When called inside a track() context the prompt reference
|
|
14311
14332
|
* is injected into the active trace/span metadata.
|
|
14312
14333
|
*
|
|
14313
|
-
* @param options - Prompt name and optional version pin
|
|
14334
|
+
* @param options - Prompt name and optional version pin or environment
|
|
14314
14335
|
* @param options.name - Name of the prompt
|
|
14315
14336
|
* @param options.version - Sequential version identifier (e.g. `"v3"`). If not
|
|
14316
14337
|
* provided, the latest version is returned.
|
|
14317
14338
|
* @param options.commit - **Deprecated.** Use `version` instead.
|
|
14318
14339
|
* @param options.projectName - Optional project scope.
|
|
14340
|
+
* @param options.environment - Optional environment name. Resolves to the version
|
|
14341
|
+
* currently owned by that workspace environment. Mutually exclusive with both
|
|
14342
|
+
* `commit` and `version`.
|
|
14319
14343
|
* @returns Promise resolving to Prompt or null if not found
|
|
14320
|
-
* @throws Error if both `commit` and `version` are provided
|
|
14344
|
+
* @throws Error if both `commit` and `version` are provided, or if `environment` is
|
|
14345
|
+
* combined with either `commit` or `version`
|
|
14321
14346
|
* @throws PromptTemplateStructureMismatch if prompt exists but is a chat prompt
|
|
14322
14347
|
*/
|
|
14323
14348
|
getPrompt: (options: GetPromptOptions) => Promise<Prompt | null>;
|
|
@@ -14327,14 +14352,18 @@ declare class OpikClient {
|
|
|
14327
14352
|
* default 300s). When called inside a track() context the prompt reference
|
|
14328
14353
|
* is injected into the active trace/span metadata.
|
|
14329
14354
|
*
|
|
14330
|
-
* @param options - Prompt name and optional version pin
|
|
14355
|
+
* @param options - Prompt name and optional version pin or environment
|
|
14331
14356
|
* @param options.name - Name of the prompt
|
|
14332
14357
|
* @param options.version - Sequential version identifier (e.g. `"v3"`). If not
|
|
14333
14358
|
* provided, the latest version is returned.
|
|
14334
14359
|
* @param options.commit - **Deprecated.** Use `version` instead.
|
|
14335
14360
|
* @param options.projectName - Optional project scope.
|
|
14361
|
+
* @param options.environment - Optional environment name. Resolves to the version
|
|
14362
|
+
* currently owned by that workspace environment. Mutually exclusive with both
|
|
14363
|
+
* `commit` and `version`.
|
|
14336
14364
|
* @returns Promise resolving to ChatPrompt or null if not found
|
|
14337
|
-
* @throws Error if both `commit` and `version` are provided
|
|
14365
|
+
* @throws Error if both `commit` and `version` are provided, or if `environment` is
|
|
14366
|
+
* combined with either `commit` or `version`
|
|
14338
14367
|
* @throws PromptTemplateStructureMismatch if prompt exists but is a text prompt
|
|
14339
14368
|
*
|
|
14340
14369
|
* @example
|
|
@@ -14405,6 +14434,30 @@ declare class OpikClient {
|
|
|
14405
14434
|
* @param ids - Array of prompt container IDs to delete
|
|
14406
14435
|
*/
|
|
14407
14436
|
deletePrompts: (ids: string[]) => Promise<void>;
|
|
14437
|
+
/**
|
|
14438
|
+
* Assigns a prompt version to an environment, or clears the assignment.
|
|
14439
|
+
*
|
|
14440
|
+
* Replace the full set of environments owned by a prompt version. The
|
|
14441
|
+
* provided list becomes the resolved version's complete set of environments.
|
|
14442
|
+
* Pass an empty array to clear all environments. Any other version of the
|
|
14443
|
+
* same prompt that previously owned one of the listed environments is
|
|
14444
|
+
* cleared. Existing prompt objects already in memory are not mutated —
|
|
14445
|
+
* re-fetch with `client.getPrompt(...)` to see the change.
|
|
14446
|
+
*
|
|
14447
|
+
* @param options.promptName - Name of the prompt
|
|
14448
|
+
* @param options.environments - Environments to assign. Each must already be registered in the workspace. Pass `[]` to clear.
|
|
14449
|
+
* @param options.version - Sequential version selector in the wire format `"v<N>"` (e.g. `"v3"`). Defaults to the latest version.
|
|
14450
|
+
* @param options.projectName - Project the prompt belongs to. Defaults to the client's project.
|
|
14451
|
+
*
|
|
14452
|
+
* @throws {PromptNotFoundError} The prompt name (or the supplied `version`) does not exist in the resolved project.
|
|
14453
|
+
* @throws {EnvironmentNotFoundError} One of `environments` is not registered in the workspace.
|
|
14454
|
+
*/
|
|
14455
|
+
setPromptEnvironments: (options: {
|
|
14456
|
+
promptName: string;
|
|
14457
|
+
environments: string[];
|
|
14458
|
+
version?: string;
|
|
14459
|
+
projectName?: string;
|
|
14460
|
+
}) => Promise<void>;
|
|
14408
14461
|
/**
|
|
14409
14462
|
* Search for traces in the given project. Optionally, you can wait for at least a certain number of traces
|
|
14410
14463
|
* to be found before returning within the specified timeout.
|
package/dist/index.d.ts
CHANGED
|
@@ -5312,7 +5312,9 @@ interface KpiCardResponse {
|
|
|
5312
5312
|
|
|
5313
5313
|
interface KpiMetric {
|
|
5314
5314
|
type?: KpiMetricType;
|
|
5315
|
+
/** Metric value for the current period. Unit depends on `type`: `count` is an integer count; `errors` is a percentage in [0, 100]; `avg_duration` is milliseconds; `total_cost` is in USD. */
|
|
5315
5316
|
currentValue?: number;
|
|
5317
|
+
/** Metric value for the immediately preceding period of equal length. Same unit as `current_value`. */
|
|
5316
5318
|
previousValue?: number;
|
|
5317
5319
|
}
|
|
5318
5320
|
|
|
@@ -6055,6 +6057,8 @@ interface PromptVersionDetail {
|
|
|
6055
6057
|
type?: PromptVersionDetailType;
|
|
6056
6058
|
/** version type discriminator; defaults to prompt_version */
|
|
6057
6059
|
versionType?: PromptVersionDetailVersionType;
|
|
6060
|
+
/** Deprecated: use 'environments' instead */
|
|
6061
|
+
environment?: string;
|
|
6058
6062
|
environments?: string[];
|
|
6059
6063
|
changeDescription?: string;
|
|
6060
6064
|
tags?: string[];
|
|
@@ -6087,6 +6091,8 @@ type PromptVersionDetailVersionType = (typeof PromptVersionDetailVersionType)[ke
|
|
|
6087
6091
|
interface PromptVersionLink {
|
|
6088
6092
|
id: string;
|
|
6089
6093
|
commit?: string;
|
|
6094
|
+
/** sequential version number in the format v<N>; null for masks */
|
|
6095
|
+
versionNumber?: string;
|
|
6090
6096
|
promptId?: string;
|
|
6091
6097
|
promptName?: string;
|
|
6092
6098
|
}
|
|
@@ -6123,6 +6129,8 @@ interface PromptVersionPublic {
|
|
|
6123
6129
|
type?: PromptVersionPublicType;
|
|
6124
6130
|
/** version type discriminator; defaults to prompt_version */
|
|
6125
6131
|
versionType?: PromptVersionPublicVersionType;
|
|
6132
|
+
/** Deprecated: use 'environments' instead */
|
|
6133
|
+
environment?: string;
|
|
6126
6134
|
environments?: string[];
|
|
6127
6135
|
changeDescription?: string;
|
|
6128
6136
|
tags?: string[];
|
|
@@ -12182,6 +12190,11 @@ interface GetPromptOptions {
|
|
|
12182
12190
|
version?: string;
|
|
12183
12191
|
/** Optional project name to scope the lookup. */
|
|
12184
12192
|
projectName?: string;
|
|
12193
|
+
/**
|
|
12194
|
+
* Optional environment name. Resolves to the version currently owned by that
|
|
12195
|
+
* workspace environment. Mutually exclusive with `commit`.
|
|
12196
|
+
*/
|
|
12197
|
+
environment?: string;
|
|
12185
12198
|
}
|
|
12186
12199
|
/**
|
|
12187
12200
|
* Variables to be substituted into prompt template.
|
|
@@ -12258,7 +12271,6 @@ declare class PromptVersion {
|
|
|
12258
12271
|
readonly commit: string;
|
|
12259
12272
|
/**
|
|
12260
12273
|
* Sequential version identifier of this prompt version (e.g. `"v3"`).
|
|
12261
|
-
* Undefined for mask versions, which do not carry a version number.
|
|
12262
12274
|
*/
|
|
12263
12275
|
readonly version?: string;
|
|
12264
12276
|
readonly type: PromptType;
|
|
@@ -12279,7 +12291,7 @@ declare class PromptVersion {
|
|
|
12279
12291
|
/**
|
|
12280
12292
|
* Get formatted version information string.
|
|
12281
12293
|
* Format: "[v3] YYYY-MM-DD by user@email.com - Change description"
|
|
12282
|
-
* (falls back to the commit hash
|
|
12294
|
+
* (falls back to the commit hash when no version number is present).
|
|
12283
12295
|
*/
|
|
12284
12296
|
getVersionInfo(): string;
|
|
12285
12297
|
/**
|
|
@@ -12333,6 +12345,8 @@ interface BasePromptData {
|
|
|
12333
12345
|
templateStructure?: PromptTemplateStructure;
|
|
12334
12346
|
synced?: boolean;
|
|
12335
12347
|
projectName?: string;
|
|
12348
|
+
/** Optional environments that own this prompt version. */
|
|
12349
|
+
environments?: string[];
|
|
12336
12350
|
}
|
|
12337
12351
|
/**
|
|
12338
12352
|
* Abstract base class for all prompt types.
|
|
@@ -12346,6 +12360,7 @@ declare abstract class BasePrompt {
|
|
|
12346
12360
|
private _synced;
|
|
12347
12361
|
private _changeDescription;
|
|
12348
12362
|
private _projectName;
|
|
12363
|
+
private _environments;
|
|
12349
12364
|
readonly type: PromptType;
|
|
12350
12365
|
readonly templateStructure: PromptTemplateStructure;
|
|
12351
12366
|
protected _name: string;
|
|
@@ -12363,6 +12378,11 @@ declare abstract class BasePrompt {
|
|
|
12363
12378
|
get synced(): boolean;
|
|
12364
12379
|
get changeDescription(): string | undefined;
|
|
12365
12380
|
get projectName(): string | undefined;
|
|
12381
|
+
/**
|
|
12382
|
+
* The environments that own this prompt version. Returns an empty array
|
|
12383
|
+
* if the version is not associated with any environment.
|
|
12384
|
+
*/
|
|
12385
|
+
get environments(): readonly string[];
|
|
12366
12386
|
constructor(data: BasePromptData, opik?: OpikClient);
|
|
12367
12387
|
/**
|
|
12368
12388
|
* Updates internal state after a successful background sync.
|
|
@@ -12375,6 +12395,7 @@ declare abstract class BasePrompt {
|
|
|
12375
12395
|
changeDescription?: string;
|
|
12376
12396
|
tags?: string[];
|
|
12377
12397
|
projectName?: string;
|
|
12398
|
+
environments?: string[];
|
|
12378
12399
|
}): void;
|
|
12379
12400
|
/**
|
|
12380
12401
|
* Shared background-sync helper for subclass constructors.
|
|
@@ -14310,14 +14331,18 @@ declare class OpikClient {
|
|
|
14310
14331
|
* default 300s). When called inside a track() context the prompt reference
|
|
14311
14332
|
* is injected into the active trace/span metadata.
|
|
14312
14333
|
*
|
|
14313
|
-
* @param options - Prompt name and optional version pin
|
|
14334
|
+
* @param options - Prompt name and optional version pin or environment
|
|
14314
14335
|
* @param options.name - Name of the prompt
|
|
14315
14336
|
* @param options.version - Sequential version identifier (e.g. `"v3"`). If not
|
|
14316
14337
|
* provided, the latest version is returned.
|
|
14317
14338
|
* @param options.commit - **Deprecated.** Use `version` instead.
|
|
14318
14339
|
* @param options.projectName - Optional project scope.
|
|
14340
|
+
* @param options.environment - Optional environment name. Resolves to the version
|
|
14341
|
+
* currently owned by that workspace environment. Mutually exclusive with both
|
|
14342
|
+
* `commit` and `version`.
|
|
14319
14343
|
* @returns Promise resolving to Prompt or null if not found
|
|
14320
|
-
* @throws Error if both `commit` and `version` are provided
|
|
14344
|
+
* @throws Error if both `commit` and `version` are provided, or if `environment` is
|
|
14345
|
+
* combined with either `commit` or `version`
|
|
14321
14346
|
* @throws PromptTemplateStructureMismatch if prompt exists but is a chat prompt
|
|
14322
14347
|
*/
|
|
14323
14348
|
getPrompt: (options: GetPromptOptions) => Promise<Prompt | null>;
|
|
@@ -14327,14 +14352,18 @@ declare class OpikClient {
|
|
|
14327
14352
|
* default 300s). When called inside a track() context the prompt reference
|
|
14328
14353
|
* is injected into the active trace/span metadata.
|
|
14329
14354
|
*
|
|
14330
|
-
* @param options - Prompt name and optional version pin
|
|
14355
|
+
* @param options - Prompt name and optional version pin or environment
|
|
14331
14356
|
* @param options.name - Name of the prompt
|
|
14332
14357
|
* @param options.version - Sequential version identifier (e.g. `"v3"`). If not
|
|
14333
14358
|
* provided, the latest version is returned.
|
|
14334
14359
|
* @param options.commit - **Deprecated.** Use `version` instead.
|
|
14335
14360
|
* @param options.projectName - Optional project scope.
|
|
14361
|
+
* @param options.environment - Optional environment name. Resolves to the version
|
|
14362
|
+
* currently owned by that workspace environment. Mutually exclusive with both
|
|
14363
|
+
* `commit` and `version`.
|
|
14336
14364
|
* @returns Promise resolving to ChatPrompt or null if not found
|
|
14337
|
-
* @throws Error if both `commit` and `version` are provided
|
|
14365
|
+
* @throws Error if both `commit` and `version` are provided, or if `environment` is
|
|
14366
|
+
* combined with either `commit` or `version`
|
|
14338
14367
|
* @throws PromptTemplateStructureMismatch if prompt exists but is a text prompt
|
|
14339
14368
|
*
|
|
14340
14369
|
* @example
|
|
@@ -14405,6 +14434,30 @@ declare class OpikClient {
|
|
|
14405
14434
|
* @param ids - Array of prompt container IDs to delete
|
|
14406
14435
|
*/
|
|
14407
14436
|
deletePrompts: (ids: string[]) => Promise<void>;
|
|
14437
|
+
/**
|
|
14438
|
+
* Assigns a prompt version to an environment, or clears the assignment.
|
|
14439
|
+
*
|
|
14440
|
+
* Replace the full set of environments owned by a prompt version. The
|
|
14441
|
+
* provided list becomes the resolved version's complete set of environments.
|
|
14442
|
+
* Pass an empty array to clear all environments. Any other version of the
|
|
14443
|
+
* same prompt that previously owned one of the listed environments is
|
|
14444
|
+
* cleared. Existing prompt objects already in memory are not mutated —
|
|
14445
|
+
* re-fetch with `client.getPrompt(...)` to see the change.
|
|
14446
|
+
*
|
|
14447
|
+
* @param options.promptName - Name of the prompt
|
|
14448
|
+
* @param options.environments - Environments to assign. Each must already be registered in the workspace. Pass `[]` to clear.
|
|
14449
|
+
* @param options.version - Sequential version selector in the wire format `"v<N>"` (e.g. `"v3"`). Defaults to the latest version.
|
|
14450
|
+
* @param options.projectName - Project the prompt belongs to. Defaults to the client's project.
|
|
14451
|
+
*
|
|
14452
|
+
* @throws {PromptNotFoundError} The prompt name (or the supplied `version`) does not exist in the resolved project.
|
|
14453
|
+
* @throws {EnvironmentNotFoundError} One of `environments` is not registered in the workspace.
|
|
14454
|
+
*/
|
|
14455
|
+
setPromptEnvironments: (options: {
|
|
14456
|
+
promptName: string;
|
|
14457
|
+
environments: string[];
|
|
14458
|
+
version?: string;
|
|
14459
|
+
projectName?: string;
|
|
14460
|
+
}) => Promise<void>;
|
|
14408
14461
|
/**
|
|
14409
14462
|
* Search for traces in the given project. Optionally, you can wait for at least a certain number of traces
|
|
14410
14463
|
* to be found before returning within the specified timeout.
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Fa}from'./chunk-
|
|
1
|
+
import {Fa}from'./chunk-ESJEX6P3.js';export{sa as AgentTaskCompletionJudge,ra as AgentToolCorrectnessJudge,fa as AnswerRelevance,ba as BaseLLMJudgeMetric,C as BaseMetric,D as BaseSuiteEvaluator,p as ChatPrompt,ua as ComplianceRiskJudge,i as ConfigMismatchError,h as ConfigNotFoundError,_ as Contains,y as DEFAULT_EXECUTION_POLICY,j as Dataset,f as DatasetVersion,g as DatasetVersionNotFoundError,ma as DemographicBiasJudge,ka as DialogueHelpfulnessJudge,Z as ExactMatch,ga as GEval,ha as GEvalPreset,oa as GenderBiasJudge,ea as Hallucination,aa as IsJson,Q as LLMJudge,H as ModelConfigurationError,F as ModelError,G as ModelGenerationError,ca as Moderation,Ca as OPIK_PARENT_SPAN_ID_HEADER,Ba as OPIK_TRACE_ID_HEADER,Aa as Opik,E as OpikBaseModel,q as OpikQueryLanguage,d as OpikSpanType,na as PoliticalBiasJudge,o as Prompt,k as PromptType,ta as PromptUncertaintyJudge,la as QARelevanceJudge,$ as RegexMatch,qa as RegionalBiasJudge,pa as ReligiousBiasJudge,P as ResponseSchema,N as SYSTEM_PROMPT,ja as SummarizationCoherenceJudge,ia as SummarizationConsistencyJudge,B as TASK_ERROR_SCORE_NAME,ya as TestSuite,z as TestSuiteResult,s as ThreadsAnnotationQueue,r as TracesAnnotationQueue,O as USER_PROMPT_TEMPLATE,da as Usefulness,J as VercelAIChatModel,v as activateRunner,t as agentConfigContext,A as buildSuiteResult,K as createModel,L as createModelFromInstance,S as deserializeEvaluators,I as detectProvider,c as disableLogger,X as evaluate,Y as evaluatePrompt,V as evaluateTestSuite,u as flushAll,e as generateId,Da as getDistributedTraceHeaders,l as getGlobalClient,w as getTrackContext,a as logger,n as resetGlobalClient,va as resolveEvaluators,T as resolveExecutionPolicy,U as resolveItemExecutionPolicy,M as resolveModel,W as runTests,R as serializeEvaluators,m as setGlobalClient,b as setLoggerLevel,x as track,wa as validateEvaluators,xa as validateExecutionPolicy,Ea as z}from'./chunk-ESJEX6P3.js';Fa();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {za}from'./chunk-
|
|
1
|
+
import {za}from'./chunk-ESJEX6P3.js';export{y as DEFAULT_EXECUTION_POLICY,ya as TestSuite,z as TestSuiteResult,A as buildSuiteResult,S as deserializeEvaluators,V as evaluateTestSuite,T as resolveExecutionPolicy,U as resolveItemExecutionPolicy,W as runTests,R as serializeEvaluators}from'./chunk-ESJEX6P3.js';za();
|