opik 2.2.4 → 2.2.6
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-KMATOW3N.js +404 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/{suite-VKIVRD4K.js → suite-6ZPYLYZQ.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-6AIUIPIA.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -3744,6 +3744,7 @@ declare const AlertTriggerConfigPublicType: {
|
|
|
3744
3744
|
readonly ThresholdCost: "threshold:cost";
|
|
3745
3745
|
readonly ThresholdLatency: "threshold:latency";
|
|
3746
3746
|
readonly ThresholdErrors: "threshold:errors";
|
|
3747
|
+
readonly FilterGuardrailType: "filter:guardrail_type";
|
|
3747
3748
|
};
|
|
3748
3749
|
type AlertTriggerConfigPublicType = (typeof AlertTriggerConfigPublicType)[keyof typeof AlertTriggerConfigPublicType];
|
|
3749
3750
|
|
|
@@ -3761,6 +3762,7 @@ declare const AlertTriggerConfigWriteType: {
|
|
|
3761
3762
|
readonly ThresholdCost: "threshold:cost";
|
|
3762
3763
|
readonly ThresholdLatency: "threshold:latency";
|
|
3763
3764
|
readonly ThresholdErrors: "threshold:errors";
|
|
3765
|
+
readonly FilterGuardrailType: "filter:guardrail_type";
|
|
3764
3766
|
};
|
|
3765
3767
|
type AlertTriggerConfigWriteType = (typeof AlertTriggerConfigWriteType)[keyof typeof AlertTriggerConfigWriteType];
|
|
3766
3768
|
|
|
@@ -4383,6 +4385,7 @@ declare const BreakdownConfigField: {
|
|
|
4383
4385
|
readonly Model: "model";
|
|
4384
4386
|
readonly Provider: "provider";
|
|
4385
4387
|
readonly Type: "type";
|
|
4388
|
+
readonly GuardrailName: "guardrail_name";
|
|
4386
4389
|
};
|
|
4387
4390
|
type BreakdownConfigField = (typeof BreakdownConfigField)[keyof typeof BreakdownConfigField];
|
|
4388
4391
|
|
|
@@ -4402,6 +4405,7 @@ declare const BreakdownConfigPublicField: {
|
|
|
4402
4405
|
readonly Model: "model";
|
|
4403
4406
|
readonly Provider: "provider";
|
|
4404
4407
|
readonly Type: "type";
|
|
4408
|
+
readonly GuardrailName: "guardrail_name";
|
|
4405
4409
|
};
|
|
4406
4410
|
type BreakdownConfigPublicField = (typeof BreakdownConfigPublicField)[keyof typeof BreakdownConfigPublicField];
|
|
4407
4411
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3744,6 +3744,7 @@ declare const AlertTriggerConfigPublicType: {
|
|
|
3744
3744
|
readonly ThresholdCost: "threshold:cost";
|
|
3745
3745
|
readonly ThresholdLatency: "threshold:latency";
|
|
3746
3746
|
readonly ThresholdErrors: "threshold:errors";
|
|
3747
|
+
readonly FilterGuardrailType: "filter:guardrail_type";
|
|
3747
3748
|
};
|
|
3748
3749
|
type AlertTriggerConfigPublicType = (typeof AlertTriggerConfigPublicType)[keyof typeof AlertTriggerConfigPublicType];
|
|
3749
3750
|
|
|
@@ -3761,6 +3762,7 @@ declare const AlertTriggerConfigWriteType: {
|
|
|
3761
3762
|
readonly ThresholdCost: "threshold:cost";
|
|
3762
3763
|
readonly ThresholdLatency: "threshold:latency";
|
|
3763
3764
|
readonly ThresholdErrors: "threshold:errors";
|
|
3765
|
+
readonly FilterGuardrailType: "filter:guardrail_type";
|
|
3764
3766
|
};
|
|
3765
3767
|
type AlertTriggerConfigWriteType = (typeof AlertTriggerConfigWriteType)[keyof typeof AlertTriggerConfigWriteType];
|
|
3766
3768
|
|
|
@@ -4383,6 +4385,7 @@ declare const BreakdownConfigField: {
|
|
|
4383
4385
|
readonly Model: "model";
|
|
4384
4386
|
readonly Provider: "provider";
|
|
4385
4387
|
readonly Type: "type";
|
|
4388
|
+
readonly GuardrailName: "guardrail_name";
|
|
4386
4389
|
};
|
|
4387
4390
|
type BreakdownConfigField = (typeof BreakdownConfigField)[keyof typeof BreakdownConfigField];
|
|
4388
4391
|
|
|
@@ -4402,6 +4405,7 @@ declare const BreakdownConfigPublicField: {
|
|
|
4402
4405
|
readonly Model: "model";
|
|
4403
4406
|
readonly Provider: "provider";
|
|
4404
4407
|
readonly Type: "type";
|
|
4408
|
+
readonly GuardrailName: "guardrail_name";
|
|
4405
4409
|
};
|
|
4406
4410
|
type BreakdownConfigPublicField = (typeof BreakdownConfigPublicField)[keyof typeof BreakdownConfigPublicField];
|
|
4407
4411
|
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ia}from'./chunk-
|
|
1
|
+
import {Ia}from'./chunk-KMATOW3N.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-KMATOW3N.js';Ia();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ca}from'./chunk-
|
|
1
|
+
import {Ca}from'./chunk-KMATOW3N.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-KMATOW3N.js';Ca();
|