opik 2.2.109 → 2.2.111

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
@@ -3876,6 +3876,8 @@ interface AlertPublic {
3876
3876
  enabled?: boolean;
3877
3877
  alertType?: AlertPublicAlertType;
3878
3878
  metadata?: Record<string, string>;
3879
+ /** Optional user-defined key/value pairs, added as top-level keys of the alert's EventBridge event detail. Keys must not collide with the event's own keys. */
3880
+ customFields?: Record<string, string>;
3879
3881
  webhook: WebhookPublic;
3880
3882
  triggers?: AlertTriggerPublic[];
3881
3883
  createdAt?: Date;
@@ -3983,6 +3985,8 @@ interface AlertWrite {
3983
3985
  enabled?: boolean;
3984
3986
  alertType?: AlertWriteAlertType;
3985
3987
  metadata?: Record<string, string>;
3988
+ /** Optional user-defined key/value pairs, added as top-level keys of the alert's EventBridge event detail. Keys must not collide with the event's own keys. */
3989
+ customFields?: Record<string, string>;
3986
3990
  webhook: WebhookWrite;
3987
3991
  triggers?: AlertTriggerWrite[];
3988
3992
  /** Optional project scope for this alert. When set, the alert is scoped to the specified project. Do NOT also provide a 'scope:project' trigger config — the system will create it automatically from this field. Sending both project_id and a scope:project trigger config will result in an error. */
@@ -10560,7 +10564,7 @@ declare class EnvironmentsClient {
10560
10564
  protected readonly _options: NormalizedClientOptions<EnvironmentsClient.Options>;
10561
10565
  constructor(options?: EnvironmentsClient.Options);
10562
10566
  /**
10563
- * Find environments for the workspace. Capped at the workspace limit (default 20).
10567
+ * Find environments for the workspace. Capped at the workspace limit (default 100).
10564
10568
  *
10565
10569
  * @param {EnvironmentsClient.RequestOptions} requestOptions - Request-specific configuration.
10566
10570
  *
package/dist/index.d.ts CHANGED
@@ -3876,6 +3876,8 @@ interface AlertPublic {
3876
3876
  enabled?: boolean;
3877
3877
  alertType?: AlertPublicAlertType;
3878
3878
  metadata?: Record<string, string>;
3879
+ /** Optional user-defined key/value pairs, added as top-level keys of the alert's EventBridge event detail. Keys must not collide with the event's own keys. */
3880
+ customFields?: Record<string, string>;
3879
3881
  webhook: WebhookPublic;
3880
3882
  triggers?: AlertTriggerPublic[];
3881
3883
  createdAt?: Date;
@@ -3983,6 +3985,8 @@ interface AlertWrite {
3983
3985
  enabled?: boolean;
3984
3986
  alertType?: AlertWriteAlertType;
3985
3987
  metadata?: Record<string, string>;
3988
+ /** Optional user-defined key/value pairs, added as top-level keys of the alert's EventBridge event detail. Keys must not collide with the event's own keys. */
3989
+ customFields?: Record<string, string>;
3986
3990
  webhook: WebhookWrite;
3987
3991
  triggers?: AlertTriggerWrite[];
3988
3992
  /** Optional project scope for this alert. When set, the alert is scoped to the specified project. Do NOT also provide a 'scope:project' trigger config — the system will create it automatically from this field. Sending both project_id and a scope:project trigger config will result in an error. */
@@ -10560,7 +10564,7 @@ declare class EnvironmentsClient {
10560
10564
  protected readonly _options: NormalizedClientOptions<EnvironmentsClient.Options>;
10561
10565
  constructor(options?: EnvironmentsClient.Options);
10562
10566
  /**
10563
- * Find environments for the workspace. Capped at the workspace limit (default 20).
10567
+ * Find environments for the workspace. Capped at the workspace limit (default 100).
10564
10568
  *
10565
10569
  * @param {EnvironmentsClient.RequestOptions} requestOptions - Request-specific configuration.
10566
10570
  *
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import {Ia}from'./chunk-NEWJJT6M.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-NEWJJT6M.js';Ia();
1
+ import {Ia}from'./chunk-4XPOGNL3.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-4XPOGNL3.js';Ia();
@@ -1 +1 @@
1
- import {Ca}from'./chunk-NEWJJT6M.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-NEWJJT6M.js';Ca();
1
+ import {Ca}from'./chunk-4XPOGNL3.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-4XPOGNL3.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.109",
4
+ "version": "2.2.111",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/comet-ml/opik.git",