netra-sdk 1.6.0 → 1.7.0
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/index.cjs +362 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -6
- package/dist/index.d.ts +87 -6
- package/dist/index.js +361 -65
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1074,6 +1074,68 @@ interface DecoratorOptions {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
type SpanCallback<T> = (span: SpanWrapper) => T;
|
|
1076
1076
|
|
|
1077
|
+
/**
|
|
1078
|
+
* Pre/post script hooks for multi-turn simulation runs.
|
|
1079
|
+
*
|
|
1080
|
+
* Hooks let you run setup and teardown logic around scenario execution
|
|
1081
|
+
* without merging all scenarios into one or relying on sequential ordering.
|
|
1082
|
+
*
|
|
1083
|
+
* Hook levels:
|
|
1084
|
+
* beforeAll -- runs once before any scenario starts (dataset-level setup)
|
|
1085
|
+
* beforeEach -- runs before every scenario (common per-item setup)
|
|
1086
|
+
* before -- runs before specific scenarios only (item-specific setup, keyed by datasetItemId)
|
|
1087
|
+
* after -- runs after specific scenarios only (item-specific teardown, keyed by datasetItemId)
|
|
1088
|
+
* afterEach -- runs after every scenario (common per-item teardown)
|
|
1089
|
+
* afterAll -- runs once after all scenarios complete (dataset-level teardown)
|
|
1090
|
+
*
|
|
1091
|
+
* Execution order per item:
|
|
1092
|
+
* beforeAll() -> returns sharedContext (Record | null)
|
|
1093
|
+
* beforeEach(sharedContext) -> returns eachContext (Record | null)
|
|
1094
|
+
* before[datasetItemId](mergedContext) -> returns itemContext (Record | null), if registered
|
|
1095
|
+
* BaseTask.run(..., setupContext) <- receives merged context
|
|
1096
|
+
* after[datasetItemId](result, setupContext), if registered
|
|
1097
|
+
* afterEach(result, setupContext)
|
|
1098
|
+
* afterAll(results, sharedContext)
|
|
1099
|
+
*
|
|
1100
|
+
* Failure semantics:
|
|
1101
|
+
* - beforeAll failure -> entire run is marked failed (prescript_failed), no scenarios run
|
|
1102
|
+
* - beforeEach failure -> that scenario is marked failed (prescript_failed), others continue
|
|
1103
|
+
* - before failure -> that scenario is marked failed (prescript_failed), others continue
|
|
1104
|
+
* - after / afterEach / afterAll failures are logged as warnings and do not affect run/scenario status
|
|
1105
|
+
*/
|
|
1106
|
+
/** Hook that runs once before any scenario starts. May return shared context. */
|
|
1107
|
+
type BeforeAllFn = () => Record<string, any> | null | void | Promise<Record<string, any> | null | void>;
|
|
1108
|
+
/** Hook that runs before every scenario. Receives shared context, may return per-item context. */
|
|
1109
|
+
type BeforeEachFn = (sharedContext: Record<string, any> | null) => Record<string, any> | null | void | Promise<Record<string, any> | null | void>;
|
|
1110
|
+
/** Hook that runs before a specific scenario. Receives merged context, may return item context. */
|
|
1111
|
+
type BeforeFn = (sharedContext: Record<string, any> | null) => Record<string, any> | null | void | Promise<Record<string, any> | null | void>;
|
|
1112
|
+
/** Hook that runs after a specific scenario. Receives result and setup context. */
|
|
1113
|
+
type AfterFn = (itemResult: Record<string, any>, setupContext: Record<string, any> | null) => void | Promise<void>;
|
|
1114
|
+
/** Hook that runs after every scenario. Receives result and setup context. */
|
|
1115
|
+
type AfterEachFn = (itemResult: Record<string, any>, setupContext: Record<string, any> | null) => void | Promise<void>;
|
|
1116
|
+
/** Hook that runs once after all scenarios complete. Receives aggregated results and shared context. */
|
|
1117
|
+
type AfterAllFn = (results: Record<string, any>, sharedContext: Record<string, any> | null) => void | Promise<void>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Container for lifecycle hook functions attached to a simulation run.
|
|
1120
|
+
*
|
|
1121
|
+
* All hooks are optional. When a hook is not provided the corresponding
|
|
1122
|
+
* lifecycle phase is silently skipped.
|
|
1123
|
+
*/
|
|
1124
|
+
interface SimulationHooks {
|
|
1125
|
+
/** Called once before any scenario starts. May return a dict forwarded as sharedContext. */
|
|
1126
|
+
beforeAll?: BeforeAllFn;
|
|
1127
|
+
/** Called before every scenario. Receives sharedContext, may return per-item context merged into setupContext. */
|
|
1128
|
+
beforeEach?: BeforeEachFn;
|
|
1129
|
+
/** Dict mapping datasetItemId to hook functions. Called before specific scenarios only. */
|
|
1130
|
+
before?: Record<string, BeforeFn>;
|
|
1131
|
+
/** Dict mapping datasetItemId to hook functions. Called after specific scenarios only. */
|
|
1132
|
+
after?: Record<string, AfterFn>;
|
|
1133
|
+
/** Called after every scenario. Receives the item result and setupContext. */
|
|
1134
|
+
afterEach?: AfterEachFn;
|
|
1135
|
+
/** Called once after all scenarios finish. Receives aggregated results and sharedContext. */
|
|
1136
|
+
afterAll?: AfterAllFn;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1077
1139
|
/**
|
|
1078
1140
|
* Raw file metadata received from the backend.
|
|
1079
1141
|
*
|
|
@@ -1105,6 +1167,7 @@ interface ProcessedFile {
|
|
|
1105
1167
|
*/
|
|
1106
1168
|
interface SimulationItem {
|
|
1107
1169
|
runItemId: string;
|
|
1170
|
+
datasetItemId: string;
|
|
1108
1171
|
message: string;
|
|
1109
1172
|
turnId: string;
|
|
1110
1173
|
files?: FileData[];
|
|
@@ -1155,11 +1218,15 @@ declare abstract class BaseTask {
|
|
|
1155
1218
|
* @param sessionId - The session identifier.
|
|
1156
1219
|
* @param files - Optional list of base64-encoded file attachments from the
|
|
1157
1220
|
* dataset item. Will be `null` when no files are attached.
|
|
1221
|
+
* @param setupContext - Optional dict populated by `beforeAll` and `before`
|
|
1222
|
+
* hooks. Will be `null` when no hooks are configured.
|
|
1223
|
+
* Use this to access shared resources (e.g. a pre-created
|
|
1224
|
+
* employee ID) set up before the scenario started.
|
|
1158
1225
|
* @returns The task result containing:
|
|
1159
1226
|
* - message (string): The response message from the task.
|
|
1160
1227
|
* - sessionId (string): The session identifier.
|
|
1161
1228
|
*/
|
|
1162
|
-
abstract run(message: string, sessionId?: string | null, files?: ProcessedFile[] | null): Promise<TaskResult> | TaskResult;
|
|
1229
|
+
abstract run(message: string, sessionId?: string | null, files?: ProcessedFile[] | null, setupContext?: Record<string, any> | null): Promise<TaskResult> | TaskResult;
|
|
1163
1230
|
}
|
|
1164
1231
|
|
|
1165
1232
|
/**
|
|
@@ -1172,6 +1239,7 @@ interface SimulationOptions {
|
|
|
1172
1239
|
task: BaseTask;
|
|
1173
1240
|
context?: Record<string, any>;
|
|
1174
1241
|
maxConcurrency?: number;
|
|
1242
|
+
hooks?: SimulationHooks;
|
|
1175
1243
|
}
|
|
1176
1244
|
/**
|
|
1177
1245
|
* Public API for running multi-turn conversation simulations.
|
|
@@ -1183,26 +1251,39 @@ declare class Simulation {
|
|
|
1183
1251
|
/**
|
|
1184
1252
|
* Run a multi-turn conversation simulation.
|
|
1185
1253
|
*
|
|
1254
|
+
* Uses the two-phase API flow:
|
|
1255
|
+
* 1. initializeRun (no LLM cost) — with optional lifecycle hooks metadata
|
|
1256
|
+
* 2. beforeAll hook (if configured)
|
|
1257
|
+
* 3. Per-item: before hook -> generateFirstTurn -> conversation loop -> after hook
|
|
1258
|
+
* 4. afterAll hook (if configured)
|
|
1259
|
+
*
|
|
1186
1260
|
* @param options - Simulation configuration options
|
|
1187
1261
|
* @returns Dictionary with simulation results, or null on failure
|
|
1188
1262
|
*/
|
|
1189
1263
|
runSimulation(options: SimulationOptions): Promise<SimulationResult | null>;
|
|
1190
1264
|
/**
|
|
1191
|
-
*
|
|
1265
|
+
* Orchestrate concurrent simulation execution with hooks support.
|
|
1192
1266
|
*/
|
|
1193
1267
|
private _runSimulationAsync;
|
|
1194
1268
|
/**
|
|
1195
1269
|
* Execute a multi-turn conversation for a single simulation item.
|
|
1270
|
+
*
|
|
1271
|
+
* The per-item before hook has already been executed by the caller;
|
|
1272
|
+
* the merged setupContext is passed directly to executeTask.
|
|
1273
|
+
* The after hook runs when the conversation ends (success or failure).
|
|
1196
1274
|
*/
|
|
1197
1275
|
private _executeConversation;
|
|
1198
1276
|
}
|
|
1199
1277
|
|
|
1200
1278
|
/**
|
|
1201
|
-
* Result from
|
|
1279
|
+
* Result from initializing a simulation run (two-phase flow).
|
|
1202
1280
|
*/
|
|
1203
|
-
interface
|
|
1281
|
+
interface InitializeRunResult {
|
|
1204
1282
|
runId: string;
|
|
1205
|
-
|
|
1283
|
+
items: Array<{
|
|
1284
|
+
runItemId: string;
|
|
1285
|
+
datasetItemId: string;
|
|
1286
|
+
}>;
|
|
1206
1287
|
}
|
|
1207
1288
|
|
|
1208
1289
|
/**
|
|
@@ -1706,4 +1787,4 @@ declare class Netra {
|
|
|
1706
1787
|
static withBlockedSpansLocal: typeof withBlockedSpansLocal;
|
|
1707
1788
|
}
|
|
1708
1789
|
|
|
1709
|
-
export { type ActionModel, Aggregation, BaseTask, type CategoricalDataPoint, ChartType, Config, type ConversationResponse, type ConversationResult, ConversationType, type CreateDatasetParams,
|
|
1790
|
+
export { type ActionModel, type AfterAllFn, type AfterFn, Aggregation, BaseTask, type BeforeAllFn, type BeforeFn, type CategoricalDataPoint, ChartType, Config, type ConversationResponse, type ConversationResult, ConversationType, type CreateDatasetParams, DEFAULT_INSTRUMENTS, DEFAULT_INSTRUMENTS_FOR_ROOT, Dashboard, type DashboardData, type Dataset, type DatasetEntry, type DatasetItem, type Dimension, DimensionField, type DimensionValue, EntryStatus, Evaluation, type EvaluationScore, type EvaluatorFunction, type Filter, type FilterConfig, FilterField, FilterType, FilteringSpanExporter, type GetPromptParams, GroupBy, type InitializeRunResult, InstrumentationSpanProcessor, type ListSpansParams, type ListTracesParams, Measure, type Metrics, Netra, NetraAgentsTracingProcessor, NetraInstruments, NetraOpenAIAgentsInstrumentor, type NumberResponse, Operator, type ProcessedFile, type PromptResponse, Prompts, type QueryDataParams, type QueryResponse, type Run, RunEntryContext, RunStatus, type SafeStringifyOptions, Scope, ScrubbingSpanProcessor, SerializationSpanProcessor, SessionSpanProcessor, type SessionUsageData, Simulation, type SimulationHooks, type SimulationItem, type SimulationOptions, type SimulationResult, SpanIOProcessor, type SpanOptions, SpanType, type SpansPage, type TaskFunction, type TaskResult, type TenantUsageData, type TestSuiteResult, type TimeRange, type TimeSeriesDataPoint, type TimeSeriesResponse, type TimeSeriesWithDimension, type TraceSpan, type TraceSummary, type TracesPage, TrialAwareOTLPExporter, TruncatingSerializer, Usage, type UsageModel, agent, Netra as default, metadataField, mistralAIInstrumentor, netraExpressMiddleware, openaiAgentsInstrumentor, runWithExtractedContext, safeStringify, span, task, workflow };
|
package/dist/index.d.ts
CHANGED
|
@@ -1074,6 +1074,68 @@ interface DecoratorOptions {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
type SpanCallback<T> = (span: SpanWrapper) => T;
|
|
1076
1076
|
|
|
1077
|
+
/**
|
|
1078
|
+
* Pre/post script hooks for multi-turn simulation runs.
|
|
1079
|
+
*
|
|
1080
|
+
* Hooks let you run setup and teardown logic around scenario execution
|
|
1081
|
+
* without merging all scenarios into one or relying on sequential ordering.
|
|
1082
|
+
*
|
|
1083
|
+
* Hook levels:
|
|
1084
|
+
* beforeAll -- runs once before any scenario starts (dataset-level setup)
|
|
1085
|
+
* beforeEach -- runs before every scenario (common per-item setup)
|
|
1086
|
+
* before -- runs before specific scenarios only (item-specific setup, keyed by datasetItemId)
|
|
1087
|
+
* after -- runs after specific scenarios only (item-specific teardown, keyed by datasetItemId)
|
|
1088
|
+
* afterEach -- runs after every scenario (common per-item teardown)
|
|
1089
|
+
* afterAll -- runs once after all scenarios complete (dataset-level teardown)
|
|
1090
|
+
*
|
|
1091
|
+
* Execution order per item:
|
|
1092
|
+
* beforeAll() -> returns sharedContext (Record | null)
|
|
1093
|
+
* beforeEach(sharedContext) -> returns eachContext (Record | null)
|
|
1094
|
+
* before[datasetItemId](mergedContext) -> returns itemContext (Record | null), if registered
|
|
1095
|
+
* BaseTask.run(..., setupContext) <- receives merged context
|
|
1096
|
+
* after[datasetItemId](result, setupContext), if registered
|
|
1097
|
+
* afterEach(result, setupContext)
|
|
1098
|
+
* afterAll(results, sharedContext)
|
|
1099
|
+
*
|
|
1100
|
+
* Failure semantics:
|
|
1101
|
+
* - beforeAll failure -> entire run is marked failed (prescript_failed), no scenarios run
|
|
1102
|
+
* - beforeEach failure -> that scenario is marked failed (prescript_failed), others continue
|
|
1103
|
+
* - before failure -> that scenario is marked failed (prescript_failed), others continue
|
|
1104
|
+
* - after / afterEach / afterAll failures are logged as warnings and do not affect run/scenario status
|
|
1105
|
+
*/
|
|
1106
|
+
/** Hook that runs once before any scenario starts. May return shared context. */
|
|
1107
|
+
type BeforeAllFn = () => Record<string, any> | null | void | Promise<Record<string, any> | null | void>;
|
|
1108
|
+
/** Hook that runs before every scenario. Receives shared context, may return per-item context. */
|
|
1109
|
+
type BeforeEachFn = (sharedContext: Record<string, any> | null) => Record<string, any> | null | void | Promise<Record<string, any> | null | void>;
|
|
1110
|
+
/** Hook that runs before a specific scenario. Receives merged context, may return item context. */
|
|
1111
|
+
type BeforeFn = (sharedContext: Record<string, any> | null) => Record<string, any> | null | void | Promise<Record<string, any> | null | void>;
|
|
1112
|
+
/** Hook that runs after a specific scenario. Receives result and setup context. */
|
|
1113
|
+
type AfterFn = (itemResult: Record<string, any>, setupContext: Record<string, any> | null) => void | Promise<void>;
|
|
1114
|
+
/** Hook that runs after every scenario. Receives result and setup context. */
|
|
1115
|
+
type AfterEachFn = (itemResult: Record<string, any>, setupContext: Record<string, any> | null) => void | Promise<void>;
|
|
1116
|
+
/** Hook that runs once after all scenarios complete. Receives aggregated results and shared context. */
|
|
1117
|
+
type AfterAllFn = (results: Record<string, any>, sharedContext: Record<string, any> | null) => void | Promise<void>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Container for lifecycle hook functions attached to a simulation run.
|
|
1120
|
+
*
|
|
1121
|
+
* All hooks are optional. When a hook is not provided the corresponding
|
|
1122
|
+
* lifecycle phase is silently skipped.
|
|
1123
|
+
*/
|
|
1124
|
+
interface SimulationHooks {
|
|
1125
|
+
/** Called once before any scenario starts. May return a dict forwarded as sharedContext. */
|
|
1126
|
+
beforeAll?: BeforeAllFn;
|
|
1127
|
+
/** Called before every scenario. Receives sharedContext, may return per-item context merged into setupContext. */
|
|
1128
|
+
beforeEach?: BeforeEachFn;
|
|
1129
|
+
/** Dict mapping datasetItemId to hook functions. Called before specific scenarios only. */
|
|
1130
|
+
before?: Record<string, BeforeFn>;
|
|
1131
|
+
/** Dict mapping datasetItemId to hook functions. Called after specific scenarios only. */
|
|
1132
|
+
after?: Record<string, AfterFn>;
|
|
1133
|
+
/** Called after every scenario. Receives the item result and setupContext. */
|
|
1134
|
+
afterEach?: AfterEachFn;
|
|
1135
|
+
/** Called once after all scenarios finish. Receives aggregated results and sharedContext. */
|
|
1136
|
+
afterAll?: AfterAllFn;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1077
1139
|
/**
|
|
1078
1140
|
* Raw file metadata received from the backend.
|
|
1079
1141
|
*
|
|
@@ -1105,6 +1167,7 @@ interface ProcessedFile {
|
|
|
1105
1167
|
*/
|
|
1106
1168
|
interface SimulationItem {
|
|
1107
1169
|
runItemId: string;
|
|
1170
|
+
datasetItemId: string;
|
|
1108
1171
|
message: string;
|
|
1109
1172
|
turnId: string;
|
|
1110
1173
|
files?: FileData[];
|
|
@@ -1155,11 +1218,15 @@ declare abstract class BaseTask {
|
|
|
1155
1218
|
* @param sessionId - The session identifier.
|
|
1156
1219
|
* @param files - Optional list of base64-encoded file attachments from the
|
|
1157
1220
|
* dataset item. Will be `null` when no files are attached.
|
|
1221
|
+
* @param setupContext - Optional dict populated by `beforeAll` and `before`
|
|
1222
|
+
* hooks. Will be `null` when no hooks are configured.
|
|
1223
|
+
* Use this to access shared resources (e.g. a pre-created
|
|
1224
|
+
* employee ID) set up before the scenario started.
|
|
1158
1225
|
* @returns The task result containing:
|
|
1159
1226
|
* - message (string): The response message from the task.
|
|
1160
1227
|
* - sessionId (string): The session identifier.
|
|
1161
1228
|
*/
|
|
1162
|
-
abstract run(message: string, sessionId?: string | null, files?: ProcessedFile[] | null): Promise<TaskResult> | TaskResult;
|
|
1229
|
+
abstract run(message: string, sessionId?: string | null, files?: ProcessedFile[] | null, setupContext?: Record<string, any> | null): Promise<TaskResult> | TaskResult;
|
|
1163
1230
|
}
|
|
1164
1231
|
|
|
1165
1232
|
/**
|
|
@@ -1172,6 +1239,7 @@ interface SimulationOptions {
|
|
|
1172
1239
|
task: BaseTask;
|
|
1173
1240
|
context?: Record<string, any>;
|
|
1174
1241
|
maxConcurrency?: number;
|
|
1242
|
+
hooks?: SimulationHooks;
|
|
1175
1243
|
}
|
|
1176
1244
|
/**
|
|
1177
1245
|
* Public API for running multi-turn conversation simulations.
|
|
@@ -1183,26 +1251,39 @@ declare class Simulation {
|
|
|
1183
1251
|
/**
|
|
1184
1252
|
* Run a multi-turn conversation simulation.
|
|
1185
1253
|
*
|
|
1254
|
+
* Uses the two-phase API flow:
|
|
1255
|
+
* 1. initializeRun (no LLM cost) — with optional lifecycle hooks metadata
|
|
1256
|
+
* 2. beforeAll hook (if configured)
|
|
1257
|
+
* 3. Per-item: before hook -> generateFirstTurn -> conversation loop -> after hook
|
|
1258
|
+
* 4. afterAll hook (if configured)
|
|
1259
|
+
*
|
|
1186
1260
|
* @param options - Simulation configuration options
|
|
1187
1261
|
* @returns Dictionary with simulation results, or null on failure
|
|
1188
1262
|
*/
|
|
1189
1263
|
runSimulation(options: SimulationOptions): Promise<SimulationResult | null>;
|
|
1190
1264
|
/**
|
|
1191
|
-
*
|
|
1265
|
+
* Orchestrate concurrent simulation execution with hooks support.
|
|
1192
1266
|
*/
|
|
1193
1267
|
private _runSimulationAsync;
|
|
1194
1268
|
/**
|
|
1195
1269
|
* Execute a multi-turn conversation for a single simulation item.
|
|
1270
|
+
*
|
|
1271
|
+
* The per-item before hook has already been executed by the caller;
|
|
1272
|
+
* the merged setupContext is passed directly to executeTask.
|
|
1273
|
+
* The after hook runs when the conversation ends (success or failure).
|
|
1196
1274
|
*/
|
|
1197
1275
|
private _executeConversation;
|
|
1198
1276
|
}
|
|
1199
1277
|
|
|
1200
1278
|
/**
|
|
1201
|
-
* Result from
|
|
1279
|
+
* Result from initializing a simulation run (two-phase flow).
|
|
1202
1280
|
*/
|
|
1203
|
-
interface
|
|
1281
|
+
interface InitializeRunResult {
|
|
1204
1282
|
runId: string;
|
|
1205
|
-
|
|
1283
|
+
items: Array<{
|
|
1284
|
+
runItemId: string;
|
|
1285
|
+
datasetItemId: string;
|
|
1286
|
+
}>;
|
|
1206
1287
|
}
|
|
1207
1288
|
|
|
1208
1289
|
/**
|
|
@@ -1706,4 +1787,4 @@ declare class Netra {
|
|
|
1706
1787
|
static withBlockedSpansLocal: typeof withBlockedSpansLocal;
|
|
1707
1788
|
}
|
|
1708
1789
|
|
|
1709
|
-
export { type ActionModel, Aggregation, BaseTask, type CategoricalDataPoint, ChartType, Config, type ConversationResponse, type ConversationResult, ConversationType, type CreateDatasetParams,
|
|
1790
|
+
export { type ActionModel, type AfterAllFn, type AfterFn, Aggregation, BaseTask, type BeforeAllFn, type BeforeFn, type CategoricalDataPoint, ChartType, Config, type ConversationResponse, type ConversationResult, ConversationType, type CreateDatasetParams, DEFAULT_INSTRUMENTS, DEFAULT_INSTRUMENTS_FOR_ROOT, Dashboard, type DashboardData, type Dataset, type DatasetEntry, type DatasetItem, type Dimension, DimensionField, type DimensionValue, EntryStatus, Evaluation, type EvaluationScore, type EvaluatorFunction, type Filter, type FilterConfig, FilterField, FilterType, FilteringSpanExporter, type GetPromptParams, GroupBy, type InitializeRunResult, InstrumentationSpanProcessor, type ListSpansParams, type ListTracesParams, Measure, type Metrics, Netra, NetraAgentsTracingProcessor, NetraInstruments, NetraOpenAIAgentsInstrumentor, type NumberResponse, Operator, type ProcessedFile, type PromptResponse, Prompts, type QueryDataParams, type QueryResponse, type Run, RunEntryContext, RunStatus, type SafeStringifyOptions, Scope, ScrubbingSpanProcessor, SerializationSpanProcessor, SessionSpanProcessor, type SessionUsageData, Simulation, type SimulationHooks, type SimulationItem, type SimulationOptions, type SimulationResult, SpanIOProcessor, type SpanOptions, SpanType, type SpansPage, type TaskFunction, type TaskResult, type TenantUsageData, type TestSuiteResult, type TimeRange, type TimeSeriesDataPoint, type TimeSeriesResponse, type TimeSeriesWithDimension, type TraceSpan, type TraceSummary, type TracesPage, TrialAwareOTLPExporter, TruncatingSerializer, Usage, type UsageModel, agent, Netra as default, metadataField, mistralAIInstrumentor, netraExpressMiddleware, openaiAgentsInstrumentor, runWithExtractedContext, safeStringify, span, task, workflow };
|