opik 2.3.7 → 2.3.9
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-NY4X2FHP.js → chunk-IP4PNM2L.js} +16 -16
- package/dist/cli.js +1 -1
- package/dist/index.cjs +17 -17
- package/dist/index.d.cts +25 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +1 -1
- package/dist/{suite-6THTHWK7.js → suite-NYOJPSTW.js} +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3312,6 +3312,16 @@ interface ResetProjectTopicsRequest {
|
|
|
3312
3312
|
workspaceId: string;
|
|
3313
3313
|
}
|
|
3314
3314
|
|
|
3315
|
+
/**
|
|
3316
|
+
* @example
|
|
3317
|
+
* {
|
|
3318
|
+
* workspaceId: "workspace_id"
|
|
3319
|
+
* }
|
|
3320
|
+
*/
|
|
3321
|
+
interface ResetWorkspaceTopicsRequest {
|
|
3322
|
+
workspaceId: string;
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3315
3325
|
/**
|
|
3316
3326
|
* @example
|
|
3317
3327
|
* {
|
|
@@ -14574,6 +14584,21 @@ declare class TopicsClient {
|
|
|
14574
14584
|
*/
|
|
14575
14585
|
resetProjectTopics(projectId: string, request: ResetProjectTopicsRequest, requestOptions?: TopicsClient.RequestOptions): HttpResponsePromise<void>;
|
|
14576
14586
|
private __resetProjectTopics;
|
|
14587
|
+
/**
|
|
14588
|
+
* Resets, as the project reset does, every project of the workspace that has a saved list, topics.storage.deleteBatchSize projects per transaction. A project with a run in flight keeps its list and is listed in the answer. The workspace is opted in to topics at stage build or later.
|
|
14589
|
+
*
|
|
14590
|
+
* @param {OpikApi.ResetWorkspaceTopicsRequest} request
|
|
14591
|
+
* @param {TopicsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
14592
|
+
*
|
|
14593
|
+
* @throws {@link OpikApi.ConflictError}
|
|
14594
|
+
*
|
|
14595
|
+
* @example
|
|
14596
|
+
* await client.topics.resetWorkspaceTopics({
|
|
14597
|
+
* workspaceId: "workspace_id"
|
|
14598
|
+
* })
|
|
14599
|
+
*/
|
|
14600
|
+
resetWorkspaceTopics(request: ResetWorkspaceTopicsRequest, requestOptions?: TopicsClient.RequestOptions): HttpResponsePromise<void>;
|
|
14601
|
+
private __resetWorkspaceTopics;
|
|
14577
14602
|
/**
|
|
14578
14603
|
* Queues the project's discovery run and returns its run id; any pod runs it. The run's outcome is on the project's topic_projects row while it is the project's latest run, and in the run's logs. The window ends at the start of the night date (UTC; default today, at most tomorrow, at least the vectors backfill window ago). The workspace is opted in to topics at stage build or later, the window holds topics.run.minVectors vectors of the project, and the project has no list and no run in flight. The project's vectors backfill must have drained: ignore_backfill=true builds it from the vectors it has so far. A failed discovery run's retry wait and topics.runs.maxInFlight do not apply.
|
|
14579
14604
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -3312,6 +3312,16 @@ interface ResetProjectTopicsRequest {
|
|
|
3312
3312
|
workspaceId: string;
|
|
3313
3313
|
}
|
|
3314
3314
|
|
|
3315
|
+
/**
|
|
3316
|
+
* @example
|
|
3317
|
+
* {
|
|
3318
|
+
* workspaceId: "workspace_id"
|
|
3319
|
+
* }
|
|
3320
|
+
*/
|
|
3321
|
+
interface ResetWorkspaceTopicsRequest {
|
|
3322
|
+
workspaceId: string;
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3315
3325
|
/**
|
|
3316
3326
|
* @example
|
|
3317
3327
|
* {
|
|
@@ -14574,6 +14584,21 @@ declare class TopicsClient {
|
|
|
14574
14584
|
*/
|
|
14575
14585
|
resetProjectTopics(projectId: string, request: ResetProjectTopicsRequest, requestOptions?: TopicsClient.RequestOptions): HttpResponsePromise<void>;
|
|
14576
14586
|
private __resetProjectTopics;
|
|
14587
|
+
/**
|
|
14588
|
+
* Resets, as the project reset does, every project of the workspace that has a saved list, topics.storage.deleteBatchSize projects per transaction. A project with a run in flight keeps its list and is listed in the answer. The workspace is opted in to topics at stage build or later.
|
|
14589
|
+
*
|
|
14590
|
+
* @param {OpikApi.ResetWorkspaceTopicsRequest} request
|
|
14591
|
+
* @param {TopicsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
14592
|
+
*
|
|
14593
|
+
* @throws {@link OpikApi.ConflictError}
|
|
14594
|
+
*
|
|
14595
|
+
* @example
|
|
14596
|
+
* await client.topics.resetWorkspaceTopics({
|
|
14597
|
+
* workspaceId: "workspace_id"
|
|
14598
|
+
* })
|
|
14599
|
+
*/
|
|
14600
|
+
resetWorkspaceTopics(request: ResetWorkspaceTopicsRequest, requestOptions?: TopicsClient.RequestOptions): HttpResponsePromise<void>;
|
|
14601
|
+
private __resetWorkspaceTopics;
|
|
14577
14602
|
/**
|
|
14578
14603
|
* Queues the project's discovery run and returns its run id; any pod runs it. The run's outcome is on the project's topic_projects row while it is the project's latest run, and in the run's logs. The window ends at the start of the night date (UTC; default today, at most tomorrow, at least the vectors backfill window ago). The workspace is opted in to topics at stage build or later, the window holds topics.run.minVectors vectors of the project, and the project has no list and no run in flight. The project's vectors backfill must have drained: ignore_backfill=true builds it from the vectors it has so far. A failed discovery run's retry wait and topics.runs.maxInFlight do not apply.
|
|
14579
14604
|
*
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ia}from'./chunk-
|
|
1
|
+
import {Ia}from'./chunk-IP4PNM2L.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-IP4PNM2L.js';Ia();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ca}from'./chunk-
|
|
1
|
+
import {Ca}from'./chunk-IP4PNM2L.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-IP4PNM2L.js';Ca();
|