opik 2.2.6 → 2.2.7
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-VIJQ7SXF.js +404 -0
- package/dist/index.cjs +21 -21
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/{suite-6ZPYLYZQ.js → suite-5DWXBUL6.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-KMATOW3N.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -4523,6 +4523,9 @@ interface Check {
|
|
|
4523
4523
|
declare const CheckName: {
|
|
4524
4524
|
readonly Topic: "TOPIC";
|
|
4525
4525
|
readonly Pii: "PII";
|
|
4526
|
+
readonly LlmJudge: "LLM_JUDGE";
|
|
4527
|
+
readonly PromptInjection: "PROMPT_INJECTION";
|
|
4528
|
+
readonly CustomClassifier: "CUSTOM_CLASSIFIER";
|
|
4526
4529
|
};
|
|
4527
4530
|
type CheckName = (typeof CheckName)[keyof typeof CheckName];
|
|
4528
4531
|
|
|
@@ -4534,6 +4537,9 @@ interface CheckPublic {
|
|
|
4534
4537
|
declare const CheckPublicName: {
|
|
4535
4538
|
readonly Topic: "TOPIC";
|
|
4536
4539
|
readonly Pii: "PII";
|
|
4540
|
+
readonly LlmJudge: "LLM_JUDGE";
|
|
4541
|
+
readonly PromptInjection: "PROMPT_INJECTION";
|
|
4542
|
+
readonly CustomClassifier: "CUSTOM_CLASSIFIER";
|
|
4537
4543
|
};
|
|
4538
4544
|
type CheckPublicName = (typeof CheckPublicName)[keyof typeof CheckPublicName];
|
|
4539
4545
|
|
|
@@ -5892,6 +5898,9 @@ interface GuardrailWrite {
|
|
|
5892
5898
|
declare const GuardrailWriteName: {
|
|
5893
5899
|
readonly Topic: "TOPIC";
|
|
5894
5900
|
readonly Pii: "PII";
|
|
5901
|
+
readonly LlmJudge: "LLM_JUDGE";
|
|
5902
|
+
readonly PromptInjection: "PROMPT_INJECTION";
|
|
5903
|
+
readonly CustomClassifier: "CUSTOM_CLASSIFIER";
|
|
5895
5904
|
};
|
|
5896
5905
|
type GuardrailWriteName = (typeof GuardrailWriteName)[keyof typeof GuardrailWriteName];
|
|
5897
5906
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4523,6 +4523,9 @@ interface Check {
|
|
|
4523
4523
|
declare const CheckName: {
|
|
4524
4524
|
readonly Topic: "TOPIC";
|
|
4525
4525
|
readonly Pii: "PII";
|
|
4526
|
+
readonly LlmJudge: "LLM_JUDGE";
|
|
4527
|
+
readonly PromptInjection: "PROMPT_INJECTION";
|
|
4528
|
+
readonly CustomClassifier: "CUSTOM_CLASSIFIER";
|
|
4526
4529
|
};
|
|
4527
4530
|
type CheckName = (typeof CheckName)[keyof typeof CheckName];
|
|
4528
4531
|
|
|
@@ -4534,6 +4537,9 @@ interface CheckPublic {
|
|
|
4534
4537
|
declare const CheckPublicName: {
|
|
4535
4538
|
readonly Topic: "TOPIC";
|
|
4536
4539
|
readonly Pii: "PII";
|
|
4540
|
+
readonly LlmJudge: "LLM_JUDGE";
|
|
4541
|
+
readonly PromptInjection: "PROMPT_INJECTION";
|
|
4542
|
+
readonly CustomClassifier: "CUSTOM_CLASSIFIER";
|
|
4537
4543
|
};
|
|
4538
4544
|
type CheckPublicName = (typeof CheckPublicName)[keyof typeof CheckPublicName];
|
|
4539
4545
|
|
|
@@ -5892,6 +5898,9 @@ interface GuardrailWrite {
|
|
|
5892
5898
|
declare const GuardrailWriteName: {
|
|
5893
5899
|
readonly Topic: "TOPIC";
|
|
5894
5900
|
readonly Pii: "PII";
|
|
5901
|
+
readonly LlmJudge: "LLM_JUDGE";
|
|
5902
|
+
readonly PromptInjection: "PROMPT_INJECTION";
|
|
5903
|
+
readonly CustomClassifier: "CUSTOM_CLASSIFIER";
|
|
5895
5904
|
};
|
|
5896
5905
|
type GuardrailWriteName = (typeof GuardrailWriteName)[keyof typeof GuardrailWriteName];
|
|
5897
5906
|
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ia}from'./chunk-
|
|
1
|
+
import {Ia}from'./chunk-VIJQ7SXF.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-VIJQ7SXF.js';Ia();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ca}from'./chunk-
|
|
1
|
+
import {Ca}from'./chunk-VIJQ7SXF.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-VIJQ7SXF.js';Ca();
|