opik 2.0.70 → 2.0.72

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
@@ -445,6 +445,42 @@ declare const FindAgentInsightsIssuesRequestStatus: {
445
445
  };
446
446
  type FindAgentInsightsIssuesRequestStatus = (typeof FindAgentInsightsIssuesRequestStatus)[keyof typeof FindAgentInsightsIssuesRequestStatus];
447
447
 
448
+ /**
449
+ * @example
450
+ * {
451
+ * status: "enabled"
452
+ * }
453
+ */
454
+ interface AgentInsightsJobUpdate {
455
+ /** New status for the job */
456
+ status: AgentInsightsJobUpdateStatus;
457
+ }
458
+
459
+ /**
460
+ * @example
461
+ * {}
462
+ */
463
+ type CreateAgentInsightsJobRequest = {};
464
+
465
+ /**
466
+ * @example
467
+ * {}
468
+ */
469
+ type GetAgentInsightsJobRequest = {};
470
+
471
+ /**
472
+ * @example
473
+ * {}
474
+ */
475
+ type TriggerAgentInsightsJobRequest = {};
476
+
477
+ /** New status for the job */
478
+ declare const AgentInsightsJobUpdateStatus: {
479
+ readonly Enabled: "enabled";
480
+ readonly Disabled: "disabled";
481
+ };
482
+ type AgentInsightsJobUpdateStatus = (typeof AgentInsightsJobUpdateStatus)[keyof typeof AgentInsightsJobUpdateStatus];
483
+
448
484
  /**
449
485
  * @example
450
486
  * {
@@ -2990,6 +3026,7 @@ interface DeleteThreadFeedbackScores {
2990
3026
  threadId: string;
2991
3027
  names: string[];
2992
3028
  author?: string;
3029
+ sourceQueueId?: string;
2993
3030
  }
2994
3031
 
2995
3032
  /**
@@ -3105,6 +3142,7 @@ interface GetTracesByProjectRequest {
3105
3142
  search?: string;
3106
3143
  fromTime?: Date;
3107
3144
  toTime?: Date;
3145
+ annotationQueueId?: string;
3108
3146
  }
3109
3147
 
3110
3148
  /**
@@ -3136,6 +3174,7 @@ interface GetTraceThreadsRequest {
3136
3174
  search?: string;
3137
3175
  fromTime?: Date;
3138
3176
  toTime?: Date;
3177
+ annotationQueueId?: string;
3139
3178
  }
3140
3179
 
3141
3180
  /**
@@ -3536,6 +3575,22 @@ declare const AgentInsightsIssueWithDetailsStatus: {
3536
3575
  };
3537
3576
  type AgentInsightsIssueWithDetailsStatus = (typeof AgentInsightsIssueWithDetailsStatus)[keyof typeof AgentInsightsIssueWithDetailsStatus];
3538
3577
 
3578
+ interface AgentInsightsJob {
3579
+ id?: string;
3580
+ projectId?: string;
3581
+ status?: AgentInsightsJobStatus;
3582
+ createdAt?: Date;
3583
+ createdBy?: string;
3584
+ lastUpdatedAt?: Date;
3585
+ lastUpdatedBy?: string;
3586
+ }
3587
+
3588
+ declare const AgentInsightsJobStatus: {
3589
+ readonly Enabled: "enabled";
3590
+ readonly Disabled: "disabled";
3591
+ };
3592
+ type AgentInsightsJobStatus = (typeof AgentInsightsJobStatus)[keyof typeof AgentInsightsJobStatus];
3593
+
3539
3594
  interface AggregationData {
3540
3595
  experimentCount?: number;
3541
3596
  traceCount?: number;
@@ -4411,6 +4466,7 @@ type ColumnTypesItem = (typeof ColumnTypesItem)[keyof typeof ColumnTypesItem];
4411
4466
  interface Comment {
4412
4467
  id?: string;
4413
4468
  text: string;
4469
+ sourceQueueId?: string;
4414
4470
  createdAt?: Date;
4415
4471
  lastUpdatedAt?: Date;
4416
4472
  createdBy?: string;
@@ -4420,6 +4476,7 @@ interface Comment {
4420
4476
  interface CommentCompare {
4421
4477
  id?: string;
4422
4478
  text: string;
4479
+ sourceQueueId?: string;
4423
4480
  createdAt?: Date;
4424
4481
  lastUpdatedAt?: Date;
4425
4482
  createdBy?: string;
@@ -4429,6 +4486,7 @@ interface CommentCompare {
4429
4486
  interface CommentPublic {
4430
4487
  id?: string;
4431
4488
  text: string;
4489
+ sourceQueueId?: string;
4432
4490
  createdAt?: Date;
4433
4491
  lastUpdatedAt?: Date;
4434
4492
  createdBy?: string;
@@ -4912,6 +4970,7 @@ interface DatasetVersionSummaryPublic {
4912
4970
  interface DeleteFeedbackScore {
4913
4971
  name: string;
4914
4972
  author?: string;
4973
+ sourceQueueId?: string;
4915
4974
  }
4916
4975
 
4917
4976
  interface DeleteIdsHolder {
@@ -5447,6 +5506,7 @@ interface FeedbackScore {
5447
5506
  value: number;
5448
5507
  reason?: string;
5449
5508
  source: FeedbackScoreSource;
5509
+ sourceQueueId?: string;
5450
5510
  createdAt?: Date;
5451
5511
  lastUpdatedAt?: Date;
5452
5512
  createdBy?: string;
@@ -5483,6 +5543,7 @@ interface FeedbackScoreBatchItem {
5483
5543
  reason?: string;
5484
5544
  source: FeedbackScoreBatchItemSource;
5485
5545
  author?: string;
5546
+ sourceQueueId?: string;
5486
5547
  id: string;
5487
5548
  }
5488
5549
 
@@ -5503,6 +5564,7 @@ interface FeedbackScoreBatchItemThread {
5503
5564
  reason?: string;
5504
5565
  source: FeedbackScoreBatchItemThreadSource;
5505
5566
  author?: string;
5567
+ sourceQueueId?: string;
5506
5568
  threadId: string;
5507
5569
  }
5508
5570
 
@@ -5519,6 +5581,7 @@ interface FeedbackScoreCompare {
5519
5581
  value: number;
5520
5582
  reason?: string;
5521
5583
  source: FeedbackScoreCompareSource;
5584
+ sourceQueueId?: string;
5522
5585
  createdAt?: Date;
5523
5586
  lastUpdatedAt?: Date;
5524
5587
  createdBy?: string;
@@ -5539,6 +5602,7 @@ interface FeedbackScoreExperimentItemBulkWriteView {
5539
5602
  value: number;
5540
5603
  reason?: string;
5541
5604
  source: FeedbackScoreExperimentItemBulkWriteViewSource;
5605
+ sourceQueueId?: string;
5542
5606
  createdAt?: Date;
5543
5607
  lastUpdatedAt?: Date;
5544
5608
  createdBy?: string;
@@ -5570,6 +5634,7 @@ interface FeedbackScorePublic {
5570
5634
  value: number;
5571
5635
  reason?: string;
5572
5636
  source: FeedbackScorePublicSource;
5637
+ sourceQueueId?: string;
5573
5638
  createdAt?: Date;
5574
5639
  lastUpdatedAt?: Date;
5575
5640
  createdBy?: string;
@@ -8442,6 +8507,78 @@ declare class AgentInsightsClient {
8442
8507
  private __updateAgentInsightsIssue;
8443
8508
  }
8444
8509
 
8510
+ declare namespace AgentInsightsJobsClient {
8511
+ type Options = BaseClientOptions;
8512
+ interface RequestOptions extends BaseRequestOptions {
8513
+ }
8514
+ }
8515
+ /**
8516
+ * Per-(workspace, project) Agent Insights report configuration
8517
+ */
8518
+ declare class AgentInsightsJobsClient {
8519
+ protected readonly _options: NormalizedClientOptions<AgentInsightsJobsClient.Options>;
8520
+ constructor(options?: AgentInsightsJobsClient.Options);
8521
+ /**
8522
+ * Returns the Agent Insights job for the (workspace, project), or 404 if none exists.
8523
+ *
8524
+ * @param {string} projectId
8525
+ * @param {OpikApi.GetAgentInsightsJobRequest} request
8526
+ * @param {AgentInsightsJobsClient.RequestOptions} requestOptions - Request-specific configuration.
8527
+ *
8528
+ * @throws {@link OpikApi.NotFoundError}
8529
+ *
8530
+ * @example
8531
+ * await client.agentInsightsJobs.getAgentInsightsJob("projectId")
8532
+ */
8533
+ getAgentInsightsJob(projectId: string, request?: GetAgentInsightsJobRequest, requestOptions?: AgentInsightsJobsClient.RequestOptions): HttpResponsePromise<AgentInsightsJob>;
8534
+ private __getAgentInsightsJob;
8535
+ /**
8536
+ * Creates the Agent Insights job for a project. 409 if one already exists.
8537
+ *
8538
+ * @param {string} projectId
8539
+ * @param {OpikApi.CreateAgentInsightsJobRequest} request
8540
+ * @param {AgentInsightsJobsClient.RequestOptions} requestOptions - Request-specific configuration.
8541
+ *
8542
+ * @throws {@link OpikApi.NotFoundError}
8543
+ * @throws {@link OpikApi.ConflictError}
8544
+ *
8545
+ * @example
8546
+ * await client.agentInsightsJobs.createAgentInsightsJob("projectId")
8547
+ */
8548
+ createAgentInsightsJob(projectId: string, request?: CreateAgentInsightsJobRequest, requestOptions?: AgentInsightsJobsClient.RequestOptions): HttpResponsePromise<AgentInsightsJob>;
8549
+ private __createAgentInsightsJob;
8550
+ /**
8551
+ * Partially updates the Agent Insights job for a project (e.g. status; never deletes). Returns the updated job, or 404 if none exists.
8552
+ *
8553
+ * @param {string} projectId
8554
+ * @param {OpikApi.AgentInsightsJobUpdate} request
8555
+ * @param {AgentInsightsJobsClient.RequestOptions} requestOptions - Request-specific configuration.
8556
+ *
8557
+ * @throws {@link OpikApi.NotFoundError}
8558
+ *
8559
+ * @example
8560
+ * await client.agentInsightsJobs.updateAgentInsightsJob("projectId", {
8561
+ * status: "enabled"
8562
+ * })
8563
+ */
8564
+ updateAgentInsightsJob(projectId: string, request: AgentInsightsJobUpdate, requestOptions?: AgentInsightsJobsClient.RequestOptions): HttpResponsePromise<AgentInsightsJob>;
8565
+ private __updateAgentInsightsJob;
8566
+ /**
8567
+ * Triggers an immediate report run for an existing job (over the last 24h). Fire-and-forget; returns 202. 404 if none exists.
8568
+ *
8569
+ * @param {string} projectId
8570
+ * @param {OpikApi.TriggerAgentInsightsJobRequest} request
8571
+ * @param {AgentInsightsJobsClient.RequestOptions} requestOptions - Request-specific configuration.
8572
+ *
8573
+ * @throws {@link OpikApi.NotFoundError}
8574
+ *
8575
+ * @example
8576
+ * await client.agentInsightsJobs.triggerAgentInsightsJob("projectId")
8577
+ */
8578
+ triggerAgentInsightsJob(projectId: string, request?: TriggerAgentInsightsJobRequest, requestOptions?: AgentInsightsJobsClient.RequestOptions): HttpResponsePromise<void>;
8579
+ private __triggerAgentInsightsJob;
8580
+ }
8581
+
8445
8582
  declare namespace AiSpendClient {
8446
8583
  type Options = BaseClientOptions;
8447
8584
  interface RequestOptions extends BaseRequestOptions {
@@ -13098,6 +13235,7 @@ declare class OpikApiClient {
13098
13235
  protected _systemAnalyticsQueries: SystemAnalyticsQueriesClient | undefined;
13099
13236
  protected _systemUsage: SystemUsageClient | undefined;
13100
13237
  protected _agentConfigs: AgentConfigsClient | undefined;
13238
+ protected _agentInsightsJobs: AgentInsightsJobsClient | undefined;
13101
13239
  protected _agentInsights: AgentInsightsClient | undefined;
13102
13240
  protected _aiSpend: AiSpendClient | undefined;
13103
13241
  protected _alerts: AlertsClient | undefined;
@@ -13139,6 +13277,7 @@ declare class OpikApiClient {
13139
13277
  get systemAnalyticsQueries(): SystemAnalyticsQueriesClient;
13140
13278
  get systemUsage(): SystemUsageClient;
13141
13279
  get agentConfigs(): AgentConfigsClient;
13280
+ get agentInsightsJobs(): AgentInsightsJobsClient;
13142
13281
  get agentInsights(): AgentInsightsClient;
13143
13282
  get aiSpend(): AiSpendClient;
13144
13283
  get alerts(): AlertsClient;
package/dist/index.d.ts CHANGED
@@ -445,6 +445,42 @@ declare const FindAgentInsightsIssuesRequestStatus: {
445
445
  };
446
446
  type FindAgentInsightsIssuesRequestStatus = (typeof FindAgentInsightsIssuesRequestStatus)[keyof typeof FindAgentInsightsIssuesRequestStatus];
447
447
 
448
+ /**
449
+ * @example
450
+ * {
451
+ * status: "enabled"
452
+ * }
453
+ */
454
+ interface AgentInsightsJobUpdate {
455
+ /** New status for the job */
456
+ status: AgentInsightsJobUpdateStatus;
457
+ }
458
+
459
+ /**
460
+ * @example
461
+ * {}
462
+ */
463
+ type CreateAgentInsightsJobRequest = {};
464
+
465
+ /**
466
+ * @example
467
+ * {}
468
+ */
469
+ type GetAgentInsightsJobRequest = {};
470
+
471
+ /**
472
+ * @example
473
+ * {}
474
+ */
475
+ type TriggerAgentInsightsJobRequest = {};
476
+
477
+ /** New status for the job */
478
+ declare const AgentInsightsJobUpdateStatus: {
479
+ readonly Enabled: "enabled";
480
+ readonly Disabled: "disabled";
481
+ };
482
+ type AgentInsightsJobUpdateStatus = (typeof AgentInsightsJobUpdateStatus)[keyof typeof AgentInsightsJobUpdateStatus];
483
+
448
484
  /**
449
485
  * @example
450
486
  * {
@@ -2990,6 +3026,7 @@ interface DeleteThreadFeedbackScores {
2990
3026
  threadId: string;
2991
3027
  names: string[];
2992
3028
  author?: string;
3029
+ sourceQueueId?: string;
2993
3030
  }
2994
3031
 
2995
3032
  /**
@@ -3105,6 +3142,7 @@ interface GetTracesByProjectRequest {
3105
3142
  search?: string;
3106
3143
  fromTime?: Date;
3107
3144
  toTime?: Date;
3145
+ annotationQueueId?: string;
3108
3146
  }
3109
3147
 
3110
3148
  /**
@@ -3136,6 +3174,7 @@ interface GetTraceThreadsRequest {
3136
3174
  search?: string;
3137
3175
  fromTime?: Date;
3138
3176
  toTime?: Date;
3177
+ annotationQueueId?: string;
3139
3178
  }
3140
3179
 
3141
3180
  /**
@@ -3536,6 +3575,22 @@ declare const AgentInsightsIssueWithDetailsStatus: {
3536
3575
  };
3537
3576
  type AgentInsightsIssueWithDetailsStatus = (typeof AgentInsightsIssueWithDetailsStatus)[keyof typeof AgentInsightsIssueWithDetailsStatus];
3538
3577
 
3578
+ interface AgentInsightsJob {
3579
+ id?: string;
3580
+ projectId?: string;
3581
+ status?: AgentInsightsJobStatus;
3582
+ createdAt?: Date;
3583
+ createdBy?: string;
3584
+ lastUpdatedAt?: Date;
3585
+ lastUpdatedBy?: string;
3586
+ }
3587
+
3588
+ declare const AgentInsightsJobStatus: {
3589
+ readonly Enabled: "enabled";
3590
+ readonly Disabled: "disabled";
3591
+ };
3592
+ type AgentInsightsJobStatus = (typeof AgentInsightsJobStatus)[keyof typeof AgentInsightsJobStatus];
3593
+
3539
3594
  interface AggregationData {
3540
3595
  experimentCount?: number;
3541
3596
  traceCount?: number;
@@ -4411,6 +4466,7 @@ type ColumnTypesItem = (typeof ColumnTypesItem)[keyof typeof ColumnTypesItem];
4411
4466
  interface Comment {
4412
4467
  id?: string;
4413
4468
  text: string;
4469
+ sourceQueueId?: string;
4414
4470
  createdAt?: Date;
4415
4471
  lastUpdatedAt?: Date;
4416
4472
  createdBy?: string;
@@ -4420,6 +4476,7 @@ interface Comment {
4420
4476
  interface CommentCompare {
4421
4477
  id?: string;
4422
4478
  text: string;
4479
+ sourceQueueId?: string;
4423
4480
  createdAt?: Date;
4424
4481
  lastUpdatedAt?: Date;
4425
4482
  createdBy?: string;
@@ -4429,6 +4486,7 @@ interface CommentCompare {
4429
4486
  interface CommentPublic {
4430
4487
  id?: string;
4431
4488
  text: string;
4489
+ sourceQueueId?: string;
4432
4490
  createdAt?: Date;
4433
4491
  lastUpdatedAt?: Date;
4434
4492
  createdBy?: string;
@@ -4912,6 +4970,7 @@ interface DatasetVersionSummaryPublic {
4912
4970
  interface DeleteFeedbackScore {
4913
4971
  name: string;
4914
4972
  author?: string;
4973
+ sourceQueueId?: string;
4915
4974
  }
4916
4975
 
4917
4976
  interface DeleteIdsHolder {
@@ -5447,6 +5506,7 @@ interface FeedbackScore {
5447
5506
  value: number;
5448
5507
  reason?: string;
5449
5508
  source: FeedbackScoreSource;
5509
+ sourceQueueId?: string;
5450
5510
  createdAt?: Date;
5451
5511
  lastUpdatedAt?: Date;
5452
5512
  createdBy?: string;
@@ -5483,6 +5543,7 @@ interface FeedbackScoreBatchItem {
5483
5543
  reason?: string;
5484
5544
  source: FeedbackScoreBatchItemSource;
5485
5545
  author?: string;
5546
+ sourceQueueId?: string;
5486
5547
  id: string;
5487
5548
  }
5488
5549
 
@@ -5503,6 +5564,7 @@ interface FeedbackScoreBatchItemThread {
5503
5564
  reason?: string;
5504
5565
  source: FeedbackScoreBatchItemThreadSource;
5505
5566
  author?: string;
5567
+ sourceQueueId?: string;
5506
5568
  threadId: string;
5507
5569
  }
5508
5570
 
@@ -5519,6 +5581,7 @@ interface FeedbackScoreCompare {
5519
5581
  value: number;
5520
5582
  reason?: string;
5521
5583
  source: FeedbackScoreCompareSource;
5584
+ sourceQueueId?: string;
5522
5585
  createdAt?: Date;
5523
5586
  lastUpdatedAt?: Date;
5524
5587
  createdBy?: string;
@@ -5539,6 +5602,7 @@ interface FeedbackScoreExperimentItemBulkWriteView {
5539
5602
  value: number;
5540
5603
  reason?: string;
5541
5604
  source: FeedbackScoreExperimentItemBulkWriteViewSource;
5605
+ sourceQueueId?: string;
5542
5606
  createdAt?: Date;
5543
5607
  lastUpdatedAt?: Date;
5544
5608
  createdBy?: string;
@@ -5570,6 +5634,7 @@ interface FeedbackScorePublic {
5570
5634
  value: number;
5571
5635
  reason?: string;
5572
5636
  source: FeedbackScorePublicSource;
5637
+ sourceQueueId?: string;
5573
5638
  createdAt?: Date;
5574
5639
  lastUpdatedAt?: Date;
5575
5640
  createdBy?: string;
@@ -8442,6 +8507,78 @@ declare class AgentInsightsClient {
8442
8507
  private __updateAgentInsightsIssue;
8443
8508
  }
8444
8509
 
8510
+ declare namespace AgentInsightsJobsClient {
8511
+ type Options = BaseClientOptions;
8512
+ interface RequestOptions extends BaseRequestOptions {
8513
+ }
8514
+ }
8515
+ /**
8516
+ * Per-(workspace, project) Agent Insights report configuration
8517
+ */
8518
+ declare class AgentInsightsJobsClient {
8519
+ protected readonly _options: NormalizedClientOptions<AgentInsightsJobsClient.Options>;
8520
+ constructor(options?: AgentInsightsJobsClient.Options);
8521
+ /**
8522
+ * Returns the Agent Insights job for the (workspace, project), or 404 if none exists.
8523
+ *
8524
+ * @param {string} projectId
8525
+ * @param {OpikApi.GetAgentInsightsJobRequest} request
8526
+ * @param {AgentInsightsJobsClient.RequestOptions} requestOptions - Request-specific configuration.
8527
+ *
8528
+ * @throws {@link OpikApi.NotFoundError}
8529
+ *
8530
+ * @example
8531
+ * await client.agentInsightsJobs.getAgentInsightsJob("projectId")
8532
+ */
8533
+ getAgentInsightsJob(projectId: string, request?: GetAgentInsightsJobRequest, requestOptions?: AgentInsightsJobsClient.RequestOptions): HttpResponsePromise<AgentInsightsJob>;
8534
+ private __getAgentInsightsJob;
8535
+ /**
8536
+ * Creates the Agent Insights job for a project. 409 if one already exists.
8537
+ *
8538
+ * @param {string} projectId
8539
+ * @param {OpikApi.CreateAgentInsightsJobRequest} request
8540
+ * @param {AgentInsightsJobsClient.RequestOptions} requestOptions - Request-specific configuration.
8541
+ *
8542
+ * @throws {@link OpikApi.NotFoundError}
8543
+ * @throws {@link OpikApi.ConflictError}
8544
+ *
8545
+ * @example
8546
+ * await client.agentInsightsJobs.createAgentInsightsJob("projectId")
8547
+ */
8548
+ createAgentInsightsJob(projectId: string, request?: CreateAgentInsightsJobRequest, requestOptions?: AgentInsightsJobsClient.RequestOptions): HttpResponsePromise<AgentInsightsJob>;
8549
+ private __createAgentInsightsJob;
8550
+ /**
8551
+ * Partially updates the Agent Insights job for a project (e.g. status; never deletes). Returns the updated job, or 404 if none exists.
8552
+ *
8553
+ * @param {string} projectId
8554
+ * @param {OpikApi.AgentInsightsJobUpdate} request
8555
+ * @param {AgentInsightsJobsClient.RequestOptions} requestOptions - Request-specific configuration.
8556
+ *
8557
+ * @throws {@link OpikApi.NotFoundError}
8558
+ *
8559
+ * @example
8560
+ * await client.agentInsightsJobs.updateAgentInsightsJob("projectId", {
8561
+ * status: "enabled"
8562
+ * })
8563
+ */
8564
+ updateAgentInsightsJob(projectId: string, request: AgentInsightsJobUpdate, requestOptions?: AgentInsightsJobsClient.RequestOptions): HttpResponsePromise<AgentInsightsJob>;
8565
+ private __updateAgentInsightsJob;
8566
+ /**
8567
+ * Triggers an immediate report run for an existing job (over the last 24h). Fire-and-forget; returns 202. 404 if none exists.
8568
+ *
8569
+ * @param {string} projectId
8570
+ * @param {OpikApi.TriggerAgentInsightsJobRequest} request
8571
+ * @param {AgentInsightsJobsClient.RequestOptions} requestOptions - Request-specific configuration.
8572
+ *
8573
+ * @throws {@link OpikApi.NotFoundError}
8574
+ *
8575
+ * @example
8576
+ * await client.agentInsightsJobs.triggerAgentInsightsJob("projectId")
8577
+ */
8578
+ triggerAgentInsightsJob(projectId: string, request?: TriggerAgentInsightsJobRequest, requestOptions?: AgentInsightsJobsClient.RequestOptions): HttpResponsePromise<void>;
8579
+ private __triggerAgentInsightsJob;
8580
+ }
8581
+
8445
8582
  declare namespace AiSpendClient {
8446
8583
  type Options = BaseClientOptions;
8447
8584
  interface RequestOptions extends BaseRequestOptions {
@@ -13098,6 +13235,7 @@ declare class OpikApiClient {
13098
13235
  protected _systemAnalyticsQueries: SystemAnalyticsQueriesClient | undefined;
13099
13236
  protected _systemUsage: SystemUsageClient | undefined;
13100
13237
  protected _agentConfigs: AgentConfigsClient | undefined;
13238
+ protected _agentInsightsJobs: AgentInsightsJobsClient | undefined;
13101
13239
  protected _agentInsights: AgentInsightsClient | undefined;
13102
13240
  protected _aiSpend: AiSpendClient | undefined;
13103
13241
  protected _alerts: AlertsClient | undefined;
@@ -13139,6 +13277,7 @@ declare class OpikApiClient {
13139
13277
  get systemAnalyticsQueries(): SystemAnalyticsQueriesClient;
13140
13278
  get systemUsage(): SystemUsageClient;
13141
13279
  get agentConfigs(): AgentConfigsClient;
13280
+ get agentInsightsJobs(): AgentInsightsJobsClient;
13142
13281
  get agentInsights(): AgentInsightsClient;
13143
13282
  get aiSpend(): AiSpendClient;
13144
13283
  get alerts(): AlertsClient;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import {Ia}from'./chunk-DNPSLTSR.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-DNPSLTSR.js';Ia();
1
+ import {Ia}from'./chunk-2Y4H3VQV.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-2Y4H3VQV.js';Ia();
@@ -1 +1 @@
1
- import {Ca}from'./chunk-DNPSLTSR.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-DNPSLTSR.js';Ca();
1
+ import {Ca}from'./chunk-2Y4H3VQV.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-2Y4H3VQV.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.0.70",
4
+ "version": "2.0.72",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/comet-ml/opik.git",