evalution 2.0.0 → 2.0.2
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/README.md +11 -11
- package/dist/{check-ci7RhMcB.d.ts → check-BKU5_IhU.d.ts} +7 -2
- package/dist/checks/index.d.ts +1 -1
- package/dist/cli/index.js +622 -336
- package/dist/client/assets/{DatasetView-BqSWI_pm.js → DatasetView-DZ2uLHKV.js} +12 -10
- package/dist/client/assets/{EvalRunView-CR6ZksSu.js → EvalRunView-T610dLVw.js} +1 -1
- package/dist/client/assets/{EvalView-JPEM5IY8.js → EvalView-Cae68vPB.js} +1 -1
- package/dist/client/assets/{data-grid-overlay-editor-B_nPhXKR.js → data-grid-overlay-editor-PtH7A6E4.js} +1 -1
- package/dist/client/assets/{highlighted-body-KPVGNVTW-dPpneB8R.js → highlighted-body-KPVGNVTW-CPtwvSJb.js} +1 -1
- package/dist/client/assets/{index-CwjMcK6S.js → index-BFH07Ynk.js} +147 -147
- package/dist/client/assets/index-KCv8AeiY.css +32 -0
- package/dist/client/assets/{number-overlay-editor-CRWFlaQs.js → number-overlay-editor-BbQhagHP.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/cost-fetching-trace-sink-Dz8gniQ6.js +262 -0
- package/dist/{dataset-types-8cDpOFYi.d.ts → dataset-types-D-Fsbg8B.d.ts} +5 -0
- package/dist/index.d.ts +517 -121
- package/dist/index.js +29 -10
- package/dist/ingest.d.ts +119 -0
- package/dist/ingest.js +3 -0
- package/dist/{trace-event-ingestor-DwI1hxGX.js → local-database-trace-provider-87-WGqfS.js} +1795 -1086
- package/dist/{trace-BlnjMp7o.d.ts → trace-BLjFYF9G.d.ts} +1 -1
- package/dist/trace-event-ingestor-B1DYEg2H.js +798 -0
- package/dist/trace-event-ingestor-JNpe-OrX.d.ts +109 -0
- package/dist/views/datasets/index.d.ts +1 -1
- package/dist/views/index.d.ts +2 -2
- package/dist/views/react/index.d.ts +1 -1
- package/package.json +38 -41
- package/dist/client/assets/index-BGcZZetP.css +0 -32
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Evalution is a local-first development tool. Maintain your prompts directly in y
|
|
|
4
4
|
use the web playground to edit parameters, switch models, and see results in real
|
|
5
5
|
time, so what you test is exactly what ships.
|
|
6
6
|
|
|
7
|
-
📖 **Documentation: [evalut.io/n/docs](https://evalut.io/
|
|
7
|
+
📖 **Documentation: [evalut.io/n/docs](https://l.evalut.io/s/docs)**
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -26,25 +26,25 @@ npx evalution
|
|
|
26
26
|
|
|
27
27
|
Requires Node.js 22.18.0 or higher.
|
|
28
28
|
|
|
29
|
-
See the [documentation](https://evalut.io/
|
|
29
|
+
See the [documentation](https://l.evalut.io/s/docs) for more detailed guidance.
|
|
30
30
|
|
|
31
31
|
## Development
|
|
32
32
|
|
|
33
|
-
1. Install dependencies: `
|
|
34
|
-
2. Run server and client against the evalution check out: `
|
|
33
|
+
1. Install dependencies: `pnpm install`
|
|
34
|
+
2. Run server and client against the evalution check out: `pnpm run dev`
|
|
35
35
|
3. Run against a different path:
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
pnpm run dev:server ui <path>
|
|
39
|
+
pnpm run dev:client
|
|
40
40
|
```
|
|
41
41
|
Other useful commands:
|
|
42
42
|
|
|
43
|
-
- `
|
|
44
|
-
- `
|
|
45
|
-
- `
|
|
46
|
-
- `
|
|
47
|
-
- `
|
|
43
|
+
- `pnpm test` — run unit tests (`pnpm run test:coverage` for coverage)
|
|
44
|
+
- `pnpm run test:ui` — run Playwright component tests
|
|
45
|
+
- `pnpm run typecheck` — type-check the project
|
|
46
|
+
- `pnpm run docs` — regenerate the API reference
|
|
47
|
+
- `pnpm run build` — build the server and client
|
|
48
48
|
|
|
49
49
|
## License
|
|
50
50
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CalleeBinding, ExtractedProps, PropDefinition as PropDefinition$1, PropType, PropValue as PropValue$1, SourceSpan, ValueCatalog, ValueCatalogGroup, ValueCatalogPreset, ValueFactory } from "ts-proppy";
|
|
2
|
-
import { Annotation as Annotation$1, AnnotationChanges as AnnotationChanges$1, AnnotationEvent as AnnotationEvent$1, AnnotationEventOp as AnnotationEventOp$1, AnnotationKind, AnnotationSource, EvalCounts, LLMSpanDetails, PromptID, PromptID as PromptID$1, Span as Span$1, SpanContentPart, SpanImagePart, SpanKind, SpanMessage, SpanMessageRole, SpanReasoningPart, SpanTextPart, SpanToolCallPart, SpanToolResultPart, ToolSpanDetails, Trace as Trace$1, TraceChangeEvent, TraceChangeEvent as TraceChangeEvent$1, TraceChangeType, TraceEvalRun, TraceEvalRun as TraceEvalRun$1, TraceLiveEvent, TraceProviderInfo, TraceStreamEvent as TraceStreamEvent$1, TraceSummary as TraceSummary$1, TraceWithSpans, TraceWithSpans as TraceWithSpans$1 } from "@evalution/sdk";
|
|
2
|
+
import { Annotation as Annotation$1, AnnotationChanges as AnnotationChanges$1, AnnotationEvent as AnnotationEvent$1, AnnotationEventOp as AnnotationEventOp$1, AnnotationKind, AnnotationSource, EvalCounts, LLMSpanDetails, PromptID, PromptID as PromptID$1, Span as Span$1, SpanContentPart, SpanImagePart, SpanKind, SpanMessage, SpanMessageRole, SpanReasoningPart, SpanTextPart, SpanToolCallPart, SpanToolResultPart, ToolSpanDetails, Trace as Trace$1, TraceChangeEvent, TraceChangeEvent as TraceChangeEvent$1, TraceChangeType, TraceEvalRun, TraceEvalRun as TraceEvalRun$1, TraceGroup as TraceGroup$1, TraceGroupQuery as TraceGroupQuery$1, TraceLiveEvent, TraceProviderInfo, TraceQuery as TraceQuery$1, TraceStreamEvent as TraceStreamEvent$1, TraceSummary as TraceSummary$1, TraceWithSpans, TraceWithSpans as TraceWithSpans$1 } from "@evalution/sdk";
|
|
3
3
|
import { ChatPromptUpdates, FieldValues, InputLayout, NormalizedChatPrompt, NormalizedMessage, NormalizedParameter, NormalizedPrompt, NormalizedPrompt as NormalizedPrompt$1, NormalizedPromptBase, NormalizedPromptUpdates, NormalizedQuestionsPrompt, NormalizedToolCall, ParsedPrompt, PendingConflicts, PromptInputSources, PromptRef, PromptRef as PromptRef$1, PromptStyle, QuestionsPromptUpdates, ResourceInfo, ResourceScope, VariationConflict, VariationConflict as VariationConflict$1, VariationId, VariationId as VariationId$1, VariationInfo, VariationInfo as VariationInfo$1, VersionId, VersionId as VersionId$1, VersionInfo } from "@evalution/sdk/adapter";
|
|
4
4
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
5
5
|
|
|
@@ -571,6 +571,11 @@ interface Dataset {
|
|
|
571
571
|
createdAt: number;
|
|
572
572
|
/** Timestamp (ms) of the last change to the dataset or its rows. */
|
|
573
573
|
updatedAt: number;
|
|
574
|
+
/**
|
|
575
|
+
* Synced with the linked project in Evalution Cloud: deleting it deletes
|
|
576
|
+
* the cloud's copy and every project member's.
|
|
577
|
+
*/
|
|
578
|
+
synced?: boolean;
|
|
574
579
|
}
|
|
575
580
|
/** One key one level inside a path, as `DatasetProvider.describePath` finds it. */
|
|
576
581
|
interface DatasetPathChild {
|
|
@@ -1095,4 +1100,4 @@ declare function check<const N extends ResourceInputs = Record<string, never>>(d
|
|
|
1095
1100
|
/** Whether `value` was produced by {@link check}. */
|
|
1096
1101
|
declare function isCheck(value: unknown): value is Check;
|
|
1097
1102
|
//#endregion
|
|
1098
|
-
export { FieldValues as $,
|
|
1103
|
+
export { FieldValues as $, ValueCatalogGroup as $t, DatasetRowsOverview as A, TraceCheckResult as An, SpanImagePart as At, AnnotationEvent$1 as B, TraceChangeEvent$1 as Bt, DatasetFieldShape as C, EvalRunProgress as Cn, ResourceInfo as Ct, DatasetRow as D, EvalTraceRun as Dn, SourceSpan as Dt, DatasetProviderInfo as E, EvalSummary as En, RunResources as Et, KnownColumnSpec as F, SpanTextPart as Ft, ChangeEventType as G, TraceLiveEvent as Gt, AnnotationKind as H, TraceEvalRun$1 as Ht, AddPromptContext as I, SpanToolCallPart as It, ConflictChoices as J, TraceStreamEvent$1 as Jt, ChatPromptUpdates as K, TraceProviderInfo as Kt, AddPromptField as L, SpanToolResultPart as Lt, ColumnPath as M, SpanMessage as Mt, DatasetColumnSpec as N, SpanMessageRole as Nt, DatasetRowSource as O, NewEvalDefinition as On, Span$1 as Ot, ForeignColumnSpec as P, SpanReasoningPart as Pt, ExtractedProps as Q, ValueCatalog as Qt, Annotation$1 as R, ToolSpanDetails as Rt, DatasetField as S, EvalRun as Sn, RebaseResult as St, DatasetPathChild as T, EvalRunSummary as Tn, ResourceScope as Tt, AnnotationSource as U, TraceGroup$1 as Ut, AnnotationEventOp$1 as V, TraceChangeType as Vt, CalleeBinding as W, TraceGroupQuery$1 as Wt, ExecuteResponse as X, TraceWithSpans$1 as Xt, ExecuteRequest as Y, TraceSummary$1 as Yt, ExecutionInput as Z, UpdatePromptResponse as Zt, isStandardSchema as _, EvalInputs as _n, PromptStyle as _t, check as a, VersionId$1 as an, NormalizedPrompt$1 as at, DatasetChangeEvent as b, EvalRowResult as bn, PropValue$1 as bt, ResolvedResourceInputs as c, EvalArmSpec as cn, NormalizedQuestionsPrompt as ct, ResourceInput as d, EvalCheck as dn, PendingConflicts as dt, ValueCatalogPreset as en, InputLayout as et, ResourceInputs as f, EvalCheckOutcome as fn, PromptChangeEvent as ft, isResource as g, EvalDefinitionPatch as gn, PromptRef$1 as gt, StaticResourceDefinition as h, EvalDefinition as hn, PromptProviderInfo as ht, CheckRun as i, VariationInfo$1 as in, NormalizedParameter as it, DatasetSummary as j, SpanKind as jt, DatasetRowUpdate as k, NewEvalRun as kn, SpanContentPart as kt, Resource as l, EvalChangeEvent as ln, NormalizedToolCall as lt, ResourceOutputDefinition as m, EvalCounts as mn, PromptInputSources as mt, CheckDefinition as n, VariationConflict$1 as nn, NormalizedChatPrompt as nt, isCheck as o, VersionInfo as on, NormalizedPromptBase as ot, ResourceInstance as p, EvalCheckResult as pn, PromptID$1 as pt, CheckInfo as q, TraceQuery$1 as qt, CheckOutcome as r, VariationId$1 as rn, NormalizedMessage as rt, DynamicResourceDefinition as s, EvalArm as sn, NormalizedPromptUpdates as st, Check as t, ValueFactory as tn, LLMSpanDetails as tt, ResourceDefinition as u, EvalChangeType as un, ParsedPrompt as ut, resource as v, EvalProviderInfo as vn, PropDefinition$1 as vt, DatasetInstanceShape as w, EvalRunStatus as wn, ResourceInstanceInput as wt, DatasetChangeType as x, EvalRowStatus as xn, QuestionsPromptUpdates as xt, Dataset as y, EvalResults as yn, PropType as yt, AnnotationChanges$1 as z, Trace$1 as zt };
|
package/dist/checks/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as CheckRun, q as CheckInfo, t as Check } from "../check-
|
|
1
|
+
import { i as CheckRun, q as CheckInfo, t as Check } from "../check-BKU5_IhU.js";
|
|
2
2
|
import { TraceWithSpans } from "@evalution/sdk";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
|