opik 2.0.28 → 2.0.30
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-XKU42R4A.js +404 -0
- package/dist/index.cjs +36 -36
- package/dist/index.d.cts +23 -6
- package/dist/index.d.ts +23 -6
- package/dist/index.js +1 -1
- package/dist/{suite-IS535BRQ.js → suite-XI2TQNZ2.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-MGI4PR45.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -9847,7 +9847,6 @@ declare class PairingClient {
|
|
|
9847
9847
|
* @throws {@link OpikApi.ConflictError}
|
|
9848
9848
|
* @throws {@link OpikApi.UnprocessableEntityError}
|
|
9849
9849
|
* @throws {@link OpikApi.TooManyRequestsError}
|
|
9850
|
-
* @throws {@link OpikApi.NotImplementedError}
|
|
9851
9850
|
*
|
|
9852
9851
|
* @example
|
|
9853
9852
|
* await client.pairing.activatePairingSession("sessionId", {
|
|
@@ -9867,7 +9866,6 @@ declare class PairingClient {
|
|
|
9867
9866
|
* @throws {@link OpikApi.NotFoundError}
|
|
9868
9867
|
* @throws {@link OpikApi.UnprocessableEntityError}
|
|
9869
9868
|
* @throws {@link OpikApi.TooManyRequestsError}
|
|
9870
|
-
* @throws {@link OpikApi.NotImplementedError}
|
|
9871
9869
|
*
|
|
9872
9870
|
* @example
|
|
9873
9871
|
* await client.pairing.createPairingSession({
|
|
@@ -11966,11 +11964,12 @@ interface OpikConfig {
|
|
|
11966
11964
|
apiUrl?: string;
|
|
11967
11965
|
projectName: string;
|
|
11968
11966
|
workspaceName: string;
|
|
11967
|
+
environment?: string;
|
|
11969
11968
|
requestOptions?: RequestOptions;
|
|
11970
11969
|
batchDelayMs?: number;
|
|
11971
11970
|
holdUntilFlush?: boolean;
|
|
11972
11971
|
}
|
|
11973
|
-
interface ConstructorOpikConfig extends OpikConfig {
|
|
11972
|
+
interface ConstructorOpikConfig extends Omit<OpikConfig, "environment"> {
|
|
11974
11973
|
headers?: Record<string, string>;
|
|
11975
11974
|
}
|
|
11976
11975
|
|
|
@@ -12461,7 +12460,7 @@ declare class Span {
|
|
|
12461
12460
|
reason?: string;
|
|
12462
12461
|
}) => void;
|
|
12463
12462
|
update: (updates: SpanUpdateData) => this;
|
|
12464
|
-
span: (spanData: Omit<Span$1, "startTime" | "traceId" | "parentSpanId" | "projectId" | "projectName" | "id"> & {
|
|
12463
|
+
span: (spanData: Omit<Span$1, "startTime" | "traceId" | "parentSpanId" | "projectId" | "projectName" | "id" | "environment"> & {
|
|
12465
12464
|
startTime?: Date;
|
|
12466
12465
|
}) => Span;
|
|
12467
12466
|
}
|
|
@@ -12469,7 +12468,7 @@ declare class Span {
|
|
|
12469
12468
|
interface SavedTrace extends Trace$1 {
|
|
12470
12469
|
id: string;
|
|
12471
12470
|
}
|
|
12472
|
-
interface SpanData extends Omit<Span$1, "startTime" | "traceId"> {
|
|
12471
|
+
interface SpanData extends Omit<Span$1, "startTime" | "traceId" | "environment"> {
|
|
12473
12472
|
startTime?: Date;
|
|
12474
12473
|
}
|
|
12475
12474
|
declare class Trace {
|
|
@@ -14374,6 +14373,17 @@ declare class OpikClient {
|
|
|
14374
14373
|
* ```
|
|
14375
14374
|
*/
|
|
14376
14375
|
logSpansFeedbackScores(scores: FeedbackScoreData[]): void;
|
|
14376
|
+
createEnvironment: (name: string, options?: {
|
|
14377
|
+
description?: string;
|
|
14378
|
+
color?: string;
|
|
14379
|
+
}) => Promise<EnvironmentPublic>;
|
|
14380
|
+
getEnvironments: () => Promise<EnvironmentPublic[]>;
|
|
14381
|
+
updateEnvironment: (name: string, options?: {
|
|
14382
|
+
description?: string;
|
|
14383
|
+
color?: string;
|
|
14384
|
+
}) => Promise<EnvironmentPublic>;
|
|
14385
|
+
deleteEnvironment: (name: string) => Promise<void>;
|
|
14386
|
+
private _findEnvironmentByName;
|
|
14377
14387
|
flush: (options?: {
|
|
14378
14388
|
silent?: boolean;
|
|
14379
14389
|
}) => Promise<void>;
|
|
@@ -14523,6 +14533,13 @@ type TrackOptions = {
|
|
|
14523
14533
|
name?: string;
|
|
14524
14534
|
projectName?: string;
|
|
14525
14535
|
type?: SpanType;
|
|
14536
|
+
/**
|
|
14537
|
+
* Environment to tag the trace with. When the root @track creates the
|
|
14538
|
+
* trace, the value is persisted on the trace and inherited by all child
|
|
14539
|
+
* spans. Per-call values on nested @track calls are ignored — the
|
|
14540
|
+
* trace's environment always wins.
|
|
14541
|
+
*/
|
|
14542
|
+
environment?: string;
|
|
14526
14543
|
/**
|
|
14527
14544
|
* Optional function to enrich the span with additional data extracted from the result.
|
|
14528
14545
|
* Called before the span is finalized with the success result.
|
|
@@ -16479,4 +16496,4 @@ interface DistributedTraceHeaders {
|
|
|
16479
16496
|
*/
|
|
16480
16497
|
declare function getDistributedTraceHeaders(): DistributedTraceHeaders | null;
|
|
16481
16498
|
|
|
16482
|
-
export { AgentTaskCompletionJudge, AgentToolCorrectnessJudge, type AllProviderOptions, AnnotationQueuePublicScope as AnnotationQueueScope, AnswerRelevance, type AnthropicProviderOptions, BaseLLMJudgeMetric, BaseMetric, BaseSuiteEvaluator, ChatPrompt, ComplianceRiskJudge, type Config, ConfigMismatchError, ConfigNotFoundError, Contains, type CreateTestSuiteOptions, DEFAULT_EXECUTION_POLICY, Dataset, type DatasetPublic, DatasetVersion, DatasetVersionNotFoundError, type DatasetVersionPublic, DemographicBiasJudge, DialogueHelpfulnessJudge, type DistributedTraceHeaders, type ErrorInfo, type EvaluateOptions, type EvaluatePromptOptions, type EvaluateTestSuiteOptions, type EvaluationError, type EvaluationResult, type EvaluationScoreResult, type EvaluationTask, type EvaluationTestCase, type EvaluationTestResult, ExactMatch, type ExecutionPolicy, type FeedbackScoreData, type FewShotExampleAnswerRelevanceNoContext, type FewShotExampleAnswerRelevanceWithContext, type FewShotExampleHallucination, type FewShotExampleModeration, type FilterExpression, GEval, GEvalPreset, GenderBiasJudge, type GoogleProviderOptions, Hallucination, IsJson, type ItemResult, LLMJudge, type LLMJudgeConfig, type LLMJudgeModelSettings, type LLMJudgeOptions, type LLMJudgeResponseFormat, ModelConfigurationError, ModelError, ModelGenerationError, Moderation, OPIK_PARENT_SPAN_ID_HEADER, OPIK_TRACE_ID_HEADER, type OpenAIProviderOptions, OpikClient as Opik, type OpikAssistantMessage, OpikBaseModel, type OpikConfig, type OpikMessage, OpikQueryLanguage, SpanType as OpikSpanType, type OpikSystemMessage, type OpikToolMessage, type OpikUserMessage, type Param, PoliticalBiasJudge, Prompt, PromptType, PromptUncertaintyJudge, type ProviderOptionsForModel, QARelevanceJudge, type RawTestSuiteItem, RegexMatch, RegionalBiasJudge, type RegistryEntry, ReligiousBiasJudge, ResponseSchema, type RunTestsOptions, SYSTEM_PROMPT, type ScoringKeyMappingType, Span, SpanType, SummarizationCoherenceJudge, SummarizationConsistencyJudge, type SupportedModelId, TASK_ERROR_SCORE_NAME, TestSuite, type TestSuiteItem, TestSuiteResult, ThreadsAnnotationQueue, Trace, TracesAnnotationQueue, USER_PROMPT_TEMPLATE, type UpdateTestSuiteItem, type UpdateTestSuiteOptions, Usefulness, VercelAIChatModel, activateRunner, agentConfigContext, buildSuiteResult, createModel, createModelFromInstance, deserializeEvaluators, detectProvider, disableLogger, evaluate, evaluatePrompt, evaluateTestSuite, flushAll, generateId, getDistributedTraceHeaders, getGlobalClient, getTrackContext, logger, resetGlobalClient, resolveEvaluators, resolveExecutionPolicy, resolveItemExecutionPolicy, resolveModel, runTests, serializeEvaluators, setGlobalClient, setLoggerLevel, track, validateEvaluators, validateExecutionPolicy };
|
|
16499
|
+
export { AgentTaskCompletionJudge, AgentToolCorrectnessJudge, type AllProviderOptions, AnnotationQueuePublicScope as AnnotationQueueScope, AnswerRelevance, type AnthropicProviderOptions, BaseLLMJudgeMetric, BaseMetric, BaseSuiteEvaluator, ChatPrompt, ComplianceRiskJudge, type Config, ConfigMismatchError, ConfigNotFoundError, Contains, type CreateTestSuiteOptions, DEFAULT_EXECUTION_POLICY, Dataset, type DatasetPublic, DatasetVersion, DatasetVersionNotFoundError, type DatasetVersionPublic, DemographicBiasJudge, DialogueHelpfulnessJudge, type DistributedTraceHeaders, type EnvironmentPublic as Environment, type ErrorInfo, type EvaluateOptions, type EvaluatePromptOptions, type EvaluateTestSuiteOptions, type EvaluationError, type EvaluationResult, type EvaluationScoreResult, type EvaluationTask, type EvaluationTestCase, type EvaluationTestResult, ExactMatch, type ExecutionPolicy, type FeedbackScoreData, type FewShotExampleAnswerRelevanceNoContext, type FewShotExampleAnswerRelevanceWithContext, type FewShotExampleHallucination, type FewShotExampleModeration, type FilterExpression, GEval, GEvalPreset, GenderBiasJudge, type GoogleProviderOptions, Hallucination, IsJson, type ItemResult, LLMJudge, type LLMJudgeConfig, type LLMJudgeModelSettings, type LLMJudgeOptions, type LLMJudgeResponseFormat, ModelConfigurationError, ModelError, ModelGenerationError, Moderation, OPIK_PARENT_SPAN_ID_HEADER, OPIK_TRACE_ID_HEADER, type OpenAIProviderOptions, OpikClient as Opik, type OpikAssistantMessage, OpikBaseModel, type OpikConfig, type OpikMessage, OpikQueryLanguage, SpanType as OpikSpanType, type OpikSystemMessage, type OpikToolMessage, type OpikUserMessage, type Param, PoliticalBiasJudge, Prompt, PromptType, PromptUncertaintyJudge, type ProviderOptionsForModel, QARelevanceJudge, type RawTestSuiteItem, RegexMatch, RegionalBiasJudge, type RegistryEntry, ReligiousBiasJudge, ResponseSchema, type RunTestsOptions, SYSTEM_PROMPT, type ScoringKeyMappingType, Span, SpanType, SummarizationCoherenceJudge, SummarizationConsistencyJudge, type SupportedModelId, TASK_ERROR_SCORE_NAME, TestSuite, type TestSuiteItem, TestSuiteResult, ThreadsAnnotationQueue, Trace, TracesAnnotationQueue, USER_PROMPT_TEMPLATE, type UpdateTestSuiteItem, type UpdateTestSuiteOptions, Usefulness, VercelAIChatModel, activateRunner, agentConfigContext, buildSuiteResult, createModel, createModelFromInstance, deserializeEvaluators, detectProvider, disableLogger, evaluate, evaluatePrompt, evaluateTestSuite, flushAll, generateId, getDistributedTraceHeaders, getGlobalClient, getTrackContext, logger, resetGlobalClient, resolveEvaluators, resolveExecutionPolicy, resolveItemExecutionPolicy, resolveModel, runTests, serializeEvaluators, setGlobalClient, setLoggerLevel, track, validateEvaluators, validateExecutionPolicy };
|
package/dist/index.d.ts
CHANGED
|
@@ -9847,7 +9847,6 @@ declare class PairingClient {
|
|
|
9847
9847
|
* @throws {@link OpikApi.ConflictError}
|
|
9848
9848
|
* @throws {@link OpikApi.UnprocessableEntityError}
|
|
9849
9849
|
* @throws {@link OpikApi.TooManyRequestsError}
|
|
9850
|
-
* @throws {@link OpikApi.NotImplementedError}
|
|
9851
9850
|
*
|
|
9852
9851
|
* @example
|
|
9853
9852
|
* await client.pairing.activatePairingSession("sessionId", {
|
|
@@ -9867,7 +9866,6 @@ declare class PairingClient {
|
|
|
9867
9866
|
* @throws {@link OpikApi.NotFoundError}
|
|
9868
9867
|
* @throws {@link OpikApi.UnprocessableEntityError}
|
|
9869
9868
|
* @throws {@link OpikApi.TooManyRequestsError}
|
|
9870
|
-
* @throws {@link OpikApi.NotImplementedError}
|
|
9871
9869
|
*
|
|
9872
9870
|
* @example
|
|
9873
9871
|
* await client.pairing.createPairingSession({
|
|
@@ -11966,11 +11964,12 @@ interface OpikConfig {
|
|
|
11966
11964
|
apiUrl?: string;
|
|
11967
11965
|
projectName: string;
|
|
11968
11966
|
workspaceName: string;
|
|
11967
|
+
environment?: string;
|
|
11969
11968
|
requestOptions?: RequestOptions;
|
|
11970
11969
|
batchDelayMs?: number;
|
|
11971
11970
|
holdUntilFlush?: boolean;
|
|
11972
11971
|
}
|
|
11973
|
-
interface ConstructorOpikConfig extends OpikConfig {
|
|
11972
|
+
interface ConstructorOpikConfig extends Omit<OpikConfig, "environment"> {
|
|
11974
11973
|
headers?: Record<string, string>;
|
|
11975
11974
|
}
|
|
11976
11975
|
|
|
@@ -12461,7 +12460,7 @@ declare class Span {
|
|
|
12461
12460
|
reason?: string;
|
|
12462
12461
|
}) => void;
|
|
12463
12462
|
update: (updates: SpanUpdateData) => this;
|
|
12464
|
-
span: (spanData: Omit<Span$1, "startTime" | "traceId" | "parentSpanId" | "projectId" | "projectName" | "id"> & {
|
|
12463
|
+
span: (spanData: Omit<Span$1, "startTime" | "traceId" | "parentSpanId" | "projectId" | "projectName" | "id" | "environment"> & {
|
|
12465
12464
|
startTime?: Date;
|
|
12466
12465
|
}) => Span;
|
|
12467
12466
|
}
|
|
@@ -12469,7 +12468,7 @@ declare class Span {
|
|
|
12469
12468
|
interface SavedTrace extends Trace$1 {
|
|
12470
12469
|
id: string;
|
|
12471
12470
|
}
|
|
12472
|
-
interface SpanData extends Omit<Span$1, "startTime" | "traceId"> {
|
|
12471
|
+
interface SpanData extends Omit<Span$1, "startTime" | "traceId" | "environment"> {
|
|
12473
12472
|
startTime?: Date;
|
|
12474
12473
|
}
|
|
12475
12474
|
declare class Trace {
|
|
@@ -14374,6 +14373,17 @@ declare class OpikClient {
|
|
|
14374
14373
|
* ```
|
|
14375
14374
|
*/
|
|
14376
14375
|
logSpansFeedbackScores(scores: FeedbackScoreData[]): void;
|
|
14376
|
+
createEnvironment: (name: string, options?: {
|
|
14377
|
+
description?: string;
|
|
14378
|
+
color?: string;
|
|
14379
|
+
}) => Promise<EnvironmentPublic>;
|
|
14380
|
+
getEnvironments: () => Promise<EnvironmentPublic[]>;
|
|
14381
|
+
updateEnvironment: (name: string, options?: {
|
|
14382
|
+
description?: string;
|
|
14383
|
+
color?: string;
|
|
14384
|
+
}) => Promise<EnvironmentPublic>;
|
|
14385
|
+
deleteEnvironment: (name: string) => Promise<void>;
|
|
14386
|
+
private _findEnvironmentByName;
|
|
14377
14387
|
flush: (options?: {
|
|
14378
14388
|
silent?: boolean;
|
|
14379
14389
|
}) => Promise<void>;
|
|
@@ -14523,6 +14533,13 @@ type TrackOptions = {
|
|
|
14523
14533
|
name?: string;
|
|
14524
14534
|
projectName?: string;
|
|
14525
14535
|
type?: SpanType;
|
|
14536
|
+
/**
|
|
14537
|
+
* Environment to tag the trace with. When the root @track creates the
|
|
14538
|
+
* trace, the value is persisted on the trace and inherited by all child
|
|
14539
|
+
* spans. Per-call values on nested @track calls are ignored — the
|
|
14540
|
+
* trace's environment always wins.
|
|
14541
|
+
*/
|
|
14542
|
+
environment?: string;
|
|
14526
14543
|
/**
|
|
14527
14544
|
* Optional function to enrich the span with additional data extracted from the result.
|
|
14528
14545
|
* Called before the span is finalized with the success result.
|
|
@@ -16479,4 +16496,4 @@ interface DistributedTraceHeaders {
|
|
|
16479
16496
|
*/
|
|
16480
16497
|
declare function getDistributedTraceHeaders(): DistributedTraceHeaders | null;
|
|
16481
16498
|
|
|
16482
|
-
export { AgentTaskCompletionJudge, AgentToolCorrectnessJudge, type AllProviderOptions, AnnotationQueuePublicScope as AnnotationQueueScope, AnswerRelevance, type AnthropicProviderOptions, BaseLLMJudgeMetric, BaseMetric, BaseSuiteEvaluator, ChatPrompt, ComplianceRiskJudge, type Config, ConfigMismatchError, ConfigNotFoundError, Contains, type CreateTestSuiteOptions, DEFAULT_EXECUTION_POLICY, Dataset, type DatasetPublic, DatasetVersion, DatasetVersionNotFoundError, type DatasetVersionPublic, DemographicBiasJudge, DialogueHelpfulnessJudge, type DistributedTraceHeaders, type ErrorInfo, type EvaluateOptions, type EvaluatePromptOptions, type EvaluateTestSuiteOptions, type EvaluationError, type EvaluationResult, type EvaluationScoreResult, type EvaluationTask, type EvaluationTestCase, type EvaluationTestResult, ExactMatch, type ExecutionPolicy, type FeedbackScoreData, type FewShotExampleAnswerRelevanceNoContext, type FewShotExampleAnswerRelevanceWithContext, type FewShotExampleHallucination, type FewShotExampleModeration, type FilterExpression, GEval, GEvalPreset, GenderBiasJudge, type GoogleProviderOptions, Hallucination, IsJson, type ItemResult, LLMJudge, type LLMJudgeConfig, type LLMJudgeModelSettings, type LLMJudgeOptions, type LLMJudgeResponseFormat, ModelConfigurationError, ModelError, ModelGenerationError, Moderation, OPIK_PARENT_SPAN_ID_HEADER, OPIK_TRACE_ID_HEADER, type OpenAIProviderOptions, OpikClient as Opik, type OpikAssistantMessage, OpikBaseModel, type OpikConfig, type OpikMessage, OpikQueryLanguage, SpanType as OpikSpanType, type OpikSystemMessage, type OpikToolMessage, type OpikUserMessage, type Param, PoliticalBiasJudge, Prompt, PromptType, PromptUncertaintyJudge, type ProviderOptionsForModel, QARelevanceJudge, type RawTestSuiteItem, RegexMatch, RegionalBiasJudge, type RegistryEntry, ReligiousBiasJudge, ResponseSchema, type RunTestsOptions, SYSTEM_PROMPT, type ScoringKeyMappingType, Span, SpanType, SummarizationCoherenceJudge, SummarizationConsistencyJudge, type SupportedModelId, TASK_ERROR_SCORE_NAME, TestSuite, type TestSuiteItem, TestSuiteResult, ThreadsAnnotationQueue, Trace, TracesAnnotationQueue, USER_PROMPT_TEMPLATE, type UpdateTestSuiteItem, type UpdateTestSuiteOptions, Usefulness, VercelAIChatModel, activateRunner, agentConfigContext, buildSuiteResult, createModel, createModelFromInstance, deserializeEvaluators, detectProvider, disableLogger, evaluate, evaluatePrompt, evaluateTestSuite, flushAll, generateId, getDistributedTraceHeaders, getGlobalClient, getTrackContext, logger, resetGlobalClient, resolveEvaluators, resolveExecutionPolicy, resolveItemExecutionPolicy, resolveModel, runTests, serializeEvaluators, setGlobalClient, setLoggerLevel, track, validateEvaluators, validateExecutionPolicy };
|
|
16499
|
+
export { AgentTaskCompletionJudge, AgentToolCorrectnessJudge, type AllProviderOptions, AnnotationQueuePublicScope as AnnotationQueueScope, AnswerRelevance, type AnthropicProviderOptions, BaseLLMJudgeMetric, BaseMetric, BaseSuiteEvaluator, ChatPrompt, ComplianceRiskJudge, type Config, ConfigMismatchError, ConfigNotFoundError, Contains, type CreateTestSuiteOptions, DEFAULT_EXECUTION_POLICY, Dataset, type DatasetPublic, DatasetVersion, DatasetVersionNotFoundError, type DatasetVersionPublic, DemographicBiasJudge, DialogueHelpfulnessJudge, type DistributedTraceHeaders, type EnvironmentPublic as Environment, type ErrorInfo, type EvaluateOptions, type EvaluatePromptOptions, type EvaluateTestSuiteOptions, type EvaluationError, type EvaluationResult, type EvaluationScoreResult, type EvaluationTask, type EvaluationTestCase, type EvaluationTestResult, ExactMatch, type ExecutionPolicy, type FeedbackScoreData, type FewShotExampleAnswerRelevanceNoContext, type FewShotExampleAnswerRelevanceWithContext, type FewShotExampleHallucination, type FewShotExampleModeration, type FilterExpression, GEval, GEvalPreset, GenderBiasJudge, type GoogleProviderOptions, Hallucination, IsJson, type ItemResult, LLMJudge, type LLMJudgeConfig, type LLMJudgeModelSettings, type LLMJudgeOptions, type LLMJudgeResponseFormat, ModelConfigurationError, ModelError, ModelGenerationError, Moderation, OPIK_PARENT_SPAN_ID_HEADER, OPIK_TRACE_ID_HEADER, type OpenAIProviderOptions, OpikClient as Opik, type OpikAssistantMessage, OpikBaseModel, type OpikConfig, type OpikMessage, OpikQueryLanguage, SpanType as OpikSpanType, type OpikSystemMessage, type OpikToolMessage, type OpikUserMessage, type Param, PoliticalBiasJudge, Prompt, PromptType, PromptUncertaintyJudge, type ProviderOptionsForModel, QARelevanceJudge, type RawTestSuiteItem, RegexMatch, RegionalBiasJudge, type RegistryEntry, ReligiousBiasJudge, ResponseSchema, type RunTestsOptions, SYSTEM_PROMPT, type ScoringKeyMappingType, Span, SpanType, SummarizationCoherenceJudge, SummarizationConsistencyJudge, type SupportedModelId, TASK_ERROR_SCORE_NAME, TestSuite, type TestSuiteItem, TestSuiteResult, ThreadsAnnotationQueue, Trace, TracesAnnotationQueue, USER_PROMPT_TEMPLATE, type UpdateTestSuiteItem, type UpdateTestSuiteOptions, Usefulness, VercelAIChatModel, activateRunner, agentConfigContext, buildSuiteResult, createModel, createModelFromInstance, deserializeEvaluators, detectProvider, disableLogger, evaluate, evaluatePrompt, evaluateTestSuite, flushAll, generateId, getDistributedTraceHeaders, getGlobalClient, getTrackContext, logger, resetGlobalClient, resolveEvaluators, resolveExecutionPolicy, resolveItemExecutionPolicy, resolveModel, runTests, serializeEvaluators, setGlobalClient, setLoggerLevel, track, validateEvaluators, validateExecutionPolicy };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Fa}from'./chunk-
|
|
1
|
+
import {Fa}from'./chunk-XKU42R4A.js';export{sa as AgentTaskCompletionJudge,ra as AgentToolCorrectnessJudge,fa as AnswerRelevance,ba as BaseLLMJudgeMetric,C as BaseMetric,D as BaseSuiteEvaluator,p as ChatPrompt,ua as ComplianceRiskJudge,i as ConfigMismatchError,h as ConfigNotFoundError,_ as Contains,y as DEFAULT_EXECUTION_POLICY,j as Dataset,f as DatasetVersion,g as DatasetVersionNotFoundError,ma as DemographicBiasJudge,ka as DialogueHelpfulnessJudge,Z as ExactMatch,ga as GEval,ha as GEvalPreset,oa as GenderBiasJudge,ea as Hallucination,aa as IsJson,Q as LLMJudge,H as ModelConfigurationError,F as ModelError,G as ModelGenerationError,ca as Moderation,Ca as OPIK_PARENT_SPAN_ID_HEADER,Ba as OPIK_TRACE_ID_HEADER,Aa as Opik,E as OpikBaseModel,q as OpikQueryLanguage,d as OpikSpanType,na as PoliticalBiasJudge,o as Prompt,k as PromptType,ta as PromptUncertaintyJudge,la as QARelevanceJudge,$ as RegexMatch,qa as RegionalBiasJudge,pa as ReligiousBiasJudge,P as ResponseSchema,N as SYSTEM_PROMPT,ja as SummarizationCoherenceJudge,ia as SummarizationConsistencyJudge,B as TASK_ERROR_SCORE_NAME,ya as TestSuite,z as TestSuiteResult,s as ThreadsAnnotationQueue,r as TracesAnnotationQueue,O as USER_PROMPT_TEMPLATE,da as Usefulness,J as VercelAIChatModel,v as activateRunner,t as agentConfigContext,A as buildSuiteResult,K as createModel,L as createModelFromInstance,S as deserializeEvaluators,I as detectProvider,c as disableLogger,X as evaluate,Y as evaluatePrompt,V as evaluateTestSuite,u as flushAll,e as generateId,Da as getDistributedTraceHeaders,l as getGlobalClient,w as getTrackContext,a as logger,n as resetGlobalClient,va as resolveEvaluators,T as resolveExecutionPolicy,U as resolveItemExecutionPolicy,M as resolveModel,W as runTests,R as serializeEvaluators,m as setGlobalClient,b as setLoggerLevel,x as track,wa as validateEvaluators,xa as validateExecutionPolicy,Ea as z}from'./chunk-XKU42R4A.js';Fa();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {za}from'./chunk-
|
|
1
|
+
import {za}from'./chunk-XKU42R4A.js';export{y as DEFAULT_EXECUTION_POLICY,ya as TestSuite,z as TestSuiteResult,A as buildSuiteResult,S as deserializeEvaluators,V as evaluateTestSuite,T as resolveExecutionPolicy,U as resolveItemExecutionPolicy,W as runTests,R as serializeEvaluators}from'./chunk-XKU42R4A.js';za();
|