opik 2.2.143 → 2.2.145

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.d.cts CHANGED
@@ -6454,22 +6454,40 @@ interface LlmAsJudgeModelParameters {
6454
6454
  temperature?: number;
6455
6455
  seed?: number;
6456
6456
  customParameters?: JsonNode;
6457
+ api?: LlmAsJudgeModelParametersApi;
6457
6458
  }
6458
6459
 
6460
+ declare const LlmAsJudgeModelParametersApi: {
6461
+ readonly Decisions: "decisions";
6462
+ };
6463
+ type LlmAsJudgeModelParametersApi = (typeof LlmAsJudgeModelParametersApi)[keyof typeof LlmAsJudgeModelParametersApi];
6464
+
6459
6465
  interface LlmAsJudgeModelParametersPublic {
6460
6466
  name: string;
6461
6467
  temperature?: number;
6462
6468
  seed?: number;
6463
6469
  customParameters?: JsonNodePublic;
6470
+ api?: LlmAsJudgeModelParametersPublicApi;
6464
6471
  }
6465
6472
 
6473
+ declare const LlmAsJudgeModelParametersPublicApi: {
6474
+ readonly Decisions: "decisions";
6475
+ };
6476
+ type LlmAsJudgeModelParametersPublicApi = (typeof LlmAsJudgeModelParametersPublicApi)[keyof typeof LlmAsJudgeModelParametersPublicApi];
6477
+
6466
6478
  interface LlmAsJudgeModelParametersWrite {
6467
6479
  name: string;
6468
6480
  temperature?: number;
6469
6481
  seed?: number;
6470
6482
  customParameters?: JsonNodeWrite;
6483
+ api?: LlmAsJudgeModelParametersWriteApi;
6471
6484
  }
6472
6485
 
