opik 2.0.71 → 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/chunk-2Y4H3VQV.js +404 -0
- package/dist/index.cjs +22 -22
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1 -1
- package/dist/{suite-KHEZIYZM.js → suite-VTS4HQO5.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-277G3DZX.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -3026,6 +3026,7 @@ interface DeleteThreadFeedbackScores {
|
|
|
3026
3026
|
threadId: string;
|
|
3027
3027
|
names: string[];
|
|
3028
3028
|
author?: string;
|
|
3029
|
+
sourceQueueId?: string;
|
|
3029
3030
|
}
|
|
3030
3031
|
|
|
3031
3032
|
/**
|
|
@@ -3141,6 +3142,7 @@ interface GetTracesByProjectRequest {
|
|
|
3141
3142
|
search?: string;
|
|
3142
3143
|
fromTime?: Date;
|
|
3143
3144
|
toTime?: Date;
|
|
3145
|
+
annotationQueueId?: string;
|
|
3144
3146
|
}
|
|
3145
3147
|
|
|
3146
3148
|
/**
|
|
@@ -3172,6 +3174,7 @@ interface GetTraceThreadsRequest {
|
|
|
3172
3174
|
search?: string;
|
|
3173
3175
|
fromTime?: Date;
|
|
3174
3176
|
toTime?: Date;
|
|
3177
|
+
annotationQueueId?: string;
|
|
3175
3178
|
}
|
|
3176
3179
|
|
|
3177
3180
|
/**
|
|
@@ -4463,6 +4466,7 @@ type ColumnTypesItem = (typeof ColumnTypesItem)[keyof typeof ColumnTypesItem];
|
|
|
4463
4466
|
interface Comment {
|
|
4464
4467
|
id?: string;
|
|
4465
4468
|
text: string;
|
|
4469
|
+
sourceQueueId?: string;
|
|
4466
4470
|
createdAt?: Date;
|
|
4467
4471
|
lastUpdatedAt?: Date;
|
|
4468
4472
|
createdBy?: string;
|
|
@@ -4472,6 +4476,7 @@ interface Comment {
|
|
|
4472
4476
|
interface CommentCompare {
|
|
4473
4477
|
id?: string;
|
|
4474
4478
|
text: string;
|
|
4479
|
+
sourceQueueId?: string;
|
|
4475
4480
|
createdAt?: Date;
|
|
4476
4481
|
lastUpdatedAt?: Date;
|
|
4477
4482
|
createdBy?: string;
|
|
@@ -4481,6 +4486,7 @@ interface CommentCompare {
|
|
|
4481
4486
|
interface CommentPublic {
|
|
4482
4487
|
id?: string;
|
|
4483
4488
|
text: string;
|
|
4489
|
+
sourceQueueId?: string;
|
|
4484
4490
|
createdAt?: Date;
|
|
4485
4491
|
lastUpdatedAt?: Date;
|
|
4486
4492
|
createdBy?: string;
|
|
@@ -4964,6 +4970,7 @@ interface DatasetVersionSummaryPublic {
|
|
|
4964
4970
|
interface DeleteFeedbackScore {
|
|
4965
4971
|
name: string;
|
|
4966
4972
|
author?: string;
|
|
4973
|
+
sourceQueueId?: string;
|
|
4967
4974
|
}
|
|
4968
4975
|
|
|
4969
4976
|
interface DeleteIdsHolder {
|
|
@@ -5499,6 +5506,7 @@ interface FeedbackScore {
|
|
|
5499
5506
|
value: number;
|
|
5500
5507
|
reason?: string;
|
|
5501
5508
|
source: FeedbackScoreSource;
|
|
5509
|
+
sourceQueueId?: string;
|
|
5502
5510
|
createdAt?: Date;
|
|
5503
5511
|
lastUpdatedAt?: Date;
|
|
5504
5512
|
createdBy?: string;
|
|
@@ -5535,6 +5543,7 @@ interface FeedbackScoreBatchItem {
|
|
|
5535
5543
|
reason?: string;
|
|
5536
5544
|
source: FeedbackScoreBatchItemSource;
|
|
5537
5545
|
author?: string;
|
|
5546
|
+
sourceQueueId?: string;
|
|
5538
5547
|
id: string;
|
|
5539
5548
|
}
|
|
5540
5549
|
|
|
@@ -5555,6 +5564,7 @@ interface FeedbackScoreBatchItemThread {
|
|
|
5555
5564
|
reason?: string;
|
|
5556
5565
|
source: FeedbackScoreBatchItemThreadSource;
|
|
5557
5566
|
author?: string;
|
|
5567
|
+
sourceQueueId?: string;
|
|
5558
5568
|
threadId: string;
|
|
5559
5569
|
}
|
|
5560
5570
|
|
|
@@ -5571,6 +5581,7 @@ interface FeedbackScoreCompare {
|
|
|
5571
5581
|
value: number;
|
|
5572
5582
|
reason?: string;
|
|
5573
5583
|
source: FeedbackScoreCompareSource;
|
|
5584
|
+
sourceQueueId?: string;
|
|
5574
5585
|
createdAt?: Date;
|
|
5575
5586
|
lastUpdatedAt?: Date;
|
|
5576
5587
|
createdBy?: string;
|
|
@@ -5591,6 +5602,7 @@ interface FeedbackScoreExperimentItemBulkWriteView {
|
|
|
5591
5602
|
value: number;
|
|
5592
5603
|
reason?: string;
|
|
5593
5604
|
source: FeedbackScoreExperimentItemBulkWriteViewSource;
|
|
5605
|
+
sourceQueueId?: string;
|
|
5594
5606
|
createdAt?: Date;
|
|
5595
5607
|
lastUpdatedAt?: Date;
|
|
5596
5608
|
createdBy?: string;
|
|
@@ -5622,6 +5634,7 @@ interface FeedbackScorePublic {
|
|
|
5622
5634
|
value: number;
|
|
5623
5635
|
reason?: string;
|
|
5624
5636
|
source: FeedbackScorePublicSource;
|
|
5637
|
+
sourceQueueId?: string;
|
|
5625
5638
|
createdAt?: Date;
|
|
5626
5639
|
lastUpdatedAt?: Date;
|
|
5627
5640
|
createdBy?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -3026,6 +3026,7 @@ interface DeleteThreadFeedbackScores {
|
|
|
3026
3026
|
threadId: string;
|
|
3027
3027
|
names: string[];
|
|
3028
3028
|
author?: string;
|
|
3029
|
+
sourceQueueId?: string;
|
|
3029
3030
|
}
|
|
3030
3031
|
|
|
3031
3032
|
/**
|
|
@@ -3141,6 +3142,7 @@ interface GetTracesByProjectRequest {
|
|
|
3141
3142
|
search?: string;
|
|
3142
3143
|
fromTime?: Date;
|
|
3143
3144
|
toTime?: Date;
|
|
3145
|
+
annotationQueueId?: string;
|
|
3144
3146
|
}
|
|
3145
3147
|
|
|
3146
3148
|
/**
|
|
@@ -3172,6 +3174,7 @@ interface GetTraceThreadsRequest {
|
|
|
3172
3174
|
search?: string;
|
|
3173
3175
|
fromTime?: Date;
|
|
3174
3176
|
toTime?: Date;
|
|
3177
|
+
annotationQueueId?: string;
|
|
3175
3178
|
}
|
|
3176
3179
|
|
|
3177
3180
|
/**
|
|
@@ -4463,6 +4466,7 @@ type ColumnTypesItem = (typeof ColumnTypesItem)[keyof typeof ColumnTypesItem];
|
|
|
4463
4466
|
interface Comment {
|
|
4464
4467
|
id?: string;
|
|
4465
4468
|
text: string;
|
|
4469
|
+
sourceQueueId?: string;
|
|
4466
4470
|
createdAt?: Date;
|
|
4467
4471
|
lastUpdatedAt?: Date;
|
|
4468
4472
|
createdBy?: string;
|
|
@@ -4472,6 +4476,7 @@ interface Comment {
|
|
|
4472
4476
|
interface CommentCompare {
|
|
4473
4477
|
id?: string;
|
|
4474
4478
|
text: string;
|
|
4479
|
+
sourceQueueId?: string;
|
|
4475
4480
|
createdAt?: Date;
|
|
4476
4481
|
lastUpdatedAt?: Date;
|
|
4477
4482
|
createdBy?: string;
|
|
@@ -4481,6 +4486,7 @@ interface CommentCompare {
|
|
|
4481
4486
|
interface CommentPublic {
|
|
4482
4487
|
id?: string;
|
|
4483
4488
|
text: string;
|
|
4489
|
+
sourceQueueId?: string;
|
|
4484
4490
|
createdAt?: Date;
|
|
4485
4491
|
lastUpdatedAt?: Date;
|
|
4486
4492
|
createdBy?: string;
|
|
@@ -4964,6 +4970,7 @@ interface DatasetVersionSummaryPublic {
|
|
|
4964
4970
|
interface DeleteFeedbackScore {
|
|
4965
4971
|
name: string;
|
|
4966
4972
|
author?: string;
|
|
4973
|
+
sourceQueueId?: string;
|
|
4967
4974
|
}
|
|
4968
4975
|
|
|
4969
4976
|
interface DeleteIdsHolder {
|
|
@@ -5499,6 +5506,7 @@ interface FeedbackScore {
|
|
|
5499
5506
|
value: number;
|
|
5500
5507
|
reason?: string;
|
|
5501
5508
|
source: FeedbackScoreSource;
|
|
5509
|
+
sourceQueueId?: string;
|
|
5502
5510
|
createdAt?: Date;
|
|
5503
5511
|
lastUpdatedAt?: Date;
|
|
5504
5512
|
createdBy?: string;
|
|
@@ -5535,6 +5543,7 @@ interface FeedbackScoreBatchItem {
|
|
|
5535
5543
|
reason?: string;
|
|
5536
5544
|
source: FeedbackScoreBatchItemSource;
|
|
5537
5545
|
author?: string;
|
|
5546
|
+
sourceQueueId?: string;
|
|
5538
5547
|
id: string;
|
|
5539
5548
|
}
|
|
5540
5549
|
|
|
@@ -5555,6 +5564,7 @@ interface FeedbackScoreBatchItemThread {
|
|
|
5555
5564
|
reason?: string;
|
|
5556
5565
|
source: FeedbackScoreBatchItemThreadSource;
|
|
5557
5566
|
author?: string;
|
|
5567
|
+
sourceQueueId?: string;
|
|
5558
5568
|
threadId: string;
|
|
5559
5569
|
}
|
|
5560
5570
|
|
|
@@ -5571,6 +5581,7 @@ interface FeedbackScoreCompare {
|
|
|
5571
5581
|
value: number;
|
|
5572
5582
|
reason?: string;
|
|
5573
5583
|
source: FeedbackScoreCompareSource;
|
|
5584
|
+
sourceQueueId?: string;
|
|
5574
5585
|
createdAt?: Date;
|
|
5575
5586
|
lastUpdatedAt?: Date;
|
|
5576
5587
|
createdBy?: string;
|
|
@@ -5591,6 +5602,7 @@ interface FeedbackScoreExperimentItemBulkWriteView {
|
|
|
5591
5602
|
value: number;
|
|
5592
5603
|
reason?: string;
|
|
5593
5604
|
source: FeedbackScoreExperimentItemBulkWriteViewSource;
|
|
5605
|
+
sourceQueueId?: string;
|
|
5594
5606
|
createdAt?: Date;
|
|
5595
5607
|
lastUpdatedAt?: Date;
|
|
5596
5608
|
createdBy?: string;
|
|
@@ -5622,6 +5634,7 @@ interface FeedbackScorePublic {
|
|
|
5622
5634
|
value: number;
|
|
5623
5635
|
reason?: string;
|
|
5624
5636
|
source: FeedbackScorePublicSource;
|
|
5637
|
+
sourceQueueId?: string;
|
|
5625
5638
|
createdAt?: Date;
|
|
5626
5639
|
lastUpdatedAt?: Date;
|
|
5627
5640
|
createdBy?: string;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ia}from'./chunk-
|
|
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-
|
|
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();
|