opik 2.0.46 → 2.0.47
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-5GE2OGBF.js +404 -0
- package/dist/index.cjs +36 -36
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/{suite-THJ4PPPH.js → suite-POQJH74L.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-6P6ABA5K.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -3212,6 +3212,8 @@ interface AlertTriggerConfigPublic {
|
|
|
3212
3212
|
alertTriggerId?: string;
|
|
3213
3213
|
type: AlertTriggerConfigPublicType;
|
|
3214
3214
|
configValue?: Record<string, string>;
|
|
3215
|
+
/** Groups configs within a trigger: same group_index means AND between configs, different group_index means OR between groups. Null means a legacy/singleton group of one config. Always null for scope:project configs. */
|
|
3216
|
+
groupIndex?: number;
|
|
3215
3217
|
createdAt?: Date;
|
|
3216
3218
|
createdBy?: string;
|
|
3217
3219
|
lastUpdatedAt?: Date;
|
|
@@ -3231,6 +3233,8 @@ interface AlertTriggerConfigWrite {
|
|
|
3231
3233
|
id?: string;
|
|
3232
3234
|
type: AlertTriggerConfigWriteType;
|
|
3233
3235
|
configValue?: Record<string, string>;
|
|
3236
|
+
/** Groups configs within a trigger: same group_index means AND between configs, different group_index means OR between groups. Null means a legacy/singleton group of one config. Always null for scope:project configs. */
|
|
3237
|
+
groupIndex?: number;
|
|
3234
3238
|
}
|
|
3235
3239
|
|
|
3236
3240
|
declare const AlertTriggerConfigWriteType: {
|
|
@@ -16629,6 +16633,10 @@ declare class OpikQueryLanguage {
|
|
|
16629
16633
|
* Create an OpikQueryLanguage instance for prompt filtering
|
|
16630
16634
|
*/
|
|
16631
16635
|
static forPrompts(queryString?: string): OpikQueryLanguage;
|
|
16636
|
+
/**
|
|
16637
|
+
* Create an OpikQueryLanguage instance for prompt version filtering
|
|
16638
|
+
*/
|
|
16639
|
+
static forPromptVersions(queryString?: string): OpikQueryLanguage;
|
|
16632
16640
|
/**
|
|
16633
16641
|
* Returns the parsed filter expressions
|
|
16634
16642
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -3212,6 +3212,8 @@ interface AlertTriggerConfigPublic {
|
|
|
3212
3212
|
alertTriggerId?: string;
|
|
3213
3213
|
type: AlertTriggerConfigPublicType;
|
|
3214
3214
|
configValue?: Record<string, string>;
|
|
3215
|
+
/** Groups configs within a trigger: same group_index means AND between configs, different group_index means OR between groups. Null means a legacy/singleton group of one config. Always null for scope:project configs. */
|
|
3216
|
+
groupIndex?: number;
|
|
3215
3217
|
createdAt?: Date;
|
|
3216
3218
|
createdBy?: string;
|
|
3217
3219
|
lastUpdatedAt?: Date;
|
|
@@ -3231,6 +3233,8 @@ interface AlertTriggerConfigWrite {
|
|
|
3231
3233
|
id?: string;
|
|
3232
3234
|
type: AlertTriggerConfigWriteType;
|
|
3233
3235
|
configValue?: Record<string, string>;
|
|
3236
|
+
/** Groups configs within a trigger: same group_index means AND between configs, different group_index means OR between groups. Null means a legacy/singleton group of one config. Always null for scope:project configs. */
|
|
3237
|
+
groupIndex?: number;
|
|
3234
3238
|
}
|
|
3235
3239
|
|
|
3236
3240
|
declare const AlertTriggerConfigWriteType: {
|
|
@@ -16629,6 +16633,10 @@ declare class OpikQueryLanguage {
|
|
|
16629
16633
|
* Create an OpikQueryLanguage instance for prompt filtering
|
|
16630
16634
|
*/
|
|
16631
16635
|
static forPrompts(queryString?: string): OpikQueryLanguage;
|
|
16636
|
+
/**
|
|
16637
|
+
* Create an OpikQueryLanguage instance for prompt version filtering
|
|
16638
|
+
*/
|
|
16639
|
+
static forPromptVersions(queryString?: string): OpikQueryLanguage;
|
|
16632
16640
|
/**
|
|
16633
16641
|
* Returns the parsed filter expressions
|
|
16634
16642
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Fa}from'./chunk-
|
|
1
|
+
import {Fa}from'./chunk-5GE2OGBF.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-5GE2OGBF.js';Fa();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {za}from'./chunk-
|
|
1
|
+
import {za}from'./chunk-5GE2OGBF.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-5GE2OGBF.js';za();
|