opik 2.2.99 → 2.2.101

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
  * {
@@ -4948,6 +4974,15 @@ declare const DashboardPublicType: {
4948
4974
  };
4949
4975
  type DashboardPublicType = (typeof DashboardPublicType)[keyof typeof DashboardPublicType];
4950
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
+
4951
4986
  interface DashboardUpdatePublic {
4952
4987
  name?: string;
4953
4988
  type?: DashboardUpdatePublicType;
@@ -4961,6 +4996,13 @@ declare const DashboardUpdatePublicType: {
4961
4996
  };
4962
4997
  type DashboardUpdatePublicType = (typeof DashboardUpdatePublicType)[keyof typeof DashboardUpdatePublicType];
4963
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
+
4964
5006
  interface DashboardWrite {
4965
5007
  /** Project ID. Takes precedence over project_name when both are provided. */
4966
5008
  projectId?: string;
@@ -7450,6 +7492,7 @@ interface ServiceTogglesConfig {
7450
7492
  projectHomepageEnabled: boolean;
7451
7493
  onlineScoringTracingEnabled: boolean;
7452
7494
  annotationQueueAutomationEnabled: boolean;
7495
+ eventBridgeAlertsEnabled: boolean;
7453
7496
  defaultPageSize?: number;
7454
7497
  }
7455
7498
 
@@ -9715,6 +9758,50 @@ declare class CheckClient {
9715
9758
  private __getWorkspaceName;
9716
9759
  }
9717
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
+
9718
9805
  declare namespace DashboardsClient {
9719
9806
  type Options = BaseClientOptions;
9720
9807
  interface RequestOptions extends BaseRequestOptions {
@@ -9809,6 +9896,27 @@ declare class DashboardsClient {
9809
9896
  */
9810
9897
  deleteDashboardsBatch(request: BatchDelete, requestOptions?: DashboardsClient.RequestOptions): HttpResponsePromise<void>;
9811
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;
9812
9920
  }
9813
9921
 
9814
9922
  declare namespace DatasetsClient {
@@ -10916,6 +11024,27 @@ declare class InsightsViewsClient {
10916
11024
  */
10917
11025
  deleteInsightsViewsBatch(request: BatchDelete, requestOptions?: InsightsViewsClient.RequestOptions): HttpResponsePromise<void>;
10918
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;
10919
11048
  }
10920
11049
 
10921
11050
  declare namespace LlmModelsClient {
@@ -13784,6 +13913,7 @@ declare class OpikApiClient {
13784
13913
  protected _mcpOAuth: McpOAuthClient | undefined;
13785
13914
  protected _agentInsightsEnrollment: AgentInsightsEnrollmentClient | undefined;
13786
13915
  protected _systemAnalyticsQueries: SystemAnalyticsQueriesClient | undefined;
13916
+ protected _dashboardSavedQueries: DashboardSavedQueriesClient | undefined;
13787
13917
  protected _systemUsage: SystemUsageClient | undefined;
13788
13918
  protected _agentConfigs: AgentConfigsClient | undefined;
13789
13919
  protected _agentInsightsJobs: AgentInsightsJobsClient | undefined;
@@ -13827,6 +13957,7 @@ declare class OpikApiClient {
13827
13957
  get mcpOAuth(): McpOAuthClient;
13828
13958
  get agentInsightsEnrollment(): AgentInsightsEnrollmentClient;
13829
13959
  get systemAnalyticsQueries(): SystemAnalyticsQueriesClient;
13960
+ get dashboardSavedQueries(): DashboardSavedQueriesClient;
13830
13961
  get systemUsage(): SystemUsageClient;
13831
13962
  get agentConfigs(): AgentConfigsClient;
13832
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
  * {
@@ -4948,6 +4974,15 @@ declare const DashboardPublicType: {
4948
4974
  };
4949
4975
  type DashboardPublicType = (typeof DashboardPublicType)[keyof typeof DashboardPublicType];
4950
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
+
4951
4986
  interface DashboardUpdatePublic {
4952
4987
  name?: string;
4953
4988
  type?: DashboardUpdatePublicType;
@@ -4961,6 +4996,13 @@ declare const DashboardUpdatePublicType: {
4961
4996
  };
4962
4997
  type DashboardUpdatePublicType = (typeof DashboardUpdatePublicType)[keyof typeof DashboardUpdatePublicType];
4963
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
+
4964
5006
  interface DashboardWrite {
4965
5007
  /** Project ID. Takes precedence over project_name when both are provided. */
4966
5008
  projectId?: string;
@@ -7450,6 +7492,7 @@ interface ServiceTogglesConfig {
7450
7492
  projectHomepageEnabled: boolean;
7451
7493
  onlineScoringTracingEnabled: boolean;
7452
7494
  annotationQueueAutomationEnabled: boolean;
7495
+ eventBridgeAlertsEnabled: boolean;
7453
7496
  defaultPageSize?: number;
7454
7497
  }
7455
7498
 
@@ -9715,6 +9758,50 @@ declare class CheckClient {
9715
9758
  private __getWorkspaceName;
9716
9759
  }
9717
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
+
9718
9805
  declare namespace DashboardsClient {
9719
9806
  type Options = BaseClientOptions;
9720
9807
  interface RequestOptions extends BaseRequestOptions {
@@ -9809,6 +9896,27 @@ declare class DashboardsClient {
9809
9896
  */
9810
9897
  deleteDashboardsBatch(request: BatchDelete, requestOptions?: DashboardsClient.RequestOptions): HttpResponsePromise<void>;
9811
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;
9812
9920
  }
9813
9921
 
9814
9922
  declare namespace DatasetsClient {
@@ -10916,6 +11024,27 @@ declare class InsightsViewsClient {
10916
11024
  */
10917
11025
  deleteInsightsViewsBatch(request: BatchDelete, requestOptions?: InsightsViewsClient.RequestOptions): HttpResponsePromise<void>;
10918
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;
10919
11048
  }
10920
11049
 
10921
11050
  declare namespace LlmModelsClient {
@@ -13784,6 +13913,7 @@ declare class OpikApiClient {
13784
13913
  protected _mcpOAuth: McpOAuthClient | undefined;
13785
13914
  protected _agentInsightsEnrollment: AgentInsightsEnrollmentClient | undefined;
13786
13915
  protected _systemAnalyticsQueries: SystemAnalyticsQueriesClient | undefined;
13916
+ protected _dashboardSavedQueries: DashboardSavedQueriesClient | undefined;
13787
13917
  protected _systemUsage: SystemUsageClient | undefined;
13788
13918
  protected _agentConfigs: AgentConfigsClient | undefined;
13789
13919
  protected _agentInsightsJobs: AgentInsightsJobsClient | undefined;
@@ -13827,6 +13957,7 @@ declare class OpikApiClient {
13827
13957
  get mcpOAuth(): McpOAuthClient;
13828
13958
  get agentInsightsEnrollment(): AgentInsightsEnrollmentClient;
13829
13959
  get systemAnalyticsQueries(): SystemAnalyticsQueriesClient;
13960
+ get dashboardSavedQueries(): DashboardSavedQueriesClient;
13830
13961
  get systemUsage(): SystemUsageClient;
13831
13962
  get agentConfigs(): AgentConfigsClient;
13832
13963
  get agentInsightsJobs(): AgentInsightsJobsClient;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import {Ia}from'./chunk-KXFLZNDC.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-KXFLZNDC.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-KXFLZNDC.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-KXFLZNDC.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.99",
4
+ "version": "2.2.101",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/comet-ml/opik.git",