@far-world-labs/verblets 0.6.3 → 0.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/README.md +98 -11
- package/dist/index.browser.js +206 -206
- package/dist/index.js +668 -645
- package/dist/shared-Dc73O74G.js +12507 -0
- package/package.json +2 -2
- package/dist/shared-BSAzZOFX.js +0 -11644
package/README.md
CHANGED
|
@@ -25,9 +25,9 @@ Or use a `.env` file in your project root (loaded automatically via dotenv).
|
|
|
25
25
|
Then initialize and call a function:
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
|
-
import { init
|
|
28
|
+
import { init } from '@far-world-labs/verblets';
|
|
29
29
|
|
|
30
|
-
init();
|
|
30
|
+
const { score } = init();
|
|
31
31
|
|
|
32
32
|
const results = await score(
|
|
33
33
|
['reliability', 'performance', 'ease of use'],
|
|
@@ -35,18 +35,43 @@ const results = await score(
|
|
|
35
35
|
);
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
`init()` validates that an API key is present and
|
|
38
|
+
`init()` validates that an API key is present, creates a fresh model service, and returns an object of wrapped functions with services pre-injected. Destructure the functions you need:
|
|
39
39
|
|
|
40
40
|
```js
|
|
41
|
-
init({
|
|
41
|
+
const { filter, map, bool, llm } = init({
|
|
42
42
|
embed: true, // enable local embedding model
|
|
43
43
|
redis: redisClient, // pre-configured Redis client for caching
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
models: { // extend the model catalog (additive)
|
|
45
|
+
'my-llama': { provider: 'openai', apiUrl: 'http://localhost:11434/v1', endpoint: '/chat/completions', maxContextWindow: 8192, maxOutputTokens: 4096 },
|
|
46
|
+
},
|
|
47
|
+
rules: [ // override negotiation rules (first match wins)
|
|
48
|
+
{ match: { sensitive: true, good: true }, use: 'my-llama' },
|
|
49
|
+
{ match: { sensitive: true }, use: 'my-llama' },
|
|
50
|
+
{ match: { reasoning: true }, use: 'claude-opus-4-6' },
|
|
51
|
+
{ match: { cheap: true, good: false }, use: 'gpt-4.1-nano' },
|
|
52
|
+
{ use: 'gpt-4.1-mini' }, // catch-all default
|
|
53
|
+
],
|
|
54
|
+
policy: { // base policy for all LLM calls
|
|
55
|
+
temperature: () => 0.7,
|
|
46
56
|
},
|
|
47
57
|
});
|
|
48
58
|
```
|
|
49
59
|
|
|
60
|
+
Each `init()` call creates an isolated instance with its own ModelService, so two instances do not share model configuration or caches:
|
|
61
|
+
|
|
62
|
+
```js
|
|
63
|
+
const a = init({ rules: [{ use: 'gpt-4.1' }] });
|
|
64
|
+
const b = init({ rules: [{ use: 'claude-sonnet-4-20250514' }] });
|
|
65
|
+
await a.filter(items, 'urgent'); // uses gpt-4.1
|
|
66
|
+
await b.filter(items, 'urgent'); // uses claude-sonnet-4-20250514
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
The library selects models through ordered pattern-matching rules. Each rule has an optional `match` (capability conditions) and a `use` (model name). The first matching rule wins. A rule's `match` maps capabilities to `true` (must be requested) or `false` (must NOT be requested). Unmentioned capabilities are don't-care.
|
|
70
|
+
|
|
71
|
+
Consumers express intent as capability objects: `{ fast: true }`, `{ reasoning: true }`, `{ sensitive: true, good: true }`. The value `'prefer'` acts as a soft preference that falls through gracefully when unavailable. Capabilities: `fast`, `cheap`, `good`, `reasoning`, `multi`, `sensitive`.
|
|
72
|
+
|
|
73
|
+
Sensitive and reasoning capabilities are gated by default — they only match rules that explicitly mention them, preventing sensitive data from reaching cloud models or expensive reasoning models from being selected without opt-in.
|
|
74
|
+
|
|
50
75
|
Without Redis, caching is disabled and the library operates statelessly.
|
|
51
76
|
|
|
52
77
|
## Repository Guide
|
|
@@ -55,6 +80,7 @@ Without Redis, caching is disabled and the library operates statelessly.
|
|
|
55
80
|
|
|
56
81
|
- [Chains](./src/chains/) - Prompt chains and algorithms based on LLMs
|
|
57
82
|
- [Verblets](./src/verblets/) - Core AI utility functions. At most a single LLM call, no prompt chains.
|
|
83
|
+
- [Embedding](./src/embed/) - Local embedding, vector scoring, and semantic state construction
|
|
58
84
|
- [Library Helpers](./src/lib/) - Utility functions and wrappers
|
|
59
85
|
- [Prompts](./src/prompts/) - Reusable prompt templates
|
|
60
86
|
- [JSON Schemas](./src/json-schemas/) - Data validation schemas
|
|
@@ -77,7 +103,6 @@ Math chains transform values using conceptual reasoning and subjective judgment
|
|
|
77
103
|
|
|
78
104
|
- [scale](./src/chains/scale) - Convert qualitative descriptions to numeric values using a specification generator for consistency across invocations
|
|
79
105
|
- [calibrate](./src/chains/calibrate) - Build and apply specification-based classifiers with adjustable sensitivity
|
|
80
|
-
- [probe-scan](./src/chains/probe-scan) - Scan items for relevance using embedding similarity with configurable detection thresholds
|
|
81
106
|
|
|
82
107
|
### Lists
|
|
83
108
|
|
|
@@ -142,7 +167,6 @@ Retrieval utilities transform queries and prepare text for search and RAG (retri
|
|
|
142
167
|
- [embed-step-back](./src/verblets/embed-step-back) - Broaden queries to underlying concepts and principles
|
|
143
168
|
- [embed-subquestions](./src/verblets/embed-subquestions) - Split complex queries into atomic sub-questions
|
|
144
169
|
- [embed-rewrite-to-output-doc](./src/verblets/embed-rewrite-to-output-doc) - Rewrite a query as if it were the answer document
|
|
145
|
-
- [embed-score](./src/lib/embed-score) - Score and rank items against a query using embedding similarity
|
|
146
170
|
|
|
147
171
|
|
|
148
172
|
### Utility Operations
|
|
@@ -167,18 +191,81 @@ Codebase utilities analyze, test, and improve code quality using AI reasoning.
|
|
|
167
191
|
- [test](./src/chains/test) - Generate test cases covering happy paths, edge cases, and error conditions
|
|
168
192
|
|
|
169
193
|
|
|
194
|
+
## Instruction Bundles
|
|
195
|
+
|
|
196
|
+
All chains and verblets accept instructions as a string or an object with named context. Unknown keys become XML context prepended to the prompt; known keys override internal derivation (skipping expensive LLM calls). This enables pipeline patterns where one chain's derived artifacts feed the next.
|
|
197
|
+
|
|
198
|
+
```js
|
|
199
|
+
// String — unchanged behavior
|
|
200
|
+
const scores = await score(articles, 'Rate persuasiveness 0-10');
|
|
201
|
+
|
|
202
|
+
// Object — text plus named context
|
|
203
|
+
const scores = await score(articles, {
|
|
204
|
+
text: 'Rate persuasiveness 0-10',
|
|
205
|
+
domain: 'Political campaign ads',
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
// Known key — reuse a spec from a prior chain, skipping spec generation
|
|
209
|
+
const scores = await score(articles, {
|
|
210
|
+
text: 'Rate persuasiveness 0-10',
|
|
211
|
+
spec: priorSpec,
|
|
212
|
+
});
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
Capture derived artifacts for reuse with `collectEventsWith`:
|
|
216
|
+
|
|
217
|
+
```js
|
|
218
|
+
import { collectEventsWith, extractEntities } from '@far-world-labs/verblets';
|
|
219
|
+
|
|
220
|
+
const [entities, { specification }] = await collectEventsWith(
|
|
221
|
+
(onProgress) => extractEntities(doc, 'Extract organizations', { onProgress }),
|
|
222
|
+
'specification',
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
// Reuse — skips the spec generation LLM call
|
|
226
|
+
const more = await extractEntities(doc2, { text: 'Extract organizations', spec: specification });
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
Each function exports a `knownTexts` property listing the keys it recognizes.
|
|
230
|
+
|
|
231
|
+
## Embedding
|
|
232
|
+
|
|
233
|
+
Embedding utilities provide local vector embedding and a semantic state construction system for building vector representations of structured objects.
|
|
234
|
+
|
|
235
|
+
### Primitives
|
|
236
|
+
|
|
237
|
+
- [embed](./src/embed) - Local embedding: `embed`, `embedBatch`, `embedChunked`, `embedWarmup`, `embedImage`, `embedImageBatch`
|
|
238
|
+
- [normalize-text](./src/embed/normalize-text) - Normalize text (NFC, whitespace, line endings) for consistent embedding
|
|
239
|
+
- [neighbor-chunks](./src/embed/neighbor-chunks) - Expand retrieved chunks with neighboring context
|
|
240
|
+
- [score-chunks-by-probes](./src/embed/score-chunks-by-probes) - Score chunk×probe pairs by cosine similarity, sorted by score
|
|
241
|
+
|
|
242
|
+
### Object Construction
|
|
243
|
+
|
|
244
|
+
Build multi-projection vector states from text sources using LLM-driven fragmentation and local embedding.
|
|
245
|
+
|
|
246
|
+
- [embed-object-define](./src/chains/embed-object-define) - Discover projection schema from example texts
|
|
247
|
+
- [embed-object-fragment](./src/chains/embed-object-fragment) - Fragment source texts into projection-tagged pieces
|
|
248
|
+
- [embed-object-refine](./src/chains/embed-object-refine) - Refine schema using a study set of selected states
|
|
249
|
+
- [embed-object](./src/embed/embed-object) - Embed fragments into multi-projection vector states
|
|
250
|
+
- [shape-state](./src/embed/shape-state) - Clone and scale projection vectors within states
|
|
251
|
+
- [plan-read](./src/embed/plan-read) - Construct read plans from schema defaults or overrides
|
|
252
|
+
- [read](./src/embed/read) - Extract scalar property values from states (`read` and `readDetails`)
|
|
253
|
+
- [match](./src/embed/match) - Weighted cosine matching across projection vectors
|
|
254
|
+
|
|
170
255
|
## Library Helpers
|
|
171
256
|
|
|
172
257
|
Low-level utilities that support chains and verblets. Most are synchronous and make no LLM calls.
|
|
173
258
|
|
|
174
259
|
- [llm](./src/lib/llm) - Core LLM wrapper with capability-based model selection and structured output
|
|
175
|
-
- [context](./src/lib/context) - Config resolution: `getOption`, `getOptions`, `withPolicy
|
|
260
|
+
- [context](./src/lib/context) - Config resolution: `nameStep`, `getOption`, `getOptions`, `withPolicy`
|
|
261
|
+
- [instruction](./src/lib/instruction) - Instruction normalization: `resolveTexts`, `resolveArgs`, `normalizeInstruction`
|
|
262
|
+
- [context-budget](./src/lib/context-budget) - XML context assembler: collect named entries, wrap, join
|
|
263
|
+
- [collect-events-with](./src/lib/collect-events-with) - Wrap a chain call and capture derived artifacts from progress events
|
|
264
|
+
- [template-builder](./src/lib/template-builder) - Immutable tagged-template prompt builder with named slots
|
|
176
265
|
- [prompt-cache](./src/lib/prompt-cache) - Cache LLM prompts and responses
|
|
177
266
|
- [retry](./src/lib/retry) - Config-aware async retry
|
|
178
267
|
- [parallel-batch](./src/lib/parallel-batch) - Parallel execution with concurrency limits
|
|
179
268
|
- [ring-buffer](./src/lib/ring-buffer) - Circular buffer for running LLMs on streams of data
|
|
180
|
-
- [embed-normalize-text](./src/lib/embed-normalize-text) - Normalize text (NFC, whitespace, line endings) for consistent embedding
|
|
181
|
-
- [embed-neighbor-chunks](./src/lib/embed-neighbor-chunks) - Expand retrieved chunks with neighboring context
|
|
182
269
|
- [progress](./src/lib/progress) - Progress event system: lifecycle tracking, batch progress, event emission
|
|
183
270
|
|
|
184
271
|
## Contributing
|
package/dist/index.browser.js
CHANGED
|
@@ -1,214 +1,214 @@
|
|
|
1
|
-
import { cM as a } from "./shared-
|
|
2
|
-
import { cJ as
|
|
1
|
+
import { cM as a } from "./shared-Dc73O74G.js";
|
|
2
|
+
import { cJ as c, L as i, I as r, M as n, bX as o, aI as l, bV as b, aE as m, K as p, D as u, J as d, cH as g, bZ as h, b_ as S, an as T, cG as v, c0 as y, e as E, c1 as I, Q as C, a_ as R, b$ as f, b1 as B, bY as M, bP as P, bi as O, bd as x, be as L, bO as N, a4 as A, a3 as k, bg as D, u as F, aB as w, bf as z, aa as j, F as V, H as W, G as K, aA as U, bb as _, a6 as G, a7 as Q, co as Y, bJ as q, x as J, bU as H, aC as X, bH as Z, aD as $, cp as aa, b3 as sa, cL as ea, t as ta, aF as ca, cq as ia, bL as ra, N as na, c as oa, W as la, v as ba, bK as ma, r as pa, U as ua, a8 as da, a9 as ga, ao as ha, aG as Sa, aJ as Ta, aL as va, bo as ya, bF as Ea, bp as Ia, bD as Ca, bq as Ra, bt as fa, bu as Ba, bE as Ma, bx as Pa, bC as Oa, bB as xa, cE as La, bw as Na, bA as Aa, bG as ka, by as Da, bz as Fa, br as wa, ad as za, ac as ja, a1 as Va, a2 as Wa, X as Ka, bh as Ua, ae as _a, ab as Ga, cf as Qa, aU as Ya, aM as qa, af as Ja, aN as Ha, c8 as Xa, ag as Za, c9 as $a, al as as, aH as ss, S as es, T as ts, g as cs, ah as is, ai as rs, cb as ns, cK as os, bj as ls, aj as bs, aO as ms, j as ps, cr as us, ak as ds, am as gs, ap as hs, r as Ss, bk as Ts, bl as vs, aq as ys, c7 as Es, ay as Is, aP as Cs, aQ as Rs, n as fs, bR as Bs, bM as Ms, y as Ps, z as Os, P as xs, R as Ls, cs as Ns, c3 as As, c4 as ks, c6 as Ds, c2 as Fs, c5 as ws, p as zs, bN as js, cn as Vs, aW as Ws, aX as Ks, aR as Us, bl as _s, ct as Gs, cz as Qs, aS as Ys, cC as qs, cD as Js, cA as Hs, aT as Xs, bI as Zs, f as $s, ca as ae, aY as se, aV as ee, h as te, cI as ce, cF as ie, k as re, l as ne, bW as oe, C as le, A as be, B as me, aZ as pe, cB as ue, ba as de, s as ge, ar as he, bv as Se, au as Te, at as ve, as as ye, bm as Ee, bs as Ie, bn as Ce, cy as Re, aK as fe, bT as Be, a$ as Me, bc as Pe, av as Oe, cu as xe, b0 as Le, ch as Ne, cg as Ae, a5 as ke, az as De, aw as Fe, ax as we, b2 as ze, Z as je, _ as Ve, Y as We, a0 as Ke, bS as Ue, bQ as _e, b4 as Ge, b5 as Qe, ci as Ye, ck as qe, cl as Je, cj as He, cm as Xe, b6 as Ze, b7 as $e, cv as at, $ as st, V as et, cw as tt, b9 as ct, b8 as it, cc as rt, cd as nt, ce as ot, w as lt, cx as bt } from "./shared-Dc73O74G.js";
|
|
3
3
|
a();
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
c as CAPABILITY_KEYS,
|
|
6
|
+
i as COMPLIANCE,
|
|
7
|
+
r as CONTEXT_KINDS,
|
|
8
8
|
n as COST_POSTURE,
|
|
9
|
-
o as
|
|
10
|
-
l as
|
|
11
|
-
b as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
S as
|
|
19
|
-
T as
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
C as
|
|
25
|
-
|
|
26
|
-
f as
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
P as
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
A as
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
V as
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Q as
|
|
48
|
-
Y as
|
|
49
|
-
|
|
50
|
-
J as
|
|
51
|
-
H as
|
|
52
|
-
X as
|
|
53
|
-
Z as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
sa as
|
|
57
|
-
ea as
|
|
58
|
-
ta as
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
na as
|
|
63
|
-
oa as
|
|
64
|
-
la as
|
|
65
|
-
ba as
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Sa as
|
|
73
|
-
Ta as
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
Ca as
|
|
79
|
-
|
|
80
|
-
fa as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
Pa as
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
Aa as
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
Va as
|
|
96
|
-
Ua as evaluateTargetingClause,
|
|
9
|
+
o as ChainEvent,
|
|
10
|
+
l as ChainTree,
|
|
11
|
+
b as ContextBudget,
|
|
12
|
+
m as Conversation,
|
|
13
|
+
p as DOMAIN,
|
|
14
|
+
u as DomainEvent,
|
|
15
|
+
d as ENVIRONMENT,
|
|
16
|
+
g as EmbeddingService,
|
|
17
|
+
h as Kind,
|
|
18
|
+
S as Level,
|
|
19
|
+
T as ListStyle,
|
|
20
|
+
v as ModelService,
|
|
21
|
+
y as ModelSource,
|
|
22
|
+
E as OpEvent,
|
|
23
|
+
I as OptionSource,
|
|
24
|
+
C as QUALITY_INTENT,
|
|
25
|
+
R as SocraticMethod,
|
|
26
|
+
f as StatusCode,
|
|
27
|
+
B as SummaryMap,
|
|
28
|
+
M as TelemetryEvent,
|
|
29
|
+
P as TimedAbortController,
|
|
30
|
+
O as aiExpect,
|
|
31
|
+
x as analyzeImage,
|
|
32
|
+
L as analyzeImageMapDetail,
|
|
33
|
+
N as anySignal,
|
|
34
|
+
A as applyAllTargetingRules,
|
|
35
|
+
k as applyFirstTargetingRule,
|
|
36
|
+
D as auto,
|
|
37
|
+
F as bool,
|
|
38
|
+
w as buildSeedGenerationPrompt,
|
|
39
|
+
z as buildVisionPrompt,
|
|
40
|
+
j as calculateStatistics,
|
|
41
|
+
V as calibrate,
|
|
42
|
+
W as calibrateInstructions,
|
|
43
|
+
K as calibrateSpec,
|
|
44
|
+
U as categorySamples,
|
|
45
|
+
_ as causalFramePrompt,
|
|
46
|
+
G as centralTendency,
|
|
47
|
+
Q as centralTendencyLines,
|
|
48
|
+
Y as chunk,
|
|
49
|
+
q as chunkSentences,
|
|
50
|
+
J as classify,
|
|
51
|
+
H as collectEventsWith,
|
|
52
|
+
X as collectTerms,
|
|
53
|
+
Z as combinations,
|
|
54
|
+
$ as commonalities,
|
|
55
|
+
aa as compact,
|
|
56
|
+
sa as computeTagStatistics,
|
|
57
|
+
ea as config,
|
|
58
|
+
ta as constants,
|
|
59
|
+
ca as conversationTurnReduce,
|
|
60
|
+
ia as cosineSimilarity,
|
|
61
|
+
ra as createBatches,
|
|
62
|
+
na as createContextBuilder,
|
|
63
|
+
oa as createProgressEmitter,
|
|
64
|
+
la as createTraceCollector,
|
|
65
|
+
ba as date,
|
|
66
|
+
ma as debug,
|
|
67
|
+
pa as default,
|
|
68
|
+
ua as descriptorToSchema,
|
|
69
|
+
da as detectPatterns,
|
|
70
|
+
ga as detectThreshold,
|
|
71
|
+
ha as determineStyle,
|
|
72
|
+
Sa as disambiguate,
|
|
73
|
+
Ta as dismantle,
|
|
74
|
+
va as documentShrink,
|
|
75
|
+
ya as embed,
|
|
76
|
+
Ea as embedAssembleSpan,
|
|
77
|
+
Ia as embedBatch,
|
|
78
|
+
Ca as embedBuildIndex,
|
|
79
|
+
Ra as embedChunked,
|
|
80
|
+
fa as embedImage,
|
|
81
|
+
Ba as embedImageBatch,
|
|
82
|
+
Ma as embedMergeRanges,
|
|
83
|
+
Pa as embedMultiQuery,
|
|
84
|
+
Oa as embedNeighborChunks,
|
|
85
|
+
xa as embedNormalizeText,
|
|
86
|
+
La as embedObject,
|
|
87
|
+
Na as embedRewriteQuery,
|
|
88
|
+
Aa as embedRewriteToOutputDoc,
|
|
89
|
+
ka as embedStandaloneSpan,
|
|
90
|
+
Da as embedStepBack,
|
|
91
|
+
Fa as embedSubquestions,
|
|
92
|
+
wa as embedWarmup,
|
|
93
|
+
za as entityInstructions,
|
|
94
|
+
ja as entitySpec,
|
|
95
|
+
Va as evaluateTargetingClause,
|
|
97
96
|
Wa as evaluateTargetingRule,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
Ka as eventToTrace,
|
|
98
|
+
Ua as expect,
|
|
99
|
+
_a as extractBlocks,
|
|
100
|
+
Ga as extractEntities,
|
|
101
101
|
Qa as extractJson,
|
|
102
|
-
Ya as
|
|
103
|
-
|
|
104
|
-
Ja as
|
|
105
|
-
Ha as
|
|
106
|
-
Xa as
|
|
107
|
-
Za as
|
|
108
|
-
$a as
|
|
109
|
-
as as
|
|
110
|
-
ss as
|
|
111
|
-
es as
|
|
112
|
-
ts as
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
ns as
|
|
117
|
-
os as
|
|
118
|
-
ls as
|
|
119
|
-
bs as
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
Ss as
|
|
127
|
-
Ts as
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
Cs as
|
|
133
|
-
|
|
134
|
-
fs as
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
Ps as
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
As as
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
Vs as
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
Qs as
|
|
156
|
-
Ys as
|
|
157
|
-
|
|
158
|
-
Js as
|
|
159
|
-
Hs as
|
|
160
|
-
Xs as
|
|
161
|
-
Zs as
|
|
162
|
-
$s as
|
|
163
|
-
ae as
|
|
164
|
-
se as
|
|
165
|
-
ee as
|
|
166
|
-
te as
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
ne as
|
|
171
|
-
oe as
|
|
172
|
-
le as
|
|
173
|
-
be as
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
Se as
|
|
181
|
-
Te as
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
Ce as
|
|
187
|
-
|
|
188
|
-
fe as
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
Pe as
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
Ae as
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
Ve as
|
|
204
|
-
Ue as targetingRule,
|
|
102
|
+
Ya as extractRelations,
|
|
103
|
+
qa as fillMissing,
|
|
104
|
+
Ja as filter,
|
|
105
|
+
Ha as filterAmbiguous,
|
|
106
|
+
Xa as filterEach,
|
|
107
|
+
Za as find,
|
|
108
|
+
$a as findEach,
|
|
109
|
+
as as generateList,
|
|
110
|
+
ss as getMeanings,
|
|
111
|
+
es as getOption,
|
|
112
|
+
ts as getOptionDetail,
|
|
113
|
+
cs as getOptions,
|
|
114
|
+
is as glossary,
|
|
115
|
+
rs as group,
|
|
116
|
+
ns as groupEach,
|
|
117
|
+
os as init,
|
|
118
|
+
ls as intent,
|
|
119
|
+
bs as intersections,
|
|
120
|
+
ms as join,
|
|
121
|
+
ps as jsonSchema,
|
|
122
|
+
us as last,
|
|
123
|
+
ds as list,
|
|
124
|
+
gs as listBatch,
|
|
125
|
+
hs as listExpand,
|
|
126
|
+
Ss as llm,
|
|
127
|
+
Ts as llmLogger,
|
|
128
|
+
vs as makePrompt,
|
|
129
|
+
ys as map,
|
|
130
|
+
Es as mapEach,
|
|
131
|
+
Is as mapTags,
|
|
132
|
+
Cs as name,
|
|
133
|
+
Rs as nameSimilarTo,
|
|
134
|
+
fs as nameStep,
|
|
135
|
+
Bs as normalizeInstruction,
|
|
136
|
+
Ms as normalizeLlm,
|
|
137
|
+
Ps as number,
|
|
138
|
+
Os as numberWithUnits,
|
|
139
|
+
xs as observeApplication,
|
|
140
|
+
Ls as observeProviders,
|
|
141
|
+
Ns as omit,
|
|
142
|
+
As as pFilter,
|
|
143
|
+
ks as pFind,
|
|
144
|
+
Ds as pGroup,
|
|
145
|
+
Fs as pMap,
|
|
146
|
+
ws as pReduce,
|
|
147
|
+
zs as parallel,
|
|
148
|
+
js as parallelMap,
|
|
149
|
+
Vs as parseLLMList,
|
|
150
|
+
Ws as parseRDFLiteral,
|
|
151
|
+
Ks as parseRelations,
|
|
152
|
+
Us as people,
|
|
153
|
+
_s as phailForge,
|
|
154
|
+
Gs as pick,
|
|
155
|
+
Qs as pipe,
|
|
156
|
+
Ys as popReference,
|
|
157
|
+
qs as promptCache,
|
|
158
|
+
Js as promptPiece,
|
|
159
|
+
Hs as prompts,
|
|
160
|
+
Xs as questions,
|
|
161
|
+
Zs as rangeCombinations,
|
|
162
|
+
$s as reduce,
|
|
163
|
+
ae as reduceEach,
|
|
164
|
+
se as relationInstructions,
|
|
165
|
+
ee as relationSpec,
|
|
166
|
+
te as resolveArgs,
|
|
167
|
+
ce as resolveEmbedding,
|
|
168
|
+
ie as resolveModel,
|
|
169
|
+
re as resolveTexts,
|
|
170
|
+
ne as retry,
|
|
171
|
+
oe as ringBuffer,
|
|
172
|
+
le as scaleInstructions,
|
|
173
|
+
be as scaleItem,
|
|
174
|
+
me as scaleSpec,
|
|
175
|
+
pe as schemaOrg,
|
|
176
|
+
ue as schemas,
|
|
177
|
+
de as scientificFramingPrompt,
|
|
178
|
+
ge as scopePhase,
|
|
179
|
+
he as score,
|
|
180
|
+
Se as scoreChunksByProbes,
|
|
181
|
+
Te as scoreInstructions,
|
|
182
|
+
ve as scoreItem,
|
|
183
|
+
ye as scoreSpec,
|
|
184
|
+
Ee as sentiment,
|
|
185
|
+
Ie as setEmbedEnabled,
|
|
186
|
+
Ce as setInterval,
|
|
187
|
+
Re as shuffle,
|
|
188
|
+
fe as simplifyTree,
|
|
189
|
+
Be as slot,
|
|
190
|
+
Me as socratic,
|
|
191
|
+
Pe as softCoverPrompt,
|
|
192
|
+
Oe as sort,
|
|
193
|
+
xe as sortBy,
|
|
194
|
+
Le as split,
|
|
195
|
+
Ne as stripNumeric,
|
|
196
|
+
Ae as stripResponse,
|
|
197
|
+
ke as suggestTargetingRules,
|
|
198
|
+
De as tagInstructions,
|
|
199
|
+
Fe as tagItem,
|
|
200
|
+
we as tagSpec,
|
|
201
|
+
ze as tagVocabulary,
|
|
202
|
+
je as targetingClause,
|
|
203
|
+
Ve as targetingRule,
|
|
205
204
|
We as targetingRuleOps,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
Ke as targetingRuleSchema,
|
|
206
|
+
Ue as templateBuilder,
|
|
207
|
+
_e as templateReplace,
|
|
208
|
+
Ge as themes,
|
|
209
209
|
Qe as timeline,
|
|
210
210
|
Ye as toBool,
|
|
211
|
-
|
|
211
|
+
qe as toDate,
|
|
212
212
|
Je as toEnum,
|
|
213
213
|
He as toNumber,
|
|
214
214
|
Xe as toNumberWithUnits,
|
|
@@ -218,9 +218,9 @@ export {
|
|
|
218
218
|
st as validateTargetingRules,
|
|
219
219
|
et as valueArbitrate,
|
|
220
220
|
tt as vectorSearch,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
ct as veiledVariantStrategies,
|
|
222
|
+
it as veiledVariants,
|
|
223
|
+
rt as version,
|
|
224
224
|
nt as windowFor,
|
|
225
225
|
ot as withInactivityTimeout,
|
|
226
226
|
lt as withPolicy,
|