6486
+ declare const LlmAsJudgeModelParametersWriteApi: {
6487
+ readonly Decisions: "decisions";
6488
+ };
6489
+ type LlmAsJudgeModelParametersWriteApi = (typeof LlmAsJudgeModelParametersWriteApi)[keyof typeof LlmAsJudgeModelParametersWriteApi];
6490
+
6473
6491
  interface LlmAsJudgeOutputSchema {
6474
6492
  name: string;
6475
6493
  type: LlmAsJudgeOutputSchemaType;
@@ -7318,11 +7336,11 @@ type ProviderApiKeyPublicProvider = (typeof ProviderApiKeyPublicProvider)[keyof
7318
7336
  interface ProviderAuthConfig {
7319
7337
  /** Auth service URL the credentials are sent to */
7320
7338
  tokenUrl?: string;
7321
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7339
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7322
7340
  sendAs?: ProviderAuthConfigSendAs;
7323
7341
  /** Fields sent to the token URL. Values flagged as secret are write-only: they read back as the '__SECRET__' sentinel */
7324
7342
  credentials?: Credential[];
7325
- /** Field holding the token in the reply; dot-path for nested replies */
7343
+ /** Field holding the token in the reply; dot-path for nested replies. A reply that is the bare token itself (plain text or a JSON string) is used as-is and needs fallback_ttl_seconds */
7326
7344
  tokenField?: string;
7327
7345
  /** Field holding the token lifetime in seconds in the reply; dot-path for nested replies */
7328
7346
  expiresField?: string;
@@ -7336,11 +7354,11 @@ interface ProviderAuthConfig {
7336
7354
  interface ProviderAuthConfigPublic {
7337
7355
  /** Auth service URL the credentials are sent to */
7338
7356
  tokenUrl?: string;
7339
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7357
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7340
7358
  sendAs?: ProviderAuthConfigPublicSendAs;
7341
7359
  /** Fields sent to the token URL. Values flagged as secret are write-only: they read back as the '__SECRET__' sentinel */
7342
7360
  credentials?: CredentialPublic[];
7343
- /** Field holding the token in the reply; dot-path for nested replies */
7361
+ /** Field holding the token in the reply; dot-path for nested replies. A reply that is the bare token itself (plain text or a JSON string) is used as-is and needs fallback_ttl_seconds */
7344
7362
  tokenField?: string;
7345
7363
  /** Field holding the token lifetime in seconds in the reply; dot-path for nested replies */
7346
7364
  expiresField?: string;
@@ -7348,7 +7366,7 @@ interface ProviderAuthConfigPublic {
7348
7366
  fallbackTtlSeconds?: number;
7349
7367
  }
7350
7368
 
7351
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7369
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7352
7370
  declare const ProviderAuthConfigPublicSendAs: {
7353
7371
  readonly Form: "form";
7354
7372
  readonly Json: "json";
@@ -7356,7 +7374,7 @@ declare const ProviderAuthConfigPublicSendAs: {
7356
7374
  };
7357
7375
  type ProviderAuthConfigPublicSendAs = (typeof ProviderAuthConfigPublicSendAs)[keyof typeof ProviderAuthConfigPublicSendAs];
7358
7376
 
7359
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7377
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7360
7378
  declare const ProviderAuthConfigSendAs: {
7361
7379
  readonly Form: "form";
7362
7380
  readonly Json: "json";
@@ -7370,11 +7388,11 @@ type ProviderAuthConfigSendAs = (typeof ProviderAuthConfigSendAs)[keyof typeof P
7370
7388
  interface ProviderAuthConfigWrite {
7371
7389
  /** Auth service URL the credentials are sent to */
7372
7390
  tokenUrl?: string;
7373
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7391
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7374
7392
  sendAs?: ProviderAuthConfigWriteSendAs;
7375
7393
  /** Fields sent to the token URL. Values flagged as secret are write-only: they read back as the '__SECRET__' sentinel */
7376
7394
  credentials?: CredentialWrite[];
7377
- /** Field holding the token in the reply; dot-path for nested replies */
7395
+ /** Field holding the token in the reply; dot-path for nested replies. A reply that is the bare token itself (plain text or a JSON string) is used as-is and needs fallback_ttl_seconds */
7378
7396
  tokenField?: string;
7379
7397
  /** Field holding the token lifetime in seconds in the reply; dot-path for nested replies */
7380
7398
  expiresField?: string;
@@ -7382,7 +7400,7 @@ interface ProviderAuthConfigWrite {
7382
7400
  fallbackTtlSeconds?: number;
7383
7401
  }
7384
7402
 
7385
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7403
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7386
7404
  declare const ProviderAuthConfigWriteSendAs: {
7387
7405
  readonly Form: "form";
7388
7406
  readonly Json: "json";
@@ -7624,7 +7642,6 @@ interface ServiceTogglesConfig {
7624
7642
  agentInsightsEnabled: boolean;
7625
7643
  agentInsightsGuidanceEnabled: boolean;
7626
7644
  projectHomepageEnabled: boolean;
7627
- onlineScoringTracingEnabled: boolean;
7628
7645
  annotationQueueAutomationEnabled: boolean;
7629
7646
  eventBridgeAlertsEnabled: boolean;
7630
7647
  defaultPageSize?: number;
@@ -16130,7 +16147,6 @@ declare abstract class BaseAnnotationQueue {
16130
16147
  delete(): Promise<void>;
16131
16148
  protected addItemsBatch(ids: string[]): Promise<void>;
16132
16149
  protected removeItemsBatch(ids: string[]): Promise<void>;
16133
- protected fetchAllItems<T>(fetchPage: (limit: number, lastRetrievedId?: string) => Promise<T[]>, getCursor: (item: T) => string | undefined): Promise<T[]>;
16134
16150
  }
16135
16151
 
16136
16152
  declare class TracesAnnotationQueue extends BaseAnnotationQueue {
@@ -16306,6 +16322,11 @@ declare class OpikClient {
16306
16322
  * @see https://www.comet.com/docs/opik/mcp-server
16307
16323
  */
16308
16324
  getTestSuites: (maxResults?: number, projectName?: string) => Promise<TestSuite[]>;
16325
+ /**
16326
+ * Resolves a project name to its ID, or undefined when the project does not exist.
16327
+ * Any other failure is rethrown, so an outage is not mistaken for a missing project.
16328
+ */
16329
+ private findProjectIdByName;
16309
16330
  private getProjectIdByName;
16310
16331
  /**
16311
16332
  * Resolves a project name to its ID.
@@ -16648,6 +16669,8 @@ declare class OpikClient {
16648
16669
  * - Number fields (`version_count`): =, !=, >, <, >=, <=
16649
16670
  * - List fields (`tags`): contains
16650
16671
  *
16672
+ * @param filterString - Optional OQL filter
16673
+ * @param projectName - Project to search in. Defaults to the active project context, then the client's project.
16651
16674
  * @returns Promise resolving to array of matching latest prompt versions
16652
16675
  * @throws Error if OQL filter syntax is invalid
16653
16676
  * @see https://www.comet.com/docs/opik/mcp-server
@@ -16678,7 +16701,7 @@ declare class OpikClient {
16678
16701
  * const multiVersion = await client.searchPrompts('version_count > 5');
16679
16702
  * ```
16680
16703
  */
16681
- searchPrompts: (filterString?: string) => Promise<(Prompt | ChatPrompt)[]>;
16704
+ searchPrompts: (filterString?: string, projectName?: string) => Promise<(Prompt | ChatPrompt)[]>;
16682
16705
  /**
16683
16706
  * Deletes multiple prompts and all their versions in batch.
16684
16707
  * Performs synchronous deletion (no batching).
package/dist/index.d.ts CHANGED
@@ -6454,22 +6454,40 @@ interface LlmAsJudgeModelParameters {
6454
6454
  temperature?: number;
6455
6455
  seed?: number;
6456
6456
  customParameters?: JsonNode;
6457
+ api?: LlmAsJudgeModelParametersApi;
6457
6458
  }
6458
6459
 
6460
+ declare const LlmAsJudgeModelParametersApi: {
6461
+ readonly Decisions: "decisions";
6462
+ };
6463
+ type LlmAsJudgeModelParametersApi = (typeof LlmAsJudgeModelParametersApi)[keyof typeof LlmAsJudgeModelParametersApi];
6464
+
6459
6465
  interface LlmAsJudgeModelParametersPublic {
6460
6466
  name: string;
6461
6467
  temperature?: number;
6462
6468
  seed?: number;
6463
6469
  customParameters?: JsonNodePublic;
6470
+ api?: LlmAsJudgeModelParametersPublicApi;
6464
6471
  }
6465
6472
 
6473
+ declare const LlmAsJudgeModelParametersPublicApi: {
6474
+ readonly Decisions: "decisions";
6475
+ };
6476
+ type LlmAsJudgeModelParametersPublicApi = (typeof LlmAsJudgeModelParametersPublicApi)[keyof typeof LlmAsJudgeModelParametersPublicApi];
6477
+
6466
6478
  interface LlmAsJudgeModelParametersWrite {
6467
6479
  name: string;
6468
6480
  temperature?: number;
6469
6481
  seed?: number;
6470
6482
  customParameters?: JsonNodeWrite;
6483
+ api?: LlmAsJudgeModelParametersWriteApi;
6471
6484
  }
6472
6485
 
6486
+ declare const LlmAsJudgeModelParametersWriteApi: {
6487
+ readonly Decisions: "decisions";
6488
+ };
6489
+ type LlmAsJudgeModelParametersWriteApi = (typeof LlmAsJudgeModelParametersWriteApi)[keyof typeof LlmAsJudgeModelParametersWriteApi];
6490
+
6473
6491
  interface LlmAsJudgeOutputSchema {
6474
6492
  name: string;
6475
6493
  type: LlmAsJudgeOutputSchemaType;
@@ -7318,11 +7336,11 @@ type ProviderApiKeyPublicProvider = (typeof ProviderApiKeyPublicProvider)[keyof
7318
7336
  interface ProviderAuthConfig {
7319
7337
  /** Auth service URL the credentials are sent to */
7320
7338
  tokenUrl?: string;
7321
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7339
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7322
7340
  sendAs?: ProviderAuthConfigSendAs;
7323
7341
  /** Fields sent to the token URL. Values flagged as secret are write-only: they read back as the '__SECRET__' sentinel */
7324
7342
  credentials?: Credential[];
7325
- /** Field holding the token in the reply; dot-path for nested replies */
7343
+ /** Field holding the token in the reply; dot-path for nested replies. A reply that is the bare token itself (plain text or a JSON string) is used as-is and needs fallback_ttl_seconds */
7326
7344
  tokenField?: string;
7327
7345
  /** Field holding the token lifetime in seconds in the reply; dot-path for nested replies */
7328
7346
  expiresField?: string;
@@ -7336,11 +7354,11 @@ interface ProviderAuthConfig {
7336
7354
  interface ProviderAuthConfigPublic {
7337
7355
  /** Auth service URL the credentials are sent to */
7338
7356
  tokenUrl?: string;
7339
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7357
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7340
7358
  sendAs?: ProviderAuthConfigPublicSendAs;
7341
7359
  /** Fields sent to the token URL. Values flagged as secret are write-only: they read back as the '__SECRET__' sentinel */
7342
7360
  credentials?: CredentialPublic[];
7343
- /** Field holding the token in the reply; dot-path for nested replies */
7361
+ /** Field holding the token in the reply; dot-path for nested replies. A reply that is the bare token itself (plain text or a JSON string) is used as-is and needs fallback_ttl_seconds */
7344
7362
  tokenField?: string;
7345
7363
  /** Field holding the token lifetime in seconds in the reply; dot-path for nested replies */
7346
7364
  expiresField?: string;
@@ -7348,7 +7366,7 @@ interface ProviderAuthConfigPublic {
7348
7366
  fallbackTtlSeconds?: number;
7349
7367
  }
7350
7368
 
7351
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7369
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7352
7370
  declare const ProviderAuthConfigPublicSendAs: {
7353
7371
  readonly Form: "form";
7354
7372
  readonly Json: "json";
@@ -7356,7 +7374,7 @@ declare const ProviderAuthConfigPublicSendAs: {
7356
7374
  };
7357
7375
  type ProviderAuthConfigPublicSendAs = (typeof ProviderAuthConfigPublicSendAs)[keyof typeof ProviderAuthConfigPublicSendAs];
7358
7376
 
7359
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7377
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7360
7378
  declare const ProviderAuthConfigSendAs: {
7361
7379
  readonly Form: "form";
7362
7380
  readonly Json: "json";
@@ -7370,11 +7388,11 @@ type ProviderAuthConfigSendAs = (typeof ProviderAuthConfigSendAs)[keyof typeof P
7370
7388
  interface ProviderAuthConfigWrite {
7371
7389
  /** Auth service URL the credentials are sent to */
7372
7390
  tokenUrl?: string;
7373
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7391
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7374
7392
  sendAs?: ProviderAuthConfigWriteSendAs;
7375
7393
  /** Fields sent to the token URL. Values flagged as secret are write-only: they read back as the '__SECRET__' sentinel */
7376
7394
  credentials?: CredentialWrite[];
7377
- /** Field holding the token in the reply; dot-path for nested replies */
7395
+ /** Field holding the token in the reply; dot-path for nested replies. A reply that is the bare token itself (plain text or a JSON string) is used as-is and needs fallback_ttl_seconds */
7378
7396
  tokenField?: string;
7379
7397
  /** Field holding the token lifetime in seconds in the reply; dot-path for nested replies */
7380
7398
  expiresField?: string;
@@ -7382,7 +7400,7 @@ interface ProviderAuthConfigWrite {
7382
7400
  fallbackTtlSeconds?: number;
7383
7401
  }
7384
7402
 
7385
- /** How credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body) */
7403
+ /** How credentials are sent: form body (default), JSON body, or basic auth (client_id/client_secret, or username/password, in an HTTP Basic header; remaining fields in the form body) */
7386
7404
  declare const ProviderAuthConfigWriteSendAs: {
7387
7405
  readonly Form: "form";
7388
7406
  readonly Json: "json";
@@ -7624,7 +7642,6 @@ interface ServiceTogglesConfig {
7624
7642
  agentInsightsEnabled: boolean;
7625
7643
  agentInsightsGuidanceEnabled: boolean;
7626
7644
  projectHomepageEnabled: boolean;
7627
- onlineScoringTracingEnabled: boolean;
7628
7645
  annotationQueueAutomationEnabled: boolean;
7629
7646
  eventBridgeAlertsEnabled: boolean;
7630
7647
  defaultPageSize?: number;
@@ -16130,7 +16147,6 @@ declare abstract class BaseAnnotationQueue {
16130
16147
  delete(): Promise<void>;
16131
16148
  protected addItemsBatch(ids: string[]): Promise<void>;
16132
16149
  protected removeItemsBatch(ids: string[]): Promise<void>;
16133
- protected fetchAllItems<T>(fetchPage: (limit: number, lastRetrievedId?: string) => Promise<T[]>, getCursor: (item: T) => string | undefined): Promise<T[]>;
16134
16150
  }
16135
16151
 
16136
16152
  declare class TracesAnnotationQueue extends BaseAnnotationQueue {
@@ -16306,6 +16322,11 @@ declare class OpikClient {
16306
16322
  * @see https://www.comet.com/docs/opik/mcp-server
16307
16323
  */
16308
16324
  getTestSuites: (maxResults?: number, projectName?: string) => Promise<TestSuite[]>;
16325
+ /**
16326
+ * Resolves a project name to its ID, or undefined when the project does not exist.
16327
+ * Any other failure is rethrown, so an outage is not mistaken for a missing project.
16328
+ */
16329
+ private findProjectIdByName;
16309
16330
  private getProjectIdByName;
16310
16331
  /**
16311
16332
  * Resolves a project name to its ID.
@@ -16648,6 +16669,8 @@ declare class OpikClient {
16648
16669
  * - Number fields (`version_count`): =, !=, >, <, >=, <=
16649
16670
  * - List fields (`tags`): contains
16650
16671
  *
16672
+ * @param filterString - Optional OQL filter
16673
+ * @param projectName - Project to search in. Defaults to the active project context, then the client's project.
16651
16674
  * @returns Promise resolving to array of matching latest prompt versions
16652
16675
  * @throws Error if OQL filter syntax is invalid
16653
16676
  * @see https://www.comet.com/docs/opik/mcp-server
@@ -16678,7 +16701,7 @@ declare class OpikClient {
16678
16701
  * const multiVersion = await client.searchPrompts('version_count > 5');
16679
16702
  * ```
16680
16703
  */
16681
- searchPrompts: (filterString?: string) => Promise<(Prompt | ChatPrompt)[]>;
16704
+ searchPrompts: (filterString?: string, projectName?: string) => Promise<(Prompt | ChatPrompt)[]>;
16682
16705
  /**
16683
16706
  * Deletes multiple prompts and all their versions in batch.
16684
16707
  * Performs synchronous deletion (no batching).
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import {Ia}from'./chunk-3LEAZVUH.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-3LEAZVUH.js';Ia();
1
+ import {Ia}from'./chunk-PUMWZXWE.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-PUMWZXWE.js';Ia();
@@ -1 +1 @@
1
- import {Ca}from'./chunk-3LEAZVUH.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-3LEAZVUH.js';Ca();
1
+ import {Ca}from'./chunk-PUMWZXWE.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-PUMWZXWE.js';Ca();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opik",
3
3
  "description": "Opik TypeScript and JavaScript SDK",
4
- "version": "2.2.143",
4
+ "version": "2.2.145",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/comet-ml/opik.git",