@lmnr-ai/lmnr 0.8.51 → 0.8.52
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/cli.cjs +2 -2
- package/dist/cli.d.cts +1 -1
- package/dist/cli.d.mts +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/{evaluations-C8cI_XIE.d.cts → evaluations-CgcBhNjN.d.cts} +43 -4
- package/dist/{evaluations-BVaPPf0j.d.mts → evaluations-GnmUSvoK.d.mts} +43 -4
- package/dist/{file-utils-Cyx-2kqE.cjs → file-utils-C_q3Dsf2.cjs} +2 -2
- package/dist/{file-utils-Cyx-2kqE.cjs.map → file-utils-C_q3Dsf2.cjs.map} +1 -1
- package/dist/{file-utils-CVTUiqFU.mjs → file-utils-DaZefKLb.mjs} +2 -2
- package/dist/{file-utils-CVTUiqFU.mjs.map → file-utils-DaZefKLb.mjs.map} +1 -1
- package/dist/index.cjs +2546 -311
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -4
- package/dist/index.d.mts +11 -4
- package/dist/index.mjs +2543 -308
- package/dist/index.mjs.map +1 -1
- package/dist/{utils-Ch0R_9XE.mjs → utils-C6gt-rSg.mjs} +17 -3
- package/dist/utils-C6gt-rSg.mjs.map +1 -0
- package/dist/{utils-Cq24YsD_.cjs → utils-vnm5E0kk.cjs} +17 -3
- package/dist/utils-vnm5E0kk.cjs.map +1 -0
- package/package.json +8 -7
- package/dist/utils-Ch0R_9XE.mjs.map +0 -1
- package/dist/utils-Cq24YsD_.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as TracingLevel, _ as MaskInputOptions, a as HumanEvaluator, b as SpanType, c as InitializeOptions, d as LaminarClient, f as Dataset, g as LaminarSpanContext, h as Event, i as EvaluatorFunctionReturn, l as EvaluationDataset, m as EvaluationDatapointDatasetLink, o as evaluate, p as EvaluationDatapoint, r as EvaluatorFunction, s as StringUUID, t as Datapoint, u as LaminarDataset, v as PushDatapointsResponse, x as TraceType, y as SessionRecordingOptions } from "./evaluations-
|
|
1
|
+
import { S as TracingLevel, _ as MaskInputOptions, a as HumanEvaluator, b as SpanType, c as InitializeOptions, d as LaminarClient, f as Dataset, g as LaminarSpanContext, h as Event, i as EvaluatorFunctionReturn, l as EvaluationDataset, m as EvaluationDatapointDatasetLink, o as evaluate, p as EvaluationDatapoint, r as EvaluatorFunction, s as StringUUID, t as Datapoint, u as LaminarDataset, v as PushDatapointsResponse, x as TraceType, y as SessionRecordingOptions } from "./evaluations-CgcBhNjN.cjs";
|
|
2
2
|
import { ServerResponse } from "node:http";
|
|
3
3
|
import { ReadableSpan, SpanExporter, SpanProcessor, TimedEvent } from "@opentelemetry/sdk-trace-base";
|
|
4
4
|
import { AttributeValue, Attributes, Context, Exception, HrTime, Link, Span, Span as Span$1, SpanContext, SpanKind, SpanStatus, TimeInput, Tracer, TracerProvider } from "@opentelemetry/api";
|
|
@@ -9614,7 +9614,7 @@ type LanguageModelV2 = {
|
|
|
9614
9614
|
}>;
|
|
9615
9615
|
};
|
|
9616
9616
|
//#endregion
|
|
9617
|
-
//#region ../../node_modules/.pnpm/@ai-sdk+provider@3.0.
|
|
9617
|
+
//#region ../../node_modules/.pnpm/@ai-sdk+provider@3.0.19/node_modules/@ai-sdk/provider/dist/index.d.ts
|
|
9618
9618
|
type SharedV3Headers = Record<string, string>;
|
|
9619
9619
|
/**
|
|
9620
9620
|
* A JSON value can be a string, number, boolean, object, array, or null.
|
|
@@ -10376,8 +10376,9 @@ type LanguageModelV3ToolCall = {
|
|
|
10376
10376
|
*/
|
|
10377
10377
|
toolName: string;
|
|
10378
10378
|
/**
|
|
10379
|
-
*
|
|
10380
|
-
*
|
|
10379
|
+
* JSON-encoded tool input. Must match the input schema of the tool.
|
|
10380
|
+
* String inputs must also be JSON-encoded, even when input deltas use text
|
|
10381
|
+
* encoding.
|
|
10381
10382
|
*/
|
|
10382
10383
|
input: string;
|
|
10383
10384
|
/**
|
|
@@ -10606,6 +10607,12 @@ type LanguageModelV3StreamPart = {
|
|
|
10606
10607
|
type: 'tool-input-start';
|
|
10607
10608
|
id: string;
|
|
10608
10609
|
toolName: string;
|
|
10610
|
+
/**
|
|
10611
|
+
* Encoding of the input deltas. Defaults to JSON when omitted.
|
|
10612
|
+
* Text deltas concatenate to a raw string. The final tool-call input
|
|
10613
|
+
* must still be JSON-encoded, regardless of the delta encoding.
|
|
10614
|
+
*/
|
|
10615
|
+
inputEncoding?: 'json' | 'text';
|
|
10609
10616
|
providerMetadata?: SharedV3ProviderMetadata;
|
|
10610
10617
|
providerExecuted?: boolean;
|
|
10611
10618
|
dynamic?: boolean;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as TracingLevel, _ as MaskInputOptions, a as HumanEvaluator, b as SpanType, c as InitializeOptions, d as LaminarClient, f as Dataset, g as LaminarSpanContext, h as Event, i as EvaluatorFunctionReturn, l as EvaluationDataset, m as EvaluationDatapointDatasetLink, o as evaluate, p as EvaluationDatapoint, r as EvaluatorFunction, s as StringUUID, t as Datapoint, u as LaminarDataset, v as PushDatapointsResponse, x as TraceType, y as SessionRecordingOptions } from "./evaluations-
|
|
1
|
+
import { S as TracingLevel, _ as MaskInputOptions, a as HumanEvaluator, b as SpanType, c as InitializeOptions, d as LaminarClient, f as Dataset, g as LaminarSpanContext, h as Event, i as EvaluatorFunctionReturn, l as EvaluationDataset, m as EvaluationDatapointDatasetLink, o as evaluate, p as EvaluationDatapoint, r as EvaluatorFunction, s as StringUUID, t as Datapoint, u as LaminarDataset, v as PushDatapointsResponse, x as TraceType, y as SessionRecordingOptions } from "./evaluations-GnmUSvoK.mjs";
|
|
2
2
|
import { AttributeValue, Attributes, Context, Exception, HrTime, Link, Span, Span as Span$1, SpanContext, SpanKind, SpanStatus, TimeInput, Tracer, TracerProvider } from "@opentelemetry/api";
|
|
3
3
|
import { Instrumentation, InstrumentationBase } from "@opentelemetry/instrumentation";
|
|
4
4
|
import { ReadableSpan, SpanExporter, SpanProcessor, TimedEvent } from "@opentelemetry/sdk-trace-base";
|
|
@@ -9614,7 +9614,7 @@ type LanguageModelV2 = {
|
|
|
9614
9614
|
}>;
|
|
9615
9615
|
};
|
|
9616
9616
|
//#endregion
|
|
9617
|
-
//#region ../../node_modules/.pnpm/@ai-sdk+provider@3.0.
|
|
9617
|
+
//#region ../../node_modules/.pnpm/@ai-sdk+provider@3.0.19/node_modules/@ai-sdk/provider/dist/index.d.ts
|
|
9618
9618
|
type SharedV3Headers = Record<string, string>;
|
|
9619
9619
|
/**
|
|
9620
9620
|
* A JSON value can be a string, number, boolean, object, array, or null.
|
|
@@ -10376,8 +10376,9 @@ type LanguageModelV3ToolCall = {
|
|
|
10376
10376
|
*/
|
|
10377
10377
|
toolName: string;
|
|
10378
10378
|
/**
|
|
10379
|
-
*
|
|
10380
|
-
*
|
|
10379
|
+
* JSON-encoded tool input. Must match the input schema of the tool.
|
|
10380
|
+
* String inputs must also be JSON-encoded, even when input deltas use text
|
|
10381
|
+
* encoding.
|
|
10381
10382
|
*/
|
|
10382
10383
|
input: string;
|
|
10383
10384
|
/**
|
|
@@ -10606,6 +10607,12 @@ type LanguageModelV3StreamPart = {
|
|
|
10606
10607
|
type: 'tool-input-start';
|
|
10607
10608
|
id: string;
|
|
10608
10609
|
toolName: string;
|
|
10610
|
+
/**
|
|
10611
|
+
* Encoding of the input deltas. Defaults to JSON when omitted.
|
|
10612
|
+
* Text deltas concatenate to a raw string. The final tool-call input
|
|
10613
|
+
* must still be JSON-encoded, regardless of the delta encoding.
|
|
10614
|
+
*/
|
|
10615
|
+
inputEncoding?: 'json' | 'text';
|
|
10609
10616
|
providerMetadata?: SharedV3ProviderMetadata;
|
|
10610
10617
|
providerExecuted?: boolean;
|
|
10611
10618
|
dynamic?: boolean;
|