opik 2.2.32 → 2.2.34
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-5KXDWHV4.js +404 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/{suite-FZGEPPA2.js → suite-RRBUX74B.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-LRXO4BJZ.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -2442,6 +2442,8 @@ interface ReportCompleteRequest {
|
|
|
2442
2442
|
status: ReportCompleteRequestStatus;
|
|
2443
2443
|
sessionId?: string;
|
|
2444
2444
|
recommendedActions?: JsonNode;
|
|
2445
|
+
/** Why the report failed. Only 'out_of_credits' is acted on; any other value is recorded but renders as a generic failure. */
|
|
2446
|
+
failureReason?: string;
|
|
2445
2447
|
}
|
|
2446
2448
|
|
|
2447
2449
|
/**
|
|
@@ -6399,6 +6401,7 @@ interface OllieReport {
|
|
|
6399
6401
|
content?: string;
|
|
6400
6402
|
recommendedActions?: JsonNode;
|
|
6401
6403
|
status?: OllieReportStatus;
|
|
6404
|
+
failureReason?: string;
|
|
6402
6405
|
createdAt?: Date;
|
|
6403
6406
|
lastUpdatedAt?: Date;
|
|
6404
6407
|
}
|
|
@@ -11792,6 +11795,7 @@ declare class ReportsClient {
|
|
|
11792
11795
|
* @param {OpikApi.ReportCompleteRequest} request
|
|
11793
11796
|
* @param {ReportsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
11794
11797
|
*
|
|
11798
|
+
* @throws {@link OpikApi.BadRequestError}
|
|
11795
11799
|
* @throws {@link OpikApi.NotFoundError}
|
|
11796
11800
|
*
|
|
11797
11801
|
* @example
|
package/dist/index.d.ts
CHANGED
|
@@ -2442,6 +2442,8 @@ interface ReportCompleteRequest {
|
|
|
2442
2442
|
status: ReportCompleteRequestStatus;
|
|
2443
2443
|
sessionId?: string;
|
|
2444
2444
|
recommendedActions?: JsonNode;
|
|
2445
|
+
/** Why the report failed. Only 'out_of_credits' is acted on; any other value is recorded but renders as a generic failure. */
|
|
2446
|
+
failureReason?: string;
|
|
2445
2447
|
}
|
|
2446
2448
|
|
|
2447
2449
|
/**
|
|
@@ -6399,6 +6401,7 @@ interface OllieReport {
|
|
|
6399
6401
|
content?: string;
|
|
6400
6402
|
recommendedActions?: JsonNode;
|
|
6401
6403
|
status?: OllieReportStatus;
|
|
6404
|
+
failureReason?: string;
|
|
6402
6405
|
createdAt?: Date;
|
|
6403
6406
|
lastUpdatedAt?: Date;
|
|
6404
6407
|
}
|
|
@@ -11792,6 +11795,7 @@ declare class ReportsClient {
|
|
|
11792
11795
|
* @param {OpikApi.ReportCompleteRequest} request
|
|
11793
11796
|
* @param {ReportsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
11794
11797
|
*
|
|
11798
|
+
* @throws {@link OpikApi.BadRequestError}
|
|
11795
11799
|
* @throws {@link OpikApi.NotFoundError}
|
|
11796
11800
|
*
|
|
11797
11801
|
* @example
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ia}from'./chunk-
|
|
1
|
+
import {Ia}from'./chunk-5KXDWHV4.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-5KXDWHV4.js';Ia();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ca}from'./chunk-
|
|
1
|
+
import {Ca}from'./chunk-5KXDWHV4.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-5KXDWHV4.js';Ca();
|