opik 2.2.98 → 2.2.100

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
@@ -863,6 +863,12 @@ interface ChatCompletionRequest {
863
863
  functionCall?: FunctionCall;
864
864
  }
865
865
 
866
+ /**
867
+ * @example
868
+ * {}
869
+ */
870
+ type GetDashboardSavedQueryRequest = {};
871
+
866
872
  /**
867
873
  * @example
868
874
  * {}
@@ -888,6 +894,16 @@ interface FindDashboardsRequest {
888
894
  */
889
895
  type GetDashboardByIdRequest = {};
890
896
 
897
+ /**
898
+ * @example
899
+ * {
900
+ * body: {}
901
+ * }
902
+ */
903
+ interface RunDashboardWidgetQueryRequest {
904
+ body: DashboardWidgetQueryRequest;
905
+ }
906
+
891
907
  /**
892
908
  * @example
893
909
  * {
@@ -1676,6 +1692,16 @@ interface FindInsightsViewsRequest {
1676
1692
  */
1677
1693
  type GetInsightsViewByIdRequest = {};
1678
1694
 
1695
+ /**
1696
+ * @example
1697
+ * {
1698
+ * body: {}
1699
+ * }
1700
+ */
1701
+ interface RunInsightsViewWidgetQueryRequest {
1702
+ body: DashboardWidgetQueryRequest;
1703
+ }
1704
+
1679
1705
  /**
1680
1706
  * @example
1681
1707
  * {
@@ -3217,6 +3243,7 @@ interface GetTraceStatsRequest {
3217
3243
  search?: string;
3218
3244
  fromTime?: Date;
3219
3245
  toTime?: Date;
3246
+ annotationQueueId?: string;
3220
3247
  }
3221
3248
 
3222
3249
  /**
@@ -4947,6 +4974,15 @@ declare const DashboardPublicType: {
4947
4974
  };
4948
4975
  type DashboardPublicType = (typeof DashboardPublicType)[keyof typeof DashboardPublicType];
4949
4976
 
4977
+ interface DashboardSavedQuery {
4978
+ id?: string;
4979
+ /** Project the query is bounded to. Omit for every project in the workspace. */
4980
+ projectId?: string;
4981
+ sql: string;
4982
+ createdAt?: Date;
4983
+ createdBy?: string;
4984
+ }
4985
+
4950
4986
  interface DashboardUpdatePublic {
4951
4987
  name?: string;
4952
4988
  type?: DashboardUpdatePublicType;
@@ -4960,6 +4996,13 @@ declare const DashboardUpdatePublicType: {
4960
4996
  };
4961
4997
  type DashboardUpdatePublicType = (typeof DashboardUpdatePublicType)[keyof typeof DashboardUpdatePublicType];
4962
4998
 
4999
+ interface DashboardWidgetQueryRequest {
5000
+ /** Start of the date range, bound to {{window_start}} in the dashboard saved query. Omit for all time. */
5001
+ intervalStart?: Date;
5002
+ /** End of the date range, bound to {{window_end}} in the dashboard saved query. Omit for now. */
5003
+ intervalEnd?: Date;
5004
+ }
5005
+
4963
5006
  interface DashboardWrite {
4964
5007
  /** Project ID. Takes precedence over project_name when both are provided. */
4965
5008
  projectId?: string;
@@ -7449,6 +7492,7 @@ interface ServiceTogglesConfig {
7449
7492
  projectHomepageEnabled: boolean;
7450
7493
  onlineScoringTracingEnabled: boolean;
7451
7494
  annotationQueueAutomationEnabled: boolean;
7495
+ eventBridgeAlertsEnabled: boolean;
7452
7496
  defaultPageSize?: number;
7453
7497
  }
7454
7498
 
@@ -9714,6 +9758,50 @@ declare class CheckClient {
9714
9758
  private __getWorkspaceName;
9715
9759
  }
9716
9760
 
9761
+ declare namespace DashboardSavedQueriesClient {
9762
+ type Options = BaseClientOptions;
9763
+ interface RequestOptions extends BaseRequestOptions {
9764
+ }
9765
+ }
9766
+ /**
9767
+ * Internal endpoints for the queries Ollie chart widgets run
9768
+ */
9769
+ declare class DashboardSavedQueriesClient {
9770
+ protected readonly _options: NormalizedClientOptions<DashboardSavedQueriesClient.Options>;
9771
+ constructor(options?: DashboardSavedQueriesClient.Options);
9772
+ /**
9773
+ * Saves the query of an Ollie chart so a dashboard widget can reference it by id.
9774
+ *
9775
+ * @param {OpikApi.DashboardSavedQuery} request
9776
+ * @param {DashboardSavedQueriesClient.RequestOptions} requestOptions - Request-specific configuration.
9777
+ *
9778
+ * @throws {@link OpikApi.UnprocessableEntityError}
9779
+ * @throws {@link OpikApi.NotImplementedError}
9780
+ *
9781
+ * @example
9782
+ * await client.dashboardSavedQueries.createDashboardSavedQuery({
9783
+ * sql: "sql"
9784
+ * })
9785
+ */
9786
+ createDashboardSavedQuery(request: DashboardSavedQuery, requestOptions?: DashboardSavedQueriesClient.RequestOptions): HttpResponsePromise<DashboardSavedQuery>;
9787
+ private __createDashboardSavedQuery;
9788
+ /**
9789
+ * Gets a dashboard saved query by id.
9790
+ *
9791
+ * @param {string} id
9792
+ * @param {OpikApi.GetDashboardSavedQueryRequest} request
9793
+ * @param {DashboardSavedQueriesClient.RequestOptions} requestOptions - Request-specific configuration.
9794
+ *
9795
+ * @throws {@link OpikApi.NotFoundError}
9796
+ * @throws {@link OpikApi.NotImplementedError}
9797
+ *
9798
+ * @example
9799
+ * await client.dashboardSavedQueries.getDashboardSavedQuery("id")
9800
+ */
9801
+ getDashboardSavedQuery(id: string, request?: GetDashboardSavedQueryRequest, requestOptions?: DashboardSavedQueriesClient.RequestOptions): HttpResponsePromise<DashboardSavedQuery>;
9802
+ private __getDashboardSavedQuery;
9803
+ }
9804
+
9717
9805
  declare namespace DashboardsClient {
9718
9806
  type Options = BaseClientOptions;
9719
9807
  interface RequestOptions extends BaseRequestOptions {
@@ -9808,6 +9896,27 @@ declare class DashboardsClient {
9808
9896
  */
9809
9897
  deleteDashboardsBatch(request: BatchDelete, requestOptions?: DashboardsClient.RequestOptions): HttpResponsePromise<void>;
9810
9898
  private __deleteDashboardsBatch;
9899
+ /**
9900
+ * Runs the query saved on an Ollie chart widget of this dashboard over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.
9901
+ *
9902
+ * @param {string} dashboardId
9903
+ * @param {string} widgetId
9904
+ * @param {OpikApi.RunDashboardWidgetQueryRequest} request
9905
+ * @param {DashboardsClient.RequestOptions} requestOptions - Request-specific configuration.
9906
+ *
9907
+ * @throws {@link OpikApi.BadRequestError}
9908
+ * @throws {@link OpikApi.NotFoundError}
9909
+ * @throws {@link OpikApi.UnprocessableEntityError}
9910
+ * @throws {@link OpikApi.TooManyRequestsError}
9911
+ * @throws {@link OpikApi.NotImplementedError}
9912
+ *
9913
+ * @example
9914
+ * await client.dashboards.runDashboardWidgetQuery("dashboardId", "widgetId", {
9915
+ * body: {}
9916
+ * })
9917
+ */
9918
+ runDashboardWidgetQuery(dashboardId: string, widgetId: string, request: RunDashboardWidgetQueryRequest, requestOptions?: DashboardsClient.RequestOptions): HttpResponsePromise<AnalyticsQueryResponse>;
9919
+ private __runDashboardWidgetQuery;
9811
9920
  }
9812
9921
 
9813
9922
  declare namespace DatasetsClient {
@@ -10915,6 +11024,27 @@ declare class InsightsViewsClient {
10915
11024
  */
10916
11025
  deleteInsightsViewsBatch(request: BatchDelete, requestOptions?: InsightsViewsClient.RequestOptions): HttpResponsePromise<void>;
10917
11026
  private __deleteInsightsViewsBatch;
11027
+ /**
11028
+ * Runs the query saved on an Ollie chart widget of this insights view over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.
11029
+ *
11030
+ * @param {string} insightsViewId
11031
+ * @param {string} widgetId
11032
+ * @param {OpikApi.RunInsightsViewWidgetQueryRequest} request
11033
+ * @param {InsightsViewsClient.RequestOptions} requestOptions - Request-specific configuration.
11034
+ *
11035
+ * @throws {@link OpikApi.BadRequestError}
11036
+ * @throws {@link OpikApi.NotFoundError}
11037
+ * @throws {@link OpikApi.UnprocessableEntityError}
11038
+ * @throws {@link OpikApi.TooManyRequestsError}
11039
+ * @throws {@link OpikApi.NotImplementedError}
11040
+ *
11041
+ * @example
11042
+ * await client.insightsViews.runInsightsViewWidgetQuery("insightsViewId", "widgetId", {
11043
+ * body: {}
11044
+ * })
11045
+ */
11046
+ runInsightsViewWidgetQuery(insightsViewId: string, widgetId: string, request: RunInsightsViewWidgetQueryRequest, requestOptions?: InsightsViewsClient.RequestOptions): HttpResponsePromise<AnalyticsQueryResponse>;
11047
+ private __runInsightsViewWidgetQuery;
10918
11048
  }
10919
11049
 
10920
11050
  declare namespace LlmModelsClient {
@@ -13783,6 +13913,7 @@ declare class OpikApiClient {
13783
13913
  protected _mcpOAuth: McpOAuthClient | undefined;
13784
13914
  protected _agentInsightsEnrollment: AgentInsightsEnrollmentClient | undefined;
13785
13915
  protected _systemAnalyticsQueries: SystemAnalyticsQueriesClient | undefined;
13916
+ protected _dashboardSavedQueries: DashboardSavedQueriesClient | undefined;
13786
13917
  protected _systemUsage: SystemUsageClient | undefined;
13787
13918
  protected _agentConfigs: AgentConfigsClient | undefined;
13788
13919
  protected _agentInsightsJobs: AgentInsightsJobsClient | undefined;
@@ -13826,6 +13957,7 @@ declare class OpikApiClient {
13826
13957
  get mcpOAuth(): McpOAuthClient;
13827
13958
  get agentInsightsEnrollment(): AgentInsightsEnrollmentClient;
13828
13959
  get systemAnalyticsQueries(): SystemAnalyticsQueriesClient;
13960
+ get dashboardSavedQueries(): DashboardSavedQueriesClient;
13829
13961
  get systemUsage(): SystemUsageClient;
13830
13962
  get agentConfigs(): AgentConfigsClient;
13831
13963
  get agentInsightsJobs(): AgentInsightsJobsClient;
package/dist/index.d.ts CHANGED
@@ -863,6 +863,12 @@ interface ChatCompletionRequest {
863
863
  functionCall?: FunctionCall;
864
864
  }
865
865
 
866
+ /**
867
+ * @example
868
+ * {}
869
+ */
870
+ type GetDashboardSavedQueryRequest = {};
871
+
866
872
  /**
867
873
  * @example
868
874
  * {}
@@ -888,6 +894,16 @@ interface FindDashboardsRequest {
888
894
  */
889
895
  type GetDashboardByIdRequest = {};
890
896
 
897
+ /**
898
+ * @example
899
+ * {
900
+ * body: {}
901
+ * }
902
+ */
903
+ interface RunDashboardWidgetQueryRequest {
904
+ body: DashboardWidgetQueryRequest;
905
+ }
906
+
891
907
  /**
892
908
  * @example
893
909
  * {
@@ -1676,6 +1692,16 @@ interface FindInsightsViewsRequest {
1676
1692
  */
1677
1693
  type GetInsightsViewByIdRequest = {};
1678
1694
 
1695
+ /**
1696
+ * @example
1697
+ * {
1698
+ * body: {}
1699
+ * }
1700
+ */
1701
+ interface RunInsightsViewWidgetQueryRequest {
1702
+ body: DashboardWidgetQueryRequest;
1703
+ }
1704
+
1679
1705
  /**
1680
1706
  * @example
1681
1707
  * {
@@ -3217,6 +3243,7 @@ interface GetTraceStatsRequest {
3217
3243
  search?: string;
3218
3244
  fromTime?: Date;
3219
3245
  toTime?: Date;
3246
+ annotationQueueId?: string;
3220
3247
  }
3221
3248
 
3222
3249
  /**
@@ -4947,6 +4974,15 @@ declare const DashboardPublicType: {
4947
4974
  };
4948
4975
  type DashboardPublicType = (typeof DashboardPublicType)[keyof typeof DashboardPublicType];
4949
4976
 
4977
+ interface DashboardSavedQuery {
4978
+ id?: string;
4979
+ /** Project the query is bounded to. Omit for every project in the workspace. */
4980
+ projectId?: string;
4981
+ sql: string;
4982
+ createdAt?: Date;
4983
+ createdBy?: string;
4984
+ }
4985
+
4950
4986
  interface DashboardUpdatePublic {
4951
4987
  name?: string;
4952
4988
  type?: DashboardUpdatePublicType;
@@ -4960,6 +4996,13 @@ declare const DashboardUpdatePublicType: {
4960
4996
  };
4961
4997
  type DashboardUpdatePublicType = (typeof DashboardUpdatePublicType)[keyof typeof DashboardUpdatePublicType];
4962
4998
 
4999
+ interface DashboardWidgetQueryRequest {
5000
+ /** Start of the date range, bound to {{window_start}} in the dashboard saved query. Omit for all time. */
5001
+ intervalStart?: Date;
5002
+ /** End of the date range, bound to {{window_end}} in the dashboard saved query. Omit for now. */
5003
+ intervalEnd?: Date;
5004
+ }
5005
+
4963
5006
  interface DashboardWrite {
4964
5007
  /** Project ID. Takes precedence over project_name when both are provided. */
4965
5008
  projectId?: string;
@@ -7449,6 +7492,7 @@ interface ServiceTogglesConfig {
7449
7492
  projectHomepageEnabled: boolean;
7450
7493
  onlineScoringTracingEnabled: boolean;
7451
7494
  annotationQueueAutomationEnabled: boolean;
7495
+ eventBridgeAlertsEnabled: boolean;
7452
7496
  defaultPageSize?: number;
7453
7497
  }
7454
7498
 
@@ -9714,6 +9758,50 @@ declare class CheckClient {
9714
9758
  private __getWorkspaceName;
9715
9759
  }
9716
9760
 
9761
+ declare namespace DashboardSavedQueriesClient {
9762
+ type Options = BaseClientOptions;
9763
+ interface RequestOptions extends BaseRequestOptions {
9764
+ }
9765
+ }
9766
+ /**
9767
+ * Internal endpoints for the queries Ollie chart widgets run
9768
+ */
9769
+ declare class DashboardSavedQueriesClient {
9770
+ protected readonly _options: NormalizedClientOptions<DashboardSavedQueriesClient.Options>;
9771
+ constructor(options?: DashboardSavedQueriesClient.Options);
9772
+ /**
9773
+ * Saves the query of an Ollie chart so a dashboard widget can reference it by id.
9774
+ *
9775
+ * @param {OpikApi.DashboardSavedQuery} request
9776
+ * @param {DashboardSavedQueriesClient.RequestOptions} requestOptions - Request-specific configuration.
9777
+ *
9778
+ * @throws {@link OpikApi.UnprocessableEntityError}
9779
+ * @throws {@link OpikApi.NotImplementedError}
9780
+ *
9781
+ * @example
9782
+ * await client.dashboardSavedQueries.createDashboardSavedQuery({
9783
+ * sql: "sql"
9784
+ * })
9785
+ */
9786
+ createDashboardSavedQuery(request: DashboardSavedQuery, requestOptions?: DashboardSavedQueriesClient.RequestOptions): HttpResponsePromise<DashboardSavedQuery>;
9787
+ private __createDashboardSavedQuery;
9788
+ /**
9789
+ * Gets a dashboard saved query by id.
9790
+ *
9791
+ * @param {string} id
9792
+ * @param {OpikApi.GetDashboardSavedQueryRequest} request
9793
+ * @param {DashboardSavedQueriesClient.RequestOptions} requestOptions - Request-specific configuration.
9794
+ *
9795
+ * @throws {@link OpikApi.NotFoundError}
9796
+ * @throws {@link OpikApi.NotImplementedError}
9797
+ *
9798
+ * @example
9799
+ * await client.dashboardSavedQueries.getDashboardSavedQuery("id")
9800
+ */
9801
+ getDashboardSavedQuery(id: string, request?: GetDashboardSavedQueryRequest, requestOptions?: DashboardSavedQueriesClient.RequestOptions): HttpResponsePromise<DashboardSavedQuery>;
9802
+ private __getDashboardSavedQuery;
9803
+ }
9804
+
9717
9805
  declare namespace DashboardsClient {
9718
9806
  type Options = BaseClientOptions;
9719
9807
  interface RequestOptions extends BaseRequestOptions {
@@ -9808,6 +9896,27 @@ declare class DashboardsClient {
9808
9896
  */
9809
9897
  deleteDashboardsBatch(request: BatchDelete, requestOptions?: DashboardsClient.RequestOptions): HttpResponsePromise<void>;
9810
9898
  private __deleteDashboardsBatch;
9899
+ /**
9900
+ * Runs the query saved on an Ollie chart widget of this dashboard over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.
9901
+ *
9902
+ * @param {string} dashboardId
9903
+ * @param {string} widgetId
9904
+ * @param {OpikApi.RunDashboardWidgetQueryRequest} request
9905
+ * @param {DashboardsClient.RequestOptions} requestOptions - Request-specific configuration.
9906
+ *
9907
+ * @throws {@link OpikApi.BadRequestError}
9908
+ * @throws {@link OpikApi.NotFoundError}
9909
+ * @throws {@link OpikApi.UnprocessableEntityError}
9910
+ * @throws {@link OpikApi.TooManyRequestsError}
9911
+ * @throws {@link OpikApi.NotImplementedError}
9912
+ *
9913
+ * @example
9914
+ * await client.dashboards.runDashboardWidgetQuery("dashboardId", "widgetId", {
9915
+ * body: {}
9916
+ * })
9917
+ */
9918
+ runDashboardWidgetQuery(dashboardId: string, widgetId: string, request: RunDashboardWidgetQueryRequest, requestOptions?: DashboardsClient.RequestOptions): HttpResponsePromise<AnalyticsQueryResponse>;
9919
+ private __runDashboardWidgetQuery;
9811
9920
  }
9812
9921
 
9813
9922
  declare namespace DatasetsClient {
@@ -10915,6 +11024,27 @@ declare class InsightsViewsClient {
10915
11024
  */
10916
11025
  deleteInsightsViewsBatch(request: BatchDelete, requestOptions?: InsightsViewsClient.RequestOptions): HttpResponsePromise<void>;
10917
11026
  private __deleteInsightsViewsBatch;
11027
+ /**
11028
+ * Runs the query saved on an Ollie chart widget of this insights view over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.
11029
+ *
11030
+ * @param {string} insightsViewId
11031
+ * @param {string} widgetId
11032
+ * @param {OpikApi.RunInsightsViewWidgetQueryRequest} request
11033
+ * @param {InsightsViewsClient.RequestOptions} requestOptions - Request-specific configuration.
11034
+ *
11035
+ * @throws {@link OpikApi.BadRequestError}
11036
+ * @throws {@link OpikApi.NotFoundError}
11037
+ * @throws {@link OpikApi.UnprocessableEntityError}
11038
+ * @throws {@link OpikApi.TooManyRequestsError}
11039
+ * @throws {@link OpikApi.NotImplementedError}
11040
+ *
11041
+ * @example
11042
+ * await client.insightsViews.runInsightsViewWidgetQuery("insightsViewId", "widgetId", {
11043
+ * body: {}
11044
+ * })
11045
+ */
11046
+ runInsightsViewWidgetQuery(insightsViewId: string, widgetId: string, request: RunInsightsViewWidgetQueryRequest, requestOptions?: InsightsViewsClient.RequestOptions): HttpResponsePromise<AnalyticsQueryResponse>;
11047
+ private __runInsightsViewWidgetQuery;
10918
11048
  }
10919
11049
 
10920
11050
  declare namespace LlmModelsClient {
@@ -13783,6 +13913,7 @@ declare class OpikApiClient {
13783
13913
  protected _mcpOAuth: McpOAuthClient | undefined;
13784
13914
  protected _agentInsightsEnrollment: AgentInsightsEnrollmentClient | undefined;
13785
13915
  protected _systemAnalyticsQueries: SystemAnalyticsQueriesClient | undefined;
13916
+ protected _dashboardSavedQueries: DashboardSavedQueriesClient | undefined;
13786
13917
  protected _systemUsage: SystemUsageClient | undefined;
13787
13918
  protected _agentConfigs: AgentConfigsClient | undefined;
13788
13919
  protected _agentInsightsJobs: AgentInsightsJobsClient | undefined;
@@ -13826,6 +13957,7 @@ declare class OpikApiClient {
13826
13957
  get mcpOAuth(): McpOAuthClient;
13827
13958
  get agentInsightsEnrollment(): AgentInsightsEnrollmentClient;
13828
13959
  get systemAnalyticsQueries(): SystemAnalyticsQueriesClient;
13960
+ get dashboardSavedQueries(): DashboardSavedQueriesClient;
13829
13961
  get systemUsage(): SystemUsageClient;
13830
13962
  get agentConfigs(): AgentConfigsClient;
13831
13963
  get agentInsightsJobs(): AgentInsightsJobsClient;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import {Ia}from'./chunk-XCNOTM5S.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-XCNOTM5S.js';Ia();
1
+ import {Ia}from'./chunk-YSEDU6SS.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-YSEDU6SS.js';Ia();
@@ -1 +1 @@
1
- import {Ca}from'./chunk-XCNOTM5S.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-XCNOTM5S.js';Ca();
1
+ import {Ca}from'./chunk-YSEDU6SS.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-YSEDU6SS.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.98",
4
+ "version": "2.2.100",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/comet-ml/opik.git",