@ax-llm/ax 22.0.0 → 22.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 +1 -1
- package/index.cjs +219 -219
- package/index.cjs.map +1 -1
- package/index.d.cts +247 -223
- package/index.d.ts +247 -223
- package/index.global.js +223 -223
- package/index.global.js.map +1 -1
- package/index.js +218 -218
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/ax-agent-memory-skills.md +1 -1
- package/skills/ax-agent-observability.md +1 -1
- package/skills/ax-agent-optimize.md +1 -1
- package/skills/ax-agent-rlm.md +1 -1
- package/skills/ax-agent.md +1 -1
- package/skills/ax-ai.md +1 -1
- package/skills/ax-audio.md +1 -1
- package/skills/ax-flow.md +1 -1
- package/skills/ax-gen.md +16 -10
- package/skills/ax-gepa.md +1 -1
- package/skills/ax-llm.md +3 -2
- package/skills/ax-refine.md +8 -8
- package/skills/ax-signature.md +1 -1
package/index.d.ts
CHANGED
|
@@ -1456,224 +1456,6 @@ interface AxAIMemory {
|
|
|
1456
1456
|
removeByTag(name: string, sessionId?: string): AxMemoryData;
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
|
-
declare class AxMemory implements AxAIMemory {
|
|
1460
|
-
private memories;
|
|
1461
|
-
private defaultMemory;
|
|
1462
|
-
constructor();
|
|
1463
|
-
private getMemory;
|
|
1464
|
-
addRequest(value: AxChatRequest['chatPrompt'], sessionId?: string): void;
|
|
1465
|
-
addResponse(results: Readonly<AxChatResponseResult[]>, sessionId?: string): void;
|
|
1466
|
-
addFunctionResults(results: Readonly<AxFunctionResult[]>, sessionId?: string): void;
|
|
1467
|
-
updateResult(result: Readonly<AxChatResponseResult & {
|
|
1468
|
-
delta?: string;
|
|
1469
|
-
}>, sessionId?: string): void;
|
|
1470
|
-
addTag(name: string, sessionId?: string): void;
|
|
1471
|
-
rewindToTag(name: string, sessionId?: string): AxMemoryData;
|
|
1472
|
-
removeByTag(name: string, sessionId?: string): AxMemoryData;
|
|
1473
|
-
history(index: number, sessionId?: string): ({
|
|
1474
|
-
role: "system";
|
|
1475
|
-
content: string;
|
|
1476
|
-
cache?: boolean;
|
|
1477
|
-
} | {
|
|
1478
|
-
role: "user";
|
|
1479
|
-
name?: string;
|
|
1480
|
-
content: string | ({
|
|
1481
|
-
type: "text";
|
|
1482
|
-
text: string;
|
|
1483
|
-
cache?: boolean;
|
|
1484
|
-
} | {
|
|
1485
|
-
type: "image";
|
|
1486
|
-
mimeType: string;
|
|
1487
|
-
image: string;
|
|
1488
|
-
details?: "high" | "low" | "auto";
|
|
1489
|
-
cache?: boolean;
|
|
1490
|
-
optimize?: "quality" | "size" | "auto";
|
|
1491
|
-
altText?: string;
|
|
1492
|
-
} | {
|
|
1493
|
-
type: "audio";
|
|
1494
|
-
data: string;
|
|
1495
|
-
format?: AxAudioFormat;
|
|
1496
|
-
mimeType?: string;
|
|
1497
|
-
sampleRate?: number;
|
|
1498
|
-
channels?: number;
|
|
1499
|
-
cache?: boolean;
|
|
1500
|
-
transcription?: string;
|
|
1501
|
-
duration?: number;
|
|
1502
|
-
} | {
|
|
1503
|
-
type: "file";
|
|
1504
|
-
data: string;
|
|
1505
|
-
filename?: string;
|
|
1506
|
-
mimeType: string;
|
|
1507
|
-
cache?: boolean;
|
|
1508
|
-
extractedText?: string;
|
|
1509
|
-
} | {
|
|
1510
|
-
type: "file";
|
|
1511
|
-
fileUri: string;
|
|
1512
|
-
filename?: string;
|
|
1513
|
-
mimeType: string;
|
|
1514
|
-
cache?: boolean;
|
|
1515
|
-
extractedText?: string;
|
|
1516
|
-
} | {
|
|
1517
|
-
type: "url";
|
|
1518
|
-
url: string;
|
|
1519
|
-
cache?: boolean;
|
|
1520
|
-
cachedContent?: string;
|
|
1521
|
-
title?: string;
|
|
1522
|
-
description?: string;
|
|
1523
|
-
})[];
|
|
1524
|
-
cache?: boolean;
|
|
1525
|
-
} | {
|
|
1526
|
-
role: "assistant";
|
|
1527
|
-
content?: string;
|
|
1528
|
-
name?: string;
|
|
1529
|
-
functionCalls?: {
|
|
1530
|
-
id: string;
|
|
1531
|
-
type: "function";
|
|
1532
|
-
function: {
|
|
1533
|
-
name: string;
|
|
1534
|
-
params?: string | object;
|
|
1535
|
-
};
|
|
1536
|
-
}[];
|
|
1537
|
-
thought?: string;
|
|
1538
|
-
thoughtBlocks?: AxThoughtBlockItem[];
|
|
1539
|
-
audio?: {
|
|
1540
|
-
id: string;
|
|
1541
|
-
transcript?: string;
|
|
1542
|
-
};
|
|
1543
|
-
cache?: boolean;
|
|
1544
|
-
} | {
|
|
1545
|
-
role: "function";
|
|
1546
|
-
result: string;
|
|
1547
|
-
isError?: boolean;
|
|
1548
|
-
functionId: string;
|
|
1549
|
-
cache?: boolean;
|
|
1550
|
-
})[];
|
|
1551
|
-
getLast(sessionId?: string): {
|
|
1552
|
-
tags?: string[];
|
|
1553
|
-
role: AxChatRequest["chatPrompt"][number]["role"];
|
|
1554
|
-
updatable?: boolean;
|
|
1555
|
-
chat: {
|
|
1556
|
-
index: number;
|
|
1557
|
-
value: AxMemoryMessageValue;
|
|
1558
|
-
}[];
|
|
1559
|
-
} | undefined;
|
|
1560
|
-
reset(sessionId?: string): void;
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
/**
|
|
1564
|
-
* Internal implementation of AxStepContext.
|
|
1565
|
-
* Uses a pending mutations pattern: mutations are collected during a step
|
|
1566
|
-
* and consumed/applied at the next step boundary.
|
|
1567
|
-
*/
|
|
1568
|
-
declare class AxStepContextImpl implements AxStepContext {
|
|
1569
|
-
private _stepIndex;
|
|
1570
|
-
readonly maxSteps: number;
|
|
1571
|
-
private _functionsExecuted;
|
|
1572
|
-
private _lastFunctionCalls;
|
|
1573
|
-
private _usage;
|
|
1574
|
-
readonly state: Map<string, unknown>;
|
|
1575
|
-
private _pendingOptions;
|
|
1576
|
-
private _functionsToAdd;
|
|
1577
|
-
private _functionsToRemove;
|
|
1578
|
-
private _stopRequested;
|
|
1579
|
-
private _stopResultValues?;
|
|
1580
|
-
constructor(maxSteps: number);
|
|
1581
|
-
get stepIndex(): number;
|
|
1582
|
-
get isFirstStep(): boolean;
|
|
1583
|
-
get functionsExecuted(): ReadonlySet<string>;
|
|
1584
|
-
get lastFunctionCalls(): readonly AxFunctionCallRecord[];
|
|
1585
|
-
get usage(): Readonly<AxStepUsage>;
|
|
1586
|
-
setModel(model: string): void;
|
|
1587
|
-
setThinkingBudget(budget: AxAIServiceOptions['thinkingTokenBudget']): void;
|
|
1588
|
-
setTemperature(temperature: number): void;
|
|
1589
|
-
setMaxTokens(maxTokens: number): void;
|
|
1590
|
-
setOptions(options: Partial<AxAIServiceOptions & {
|
|
1591
|
-
modelConfig?: Partial<AxModelConfig>;
|
|
1592
|
-
}>): void;
|
|
1593
|
-
addFunctions(functions: AxInputFunctionType): void;
|
|
1594
|
-
removeFunctions(...names: string[]): void;
|
|
1595
|
-
stop(resultValues?: Record<string, unknown>): void;
|
|
1596
|
-
/** Reset per-step state at the beginning of a new step. */
|
|
1597
|
-
_beginStep(stepIndex: number): void;
|
|
1598
|
-
/** Record a function call that was executed during this step. */
|
|
1599
|
-
_recordFunctionCall(name: string, args: unknown, result: unknown): void;
|
|
1600
|
-
/** Accumulate token usage from a completed step. */
|
|
1601
|
-
_addUsage(promptTokens: number, completionTokens: number, totalTokens: number): void;
|
|
1602
|
-
/** Consume and clear pending options. Returns undefined if no pending options. */
|
|
1603
|
-
_consumePendingOptions(): Partial<AxAIServiceOptions & {
|
|
1604
|
-
modelConfig?: Partial<AxModelConfig>;
|
|
1605
|
-
model?: string;
|
|
1606
|
-
}> | undefined;
|
|
1607
|
-
/** Consume and clear pending functions to add. */
|
|
1608
|
-
_consumeFunctionsToAdd(): AxInputFunctionType | undefined;
|
|
1609
|
-
/** Consume and clear pending function names to remove. */
|
|
1610
|
-
_consumeFunctionsToRemove(): string[] | undefined;
|
|
1611
|
-
/** Check if stop was requested. */
|
|
1612
|
-
get _isStopRequested(): boolean;
|
|
1613
|
-
/** Get stop result values if any. */
|
|
1614
|
-
get _stopValues(): Record<string, unknown> | undefined;
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
declare class AxStopFunctionCallException extends Error {
|
|
1618
|
-
readonly calls: ReadonlyArray<{
|
|
1619
|
-
func: Readonly<AxFunction>;
|
|
1620
|
-
args: unknown;
|
|
1621
|
-
result: unknown;
|
|
1622
|
-
}>;
|
|
1623
|
-
constructor(calls: ReadonlyArray<{
|
|
1624
|
-
func: Readonly<AxFunction>;
|
|
1625
|
-
args: unknown;
|
|
1626
|
-
result: unknown;
|
|
1627
|
-
}>);
|
|
1628
|
-
}
|
|
1629
|
-
declare class AxFunctionError extends Error {
|
|
1630
|
-
private fields;
|
|
1631
|
-
constructor(fields: {
|
|
1632
|
-
field: string;
|
|
1633
|
-
message: string;
|
|
1634
|
-
}[]);
|
|
1635
|
-
getFields: () => {
|
|
1636
|
-
field: string;
|
|
1637
|
-
message: string;
|
|
1638
|
-
}[];
|
|
1639
|
-
toString(): string;
|
|
1640
|
-
}
|
|
1641
|
-
type AxChatResponseFunctionCall = {
|
|
1642
|
-
id: string;
|
|
1643
|
-
name: string;
|
|
1644
|
-
args: string;
|
|
1645
|
-
};
|
|
1646
|
-
declare class AxFunctionProcessor {
|
|
1647
|
-
private funcList;
|
|
1648
|
-
constructor(funcList: Readonly<AxFunction[]>);
|
|
1649
|
-
private executeFunction;
|
|
1650
|
-
executeWithDetails: <MODEL>(func: Readonly<AxChatResponseFunctionCall>, options?: Readonly<AxProgramForwardOptions<MODEL> & {
|
|
1651
|
-
traceId?: string;
|
|
1652
|
-
stopFunctionNames?: readonly string[];
|
|
1653
|
-
step?: AxStepContextImpl;
|
|
1654
|
-
}>) => Promise<{
|
|
1655
|
-
formatted: string;
|
|
1656
|
-
rawResult: unknown;
|
|
1657
|
-
parsedArgs: unknown;
|
|
1658
|
-
}>;
|
|
1659
|
-
execute: <MODEL>(func: Readonly<AxChatResponseFunctionCall>, options?: Readonly<AxProgramForwardOptions<MODEL> & {
|
|
1660
|
-
traceId?: string;
|
|
1661
|
-
stopFunctionNames?: readonly string[];
|
|
1662
|
-
step?: AxStepContextImpl;
|
|
1663
|
-
}>) => Promise<string>;
|
|
1664
|
-
}
|
|
1665
|
-
type AxInputFunctionType = (AxFunction | {
|
|
1666
|
-
toFunction: () => AxFunction | AxFunction[];
|
|
1667
|
-
})[];
|
|
1668
|
-
|
|
1669
|
-
type AxPromptMetrics = {
|
|
1670
|
-
systemPromptCharacters: number;
|
|
1671
|
-
exampleChatContextCharacters: number;
|
|
1672
|
-
mutableChatContextCharacters: number;
|
|
1673
|
-
chatContextCharacters: number;
|
|
1674
|
-
totalPromptCharacters: number;
|
|
1675
|
-
};
|
|
1676
|
-
|
|
1677
1459
|
/** The Standard Schema v1 interface. Structurally compatible with `@standard-schema/spec`. */
|
|
1678
1460
|
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
1679
1461
|
readonly '~standard': StandardSchemaV1.Props<Input, Output>;
|
|
@@ -2542,17 +2324,255 @@ declare class AxSignature<_TInput extends Record<string, any> = Record<string, a
|
|
|
2542
2324
|
toInputJSONSchema: () => AxFunctionJSONSchema;
|
|
2543
2325
|
}
|
|
2544
2326
|
|
|
2545
|
-
interface
|
|
2327
|
+
interface AxAssertion<T = Record<string, unknown>> {
|
|
2328
|
+
fn(values: T): Promise<boolean | string | undefined> | boolean | string | undefined;
|
|
2329
|
+
message?: string;
|
|
2330
|
+
}
|
|
2331
|
+
interface AxStreamingAssertion {
|
|
2546
2332
|
fieldName: string;
|
|
2547
2333
|
fn(content: string, done?: boolean): Promise<boolean | string | undefined> | boolean | string | undefined;
|
|
2548
2334
|
message?: string;
|
|
2549
2335
|
}
|
|
2550
|
-
declare class
|
|
2336
|
+
declare class AxAssertionError extends Error {
|
|
2551
2337
|
constructor({ message, }: Readonly<{
|
|
2552
2338
|
message: string;
|
|
2553
2339
|
}>);
|
|
2340
|
+
getFixingInstructions: () => {
|
|
2341
|
+
name: string;
|
|
2342
|
+
title: string;
|
|
2343
|
+
description: string;
|
|
2344
|
+
}[];
|
|
2554
2345
|
toString(): string;
|
|
2555
2346
|
}
|
|
2347
|
+
declare class AxStreamingAssertionError extends Error {
|
|
2348
|
+
constructor({ message, }: Readonly<{
|
|
2349
|
+
message: string;
|
|
2350
|
+
}>);
|
|
2351
|
+
getFixingInstructions: () => {
|
|
2352
|
+
name: string;
|
|
2353
|
+
title: string;
|
|
2354
|
+
description: string;
|
|
2355
|
+
}[];
|
|
2356
|
+
toString(): string;
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
declare class AxMemory implements AxAIMemory {
|
|
2360
|
+
private memories;
|
|
2361
|
+
private defaultMemory;
|
|
2362
|
+
constructor();
|
|
2363
|
+
private getMemory;
|
|
2364
|
+
addRequest(value: AxChatRequest['chatPrompt'], sessionId?: string): void;
|
|
2365
|
+
addResponse(results: Readonly<AxChatResponseResult[]>, sessionId?: string): void;
|
|
2366
|
+
addFunctionResults(results: Readonly<AxFunctionResult[]>, sessionId?: string): void;
|
|
2367
|
+
updateResult(result: Readonly<AxChatResponseResult & {
|
|
2368
|
+
delta?: string;
|
|
2369
|
+
}>, sessionId?: string): void;
|
|
2370
|
+
addTag(name: string, sessionId?: string): void;
|
|
2371
|
+
rewindToTag(name: string, sessionId?: string): AxMemoryData;
|
|
2372
|
+
removeByTag(name: string, sessionId?: string): AxMemoryData;
|
|
2373
|
+
history(index: number, sessionId?: string): ({
|
|
2374
|
+
role: "system";
|
|
2375
|
+
content: string;
|
|
2376
|
+
cache?: boolean;
|
|
2377
|
+
} | {
|
|
2378
|
+
role: "user";
|
|
2379
|
+
name?: string;
|
|
2380
|
+
content: string | ({
|
|
2381
|
+
type: "text";
|
|
2382
|
+
text: string;
|
|
2383
|
+
cache?: boolean;
|
|
2384
|
+
} | {
|
|
2385
|
+
type: "image";
|
|
2386
|
+
mimeType: string;
|
|
2387
|
+
image: string;
|
|
2388
|
+
details?: "high" | "low" | "auto";
|
|
2389
|
+
cache?: boolean;
|
|
2390
|
+
optimize?: "quality" | "size" | "auto";
|
|
2391
|
+
altText?: string;
|
|
2392
|
+
} | {
|
|
2393
|
+
type: "audio";
|
|
2394
|
+
data: string;
|
|
2395
|
+
format?: AxAudioFormat;
|
|
2396
|
+
mimeType?: string;
|
|
2397
|
+
sampleRate?: number;
|
|
2398
|
+
channels?: number;
|
|
2399
|
+
cache?: boolean;
|
|
2400
|
+
transcription?: string;
|
|
2401
|
+
duration?: number;
|
|
2402
|
+
} | {
|
|
2403
|
+
type: "file";
|
|
2404
|
+
data: string;
|
|
2405
|
+
filename?: string;
|
|
2406
|
+
mimeType: string;
|
|
2407
|
+
cache?: boolean;
|
|
2408
|
+
extractedText?: string;
|
|
2409
|
+
} | {
|
|
2410
|
+
type: "file";
|
|
2411
|
+
fileUri: string;
|
|
2412
|
+
filename?: string;
|
|
2413
|
+
mimeType: string;
|
|
2414
|
+
cache?: boolean;
|
|
2415
|
+
extractedText?: string;
|
|
2416
|
+
} | {
|
|
2417
|
+
type: "url";
|
|
2418
|
+
url: string;
|
|
2419
|
+
cache?: boolean;
|
|
2420
|
+
cachedContent?: string;
|
|
2421
|
+
title?: string;
|
|
2422
|
+
description?: string;
|
|
2423
|
+
})[];
|
|
2424
|
+
cache?: boolean;
|
|
2425
|
+
} | {
|
|
2426
|
+
role: "assistant";
|
|
2427
|
+
content?: string;
|
|
2428
|
+
name?: string;
|
|
2429
|
+
functionCalls?: {
|
|
2430
|
+
id: string;
|
|
2431
|
+
type: "function";
|
|
2432
|
+
function: {
|
|
2433
|
+
name: string;
|
|
2434
|
+
params?: string | object;
|
|
2435
|
+
};
|
|
2436
|
+
}[];
|
|
2437
|
+
thought?: string;
|
|
2438
|
+
thoughtBlocks?: AxThoughtBlockItem[];
|
|
2439
|
+
audio?: {
|
|
2440
|
+
id: string;
|
|
2441
|
+
transcript?: string;
|
|
2442
|
+
};
|
|
2443
|
+
cache?: boolean;
|
|
2444
|
+
} | {
|
|
2445
|
+
role: "function";
|
|
2446
|
+
result: string;
|
|
2447
|
+
isError?: boolean;
|
|
2448
|
+
functionId: string;
|
|
2449
|
+
cache?: boolean;
|
|
2450
|
+
})[];
|
|
2451
|
+
getLast(sessionId?: string): {
|
|
2452
|
+
tags?: string[];
|
|
2453
|
+
role: AxChatRequest["chatPrompt"][number]["role"];
|
|
2454
|
+
updatable?: boolean;
|
|
2455
|
+
chat: {
|
|
2456
|
+
index: number;
|
|
2457
|
+
value: AxMemoryMessageValue;
|
|
2458
|
+
}[];
|
|
2459
|
+
} | undefined;
|
|
2460
|
+
reset(sessionId?: string): void;
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
/**
|
|
2464
|
+
* Internal implementation of AxStepContext.
|
|
2465
|
+
* Uses a pending mutations pattern: mutations are collected during a step
|
|
2466
|
+
* and consumed/applied at the next step boundary.
|
|
2467
|
+
*/
|
|
2468
|
+
declare class AxStepContextImpl implements AxStepContext {
|
|
2469
|
+
private _stepIndex;
|
|
2470
|
+
readonly maxSteps: number;
|
|
2471
|
+
private _functionsExecuted;
|
|
2472
|
+
private _lastFunctionCalls;
|
|
2473
|
+
private _usage;
|
|
2474
|
+
readonly state: Map<string, unknown>;
|
|
2475
|
+
private _pendingOptions;
|
|
2476
|
+
private _functionsToAdd;
|
|
2477
|
+
private _functionsToRemove;
|
|
2478
|
+
private _stopRequested;
|
|
2479
|
+
private _stopResultValues?;
|
|
2480
|
+
constructor(maxSteps: number);
|
|
2481
|
+
get stepIndex(): number;
|
|
2482
|
+
get isFirstStep(): boolean;
|
|
2483
|
+
get functionsExecuted(): ReadonlySet<string>;
|
|
2484
|
+
get lastFunctionCalls(): readonly AxFunctionCallRecord[];
|
|
2485
|
+
get usage(): Readonly<AxStepUsage>;
|
|
2486
|
+
setModel(model: string): void;
|
|
2487
|
+
setThinkingBudget(budget: AxAIServiceOptions['thinkingTokenBudget']): void;
|
|
2488
|
+
setTemperature(temperature: number): void;
|
|
2489
|
+
setMaxTokens(maxTokens: number): void;
|
|
2490
|
+
setOptions(options: Partial<AxAIServiceOptions & {
|
|
2491
|
+
modelConfig?: Partial<AxModelConfig>;
|
|
2492
|
+
}>): void;
|
|
2493
|
+
addFunctions(functions: AxInputFunctionType): void;
|
|
2494
|
+
removeFunctions(...names: string[]): void;
|
|
2495
|
+
stop(resultValues?: Record<string, unknown>): void;
|
|
2496
|
+
/** Reset per-step state at the beginning of a new step. */
|
|
2497
|
+
_beginStep(stepIndex: number): void;
|
|
2498
|
+
/** Record a function call that was executed during this step. */
|
|
2499
|
+
_recordFunctionCall(name: string, args: unknown, result: unknown): void;
|
|
2500
|
+
/** Accumulate token usage from a completed step. */
|
|
2501
|
+
_addUsage(promptTokens: number, completionTokens: number, totalTokens: number): void;
|
|
2502
|
+
/** Consume and clear pending options. Returns undefined if no pending options. */
|
|
2503
|
+
_consumePendingOptions(): Partial<AxAIServiceOptions & {
|
|
2504
|
+
modelConfig?: Partial<AxModelConfig>;
|
|
2505
|
+
model?: string;
|
|
2506
|
+
}> | undefined;
|
|
2507
|
+
/** Consume and clear pending functions to add. */
|
|
2508
|
+
_consumeFunctionsToAdd(): AxInputFunctionType | undefined;
|
|
2509
|
+
/** Consume and clear pending function names to remove. */
|
|
2510
|
+
_consumeFunctionsToRemove(): string[] | undefined;
|
|
2511
|
+
/** Check if stop was requested. */
|
|
2512
|
+
get _isStopRequested(): boolean;
|
|
2513
|
+
/** Get stop result values if any. */
|
|
2514
|
+
get _stopValues(): Record<string, unknown> | undefined;
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2517
|
+
declare class AxStopFunctionCallException extends Error {
|
|
2518
|
+
readonly calls: ReadonlyArray<{
|
|
2519
|
+
func: Readonly<AxFunction>;
|
|
2520
|
+
args: unknown;
|
|
2521
|
+
result: unknown;
|
|
2522
|
+
}>;
|
|
2523
|
+
constructor(calls: ReadonlyArray<{
|
|
2524
|
+
func: Readonly<AxFunction>;
|
|
2525
|
+
args: unknown;
|
|
2526
|
+
result: unknown;
|
|
2527
|
+
}>);
|
|
2528
|
+
}
|
|
2529
|
+
declare class AxFunctionError extends Error {
|
|
2530
|
+
private fields;
|
|
2531
|
+
constructor(fields: {
|
|
2532
|
+
field: string;
|
|
2533
|
+
message: string;
|
|
2534
|
+
}[]);
|
|
2535
|
+
getFields: () => {
|
|
2536
|
+
field: string;
|
|
2537
|
+
message: string;
|
|
2538
|
+
}[];
|
|
2539
|
+
toString(): string;
|
|
2540
|
+
}
|
|
2541
|
+
type AxChatResponseFunctionCall = {
|
|
2542
|
+
id: string;
|
|
2543
|
+
name: string;
|
|
2544
|
+
args: string;
|
|
2545
|
+
};
|
|
2546
|
+
declare class AxFunctionProcessor {
|
|
2547
|
+
private funcList;
|
|
2548
|
+
constructor(funcList: Readonly<AxFunction[]>);
|
|
2549
|
+
private executeFunction;
|
|
2550
|
+
executeWithDetails: <MODEL>(func: Readonly<AxChatResponseFunctionCall>, options?: Readonly<AxProgramForwardOptions<MODEL> & {
|
|
2551
|
+
traceId?: string;
|
|
2552
|
+
stopFunctionNames?: readonly string[];
|
|
2553
|
+
step?: AxStepContextImpl;
|
|
2554
|
+
}>) => Promise<{
|
|
2555
|
+
formatted: string;
|
|
2556
|
+
rawResult: unknown;
|
|
2557
|
+
parsedArgs: unknown;
|
|
2558
|
+
}>;
|
|
2559
|
+
execute: <MODEL>(func: Readonly<AxChatResponseFunctionCall>, options?: Readonly<AxProgramForwardOptions<MODEL> & {
|
|
2560
|
+
traceId?: string;
|
|
2561
|
+
stopFunctionNames?: readonly string[];
|
|
2562
|
+
step?: AxStepContextImpl;
|
|
2563
|
+
}>) => Promise<string>;
|
|
2564
|
+
}
|
|
2565
|
+
type AxInputFunctionType = (AxFunction | {
|
|
2566
|
+
toFunction: () => AxFunction | AxFunction[];
|
|
2567
|
+
})[];
|
|
2568
|
+
|
|
2569
|
+
type AxPromptMetrics = {
|
|
2570
|
+
systemPromptCharacters: number;
|
|
2571
|
+
exampleChatContextCharacters: number;
|
|
2572
|
+
mutableChatContextCharacters: number;
|
|
2573
|
+
chatContextCharacters: number;
|
|
2574
|
+
totalPromptCharacters: number;
|
|
2575
|
+
};
|
|
2556
2576
|
|
|
2557
2577
|
/**
|
|
2558
2578
|
* Generic component-optimization surface that any AxProgrammable can implement.
|
|
@@ -3547,7 +3567,8 @@ interface AxStreamingEvent<T> {
|
|
|
3547
3567
|
declare class AxGen<IN = any, OUT extends AxGenOut = any> extends AxProgram<IN, OUT> implements AxProgrammable<IN, OUT> {
|
|
3548
3568
|
clone: () => AxGen<IN, OUT>;
|
|
3549
3569
|
private promptTemplate;
|
|
3550
|
-
private
|
|
3570
|
+
private asserts;
|
|
3571
|
+
private streamingAsserts;
|
|
3551
3572
|
private options?;
|
|
3552
3573
|
private functions;
|
|
3553
3574
|
private functionComponentIds;
|
|
@@ -3584,7 +3605,8 @@ declare class AxGen<IN = any, OUT extends AxGenOut = any> extends AxProgram<IN,
|
|
|
3584
3605
|
private getMergedCustomLabels;
|
|
3585
3606
|
updateMeter(meter?: Meter): void;
|
|
3586
3607
|
private createStates;
|
|
3587
|
-
|
|
3608
|
+
addAssert(fn: AxAssertion<OUT>['fn'], message?: string): void;
|
|
3609
|
+
addStreamingAssert(fieldName: keyof OUT, fn: AxStreamingAssertion['fn'], message?: string): void;
|
|
3588
3610
|
private addFieldProcessorInternal;
|
|
3589
3611
|
addStreamingFieldProcessor<K extends keyof OUT>(fieldName: K, fn: (value: string, context?: {
|
|
3590
3612
|
values?: OUT;
|
|
@@ -4248,6 +4270,8 @@ type AxProgramForwardOptions<MODEL> = AxAIServiceOptions & {
|
|
|
4248
4270
|
functionResultFormatter?: (result: unknown) => string;
|
|
4249
4271
|
onFunctionCall?: (call: Readonly<AxFunctionCallTrace>) => void | Promise<void>;
|
|
4250
4272
|
fastFail?: boolean;
|
|
4273
|
+
asserts?: AxAssertion<any>[];
|
|
4274
|
+
streamingAsserts?: AxStreamingAssertion[];
|
|
4251
4275
|
showThoughts?: boolean;
|
|
4252
4276
|
functionCallMode?: 'auto' | 'native' | 'prompt';
|
|
4253
4277
|
structuredOutputMode?: 'auto' | 'native' | 'function';
|
|
@@ -10891,4 +10915,4 @@ declare class AxRateLimiterTokenUsage {
|
|
|
10891
10915
|
acquire(tokens: number): Promise<void>;
|
|
10892
10916
|
}
|
|
10893
10917
|
|
|
10894
|
-
export { AxAI, AxAIAnthropic, type AxAIAnthropicArgs, type AxAIAnthropicChatError, type AxAIAnthropicChatRequest, type AxAIAnthropicChatRequestCacheParam, type AxAIAnthropicChatResponse, type AxAIAnthropicChatResponseDelta, type AxAIAnthropicConfig, type AxAIAnthropicContentBlockDeltaEvent, type AxAIAnthropicContentBlockStartEvent, type AxAIAnthropicContentBlockStopEvent, type AxAIAnthropicEffortLevel, type AxAIAnthropicEffortLevelMapping, type AxAIAnthropicErrorEvent, type AxAIAnthropicFunctionTool, type AxAIAnthropicMessageDeltaEvent, type AxAIAnthropicMessageStartEvent, type AxAIAnthropicMessageStopEvent, AxAIAnthropicModel, type AxAIAnthropicOutputConfig, type AxAIAnthropicPingEvent, type AxAIAnthropicRequestTool, type AxAIAnthropicStopDetails, type AxAIAnthropicTaskBudget, type AxAIAnthropicThinkingConfig, type AxAIAnthropicThinkingTokenBudgetLevels, type AxAIAnthropicThinkingWire, AxAIAnthropicVertexModel, type AxAIAnthropicWebSearchTool, type AxAIArgs, AxAIAzureOpenAI, type AxAIAzureOpenAIArgs, type AxAIAzureOpenAIConfig, AxAICohere, type AxAICohereArgs, type AxAICohereChatRequest, type AxAICohereChatRequestToolResults, type AxAICohereChatResponse, type AxAICohereChatResponseDelta, type AxAICohereChatResponseToolCalls, type AxAICohereConfig, AxAICohereEmbedModel, type AxAICohereEmbedRequest, type AxAICohereEmbedResponse, AxAICohereModel, AxAIDeepSeek, type AxAIDeepSeekArgs, AxAIDeepSeekModel, type AxAIEmbedModels, type AxAIFeatures, AxAIGoogleGemini, type AxAIGoogleGeminiArgs, type AxAIGoogleGeminiBatchEmbedRequest, type AxAIGoogleGeminiBatchEmbedResponse, type AxAIGoogleGeminiCacheCreateRequest, type AxAIGoogleGeminiCacheResponse, type AxAIGoogleGeminiCacheUpdateRequest, type AxAIGoogleGeminiChatRequest, type AxAIGoogleGeminiChatResponse, type AxAIGoogleGeminiChatResponseDelta, type AxAIGoogleGeminiConfig, type AxAIGoogleGeminiContent, type AxAIGoogleGeminiContentPart, AxAIGoogleGeminiEmbedModel, AxAIGoogleGeminiEmbedTypes, type AxAIGoogleGeminiGenerationConfig, AxAIGoogleGeminiModel, type AxAIGoogleGeminiOptionsTools, type AxAIGoogleGeminiRetrievalConfig, AxAIGoogleGeminiSafetyCategory, type AxAIGoogleGeminiSafetySettings, AxAIGoogleGeminiSafetyThreshold, type AxAIGoogleGeminiThinkingConfig, type AxAIGoogleGeminiThinkingLevel, type AxAIGoogleGeminiThinkingLevelMapping, type AxAIGoogleGeminiThinkingTokenBudgetLevels, type AxAIGoogleGeminiTool, type AxAIGoogleGeminiToolConfig, type AxAIGoogleGeminiToolFunctionDeclaration, type AxAIGoogleGeminiToolGoogleMaps, type AxAIGoogleGeminiToolGoogleSearchRetrieval, type AxAIGoogleVertexBatchEmbedRequest, type AxAIGoogleVertexBatchEmbedResponse, AxAIGrok, type AxAIGrokArgs, type AxAIGrokChatRequest, AxAIGrokEmbedModels, AxAIGrokModel, type AxAIGrokOptionsTools, type AxAIGrokSearchSource, AxAIHuggingFace, type AxAIHuggingFaceArgs, type AxAIHuggingFaceConfig, AxAIHuggingFaceModel, type AxAIHuggingFaceRequest, type AxAIHuggingFaceResponse, type AxAIInputModelList, type AxAIMemory, type AxAIMetricsInstruments, AxAIMistral, type AxAIMistralArgs, type AxAIMistralChatRequest, AxAIMistralEmbedModels, AxAIMistralModel, type AxAIModelCatalogAudioSupport, type AxAIModelCatalogFilter, type AxAIModelCatalogModel, type AxAIModelCatalogModelCapabilities, type AxAIModelCatalogModelType, type AxAIModelCatalogOptions, type AxAIModelCatalogProvider, type AxAIModelCatalogProviderName, type AxAIModelList, type AxAIModelListBase, type AxAIModels, AxAIOpenAI, type AxAIOpenAIAnnotation, type AxAIOpenAIArgs, AxAIOpenAIBase, type AxAIOpenAIBaseArgs, type AxAIOpenAIChatRequest, type AxAIOpenAIChatResponse, type AxAIOpenAIChatResponseDelta, type AxAIOpenAIConfig, AxAIOpenAIEmbedModel, type AxAIOpenAIEmbedRequest, type AxAIOpenAIEmbedResponse, type AxAIOpenAILogprob, AxAIOpenAIModel, type AxAIOpenAIResponseDelta, AxAIOpenAIResponses, type AxAIOpenAIResponsesArgs, AxAIOpenAIResponsesBase, type AxAIOpenAIResponsesCodeInterpreterToolCall, type AxAIOpenAIResponsesComputerToolCall, type AxAIOpenAIResponsesConfig, type AxAIOpenAIResponsesContentPartAddedEvent, type AxAIOpenAIResponsesContentPartDoneEvent, type AxAIOpenAIResponsesDefineFunctionTool, type AxAIOpenAIResponsesErrorEvent, type AxAIOpenAIResponsesFileSearchCallCompletedEvent, type AxAIOpenAIResponsesFileSearchCallInProgressEvent, type AxAIOpenAIResponsesFileSearchCallSearchingEvent, type AxAIOpenAIResponsesFileSearchToolCall, type AxAIOpenAIResponsesFunctionCallArgumentsDeltaEvent, type AxAIOpenAIResponsesFunctionCallArgumentsDoneEvent, type AxAIOpenAIResponsesFunctionCallItem, type AxAIOpenAIResponsesImageGenerationCallCompletedEvent, type AxAIOpenAIResponsesImageGenerationCallGeneratingEvent, type AxAIOpenAIResponsesImageGenerationCallInProgressEvent, type AxAIOpenAIResponsesImageGenerationCallPartialImageEvent, type AxAIOpenAIResponsesImageGenerationToolCall, type AxAIOpenAIResponsesInputAudioContentPart, type AxAIOpenAIResponsesInputContentPart, type AxAIOpenAIResponsesInputFunctionCallItem, type AxAIOpenAIResponsesInputFunctionCallOutputItem, type AxAIOpenAIResponsesInputImageUrlContentPart, type AxAIOpenAIResponsesInputItem, type AxAIOpenAIResponsesInputMessageItem, type AxAIOpenAIResponsesInputTextContentPart, type AxAIOpenAIResponsesLocalShellToolCall, type AxAIOpenAIResponsesMCPCallArgumentsDeltaEvent, type AxAIOpenAIResponsesMCPCallArgumentsDoneEvent, type AxAIOpenAIResponsesMCPCallCompletedEvent, type AxAIOpenAIResponsesMCPCallFailedEvent, type AxAIOpenAIResponsesMCPCallInProgressEvent, type AxAIOpenAIResponsesMCPListToolsCompletedEvent, type AxAIOpenAIResponsesMCPListToolsFailedEvent, type AxAIOpenAIResponsesMCPListToolsInProgressEvent, type AxAIOpenAIResponsesMCPToolCall, AxAIOpenAIResponsesModel, type AxAIOpenAIResponsesOutputItem, type AxAIOpenAIResponsesOutputItemAddedEvent, type AxAIOpenAIResponsesOutputItemDoneEvent, type AxAIOpenAIResponsesOutputMessageItem, type AxAIOpenAIResponsesOutputRefusalContentPart, type AxAIOpenAIResponsesOutputTextAnnotationAddedEvent, type AxAIOpenAIResponsesOutputTextContentPart, type AxAIOpenAIResponsesOutputTextDeltaEvent, type AxAIOpenAIResponsesOutputTextDoneEvent, type AxAIOpenAIResponsesReasoningDeltaEvent, type AxAIOpenAIResponsesReasoningDoneEvent, type AxAIOpenAIResponsesReasoningItem, type AxAIOpenAIResponsesReasoningSummaryDeltaEvent, type AxAIOpenAIResponsesReasoningSummaryDoneEvent, type AxAIOpenAIResponsesReasoningSummaryPart, type AxAIOpenAIResponsesReasoningSummaryPartAddedEvent, type AxAIOpenAIResponsesReasoningSummaryPartDoneEvent, type AxAIOpenAIResponsesReasoningSummaryTextDeltaEvent, type AxAIOpenAIResponsesReasoningSummaryTextDoneEvent, type AxAIOpenAIResponsesRefusalDeltaEvent, type AxAIOpenAIResponsesRefusalDoneEvent, type AxAIOpenAIResponsesRequest, type AxAIOpenAIResponsesResponse, type AxAIOpenAIResponsesResponseCompletedEvent, type AxAIOpenAIResponsesResponseCreatedEvent, type AxAIOpenAIResponsesResponseFailedEvent, type AxAIOpenAIResponsesResponseInProgressEvent, type AxAIOpenAIResponsesResponseIncompleteEvent, type AxAIOpenAIResponsesResponseQueuedEvent, type AxAIOpenAIResponsesStreamEvent, type AxAIOpenAIResponsesStreamEventBase, type AxAIOpenAIResponsesToolCall, type AxAIOpenAIResponsesToolCallBase, type AxAIOpenAIResponsesToolChoice, type AxAIOpenAIResponsesToolDefinition, type AxAIOpenAIResponsesWebSearchCallCompletedEvent, type AxAIOpenAIResponsesWebSearchCallInProgressEvent, type AxAIOpenAIResponsesWebSearchCallSearchingEvent, type AxAIOpenAIResponsesWebSearchToolCall, type AxAIOpenAIUrlCitation, type AxAIOpenAIUsage, AxAIRefusalError, AxAIReka, type AxAIRekaArgs, type AxAIRekaChatRequest, type AxAIRekaChatResponse, type AxAIRekaChatResponseDelta, type AxAIRekaConfig, AxAIRekaModel, type AxAIRekaUsage, type AxAIService, AxAIServiceAbortedError, type AxAIServiceActionOptions, AxAIServiceAuthenticationError, AxAIServiceError, type AxAIServiceImpl, type AxAIServiceMetrics, type AxAIServiceModelType, AxAIServiceNetworkError, type AxAIServiceOptions, AxAIServiceResponseError, AxAIServiceStatusError, AxAIServiceStreamTerminatedError, AxAIServiceTimeoutError, type AxAPI, type AxAPIConfig, type AxAPIResponseMetadata, AxAgent, type AxAgentActorTurnCallback, type AxAgentActorTurnCallbackArgs, type AxAgentClarification, type AxAgentClarificationChoice, AxAgentClarificationError, type AxAgentClarificationKind, type AxAgentCompletionProtocol, type AxAgentConfig, type AxAgentContextEvent, AxAgentContextMap, type AxAgentContextMapConfig, type AxAgentContextMapOperation, type AxAgentContextMapOptions, type AxAgentContextMapSnapshot, type AxAgentContextMapUpdateResult, type AxAgentContextPressure, type AxAgentContextStage, type AxAgentDemos, type AxAgentDiscoveryPromptState, type AxAgentEvalDataset, type AxAgentEvalFunctionCall, type AxAgentEvalPrediction, type AxAgentEvalTask, type AxAgentExecutorResultPayload, type AxAgentForwardOptions, type AxAgentFunction, type AxAgentFunctionCall, type AxAgentFunctionCallRecorder, type AxAgentFunctionCollection, type AxAgentFunctionExample, type AxAgentFunctionGroup, type AxAgentFunctionModuleMeta, type AxAgentGuidanceLogEntry, type AxAgentGuidancePayload, type AxAgentGuidanceState, type AxAgentIdentity, type AxAgentInputUpdateCallback, type AxAgentJudgeEvalInput, type AxAgentJudgeEvalOutput, type AxAgentJudgeInput, type AxAgentJudgeOptions, type AxAgentJudgeOutput, type AxAgentMemoriesSearchFn, type AxAgentMemoryEntry, type AxAgentMemoryResult, type AxAgentOnContextEvent, type AxAgentOnFunctionCall, type AxAgentOptimizationTargetDescriptor, type AxAgentOptimizeOptions, type AxAgentOptimizeResult, type AxAgentOptimizeTarget, type AxAgentOptions, AxAgentProtocolCompletionSignal, type AxAgentRecursionOptions, type AxAgentRecursiveExpensiveNode, type AxAgentRecursiveFunctionCall, type AxAgentRecursiveNodeRole, type AxAgentRecursiveStats, type AxAgentRecursiveTargetId, type AxAgentRecursiveTraceNode, type AxAgentRecursiveTurn, type AxAgentRecursiveUsage, type AxAgentRuntimeCompletionState, type AxAgentRuntimeExecutionContext, type AxAgentRuntimeInputState, type AxAgentSkillResult, type AxAgentSkillsPromptState, type AxAgentSkillsSearchFn, type AxAgentState, type AxAgentStateActionLogEntry, type AxAgentStateCheckpointState, type AxAgentStateExecutorModelState, type AxAgentStateRuntimeEntry, type AxAgentStreamingForwardOptions, type AxAgentStructuredClarification, type AxAgentTestCompletionPayload, type AxAgentTestResult, type AxAgentUsage, type AxAgentUsedMemoriesCallback, type AxAgentUsedMemory, type AxAgentUsedSkill, type AxAgentUsedSkillsCallback, type AxAgentic, type AxAnyAgentic, type AxAttempt, type AxAudioFormat, type AxAudioInput, AxBalancer, type AxBalancerOptions, AxBaseAI, type AxBaseAIArgs, AxBaseOptimizer, AxBestOfN, type AxBestOfNOptions, AxBootstrapFewShot, type AxBootstrapOptimizerOptions, type AxChatAudioConfig, type AxChatAudioOutput, type AxChatLogEntry, type AxChatLogMessage, type AxChatRequest, type AxChatResponse, type AxChatResponseFunctionCall, type AxChatResponseResult, type AxCheckpointLoadFn, type AxCheckpointSaveFn, type AxCitation, type AxCodeRuntime, type AxCodeSession, type AxCodeSessionSnapshot, type AxCodeSessionSnapshotEntry, type AxCompileOptions, AxContentProcessingError, type AxContentProcessingServices, type AxContextCacheInfo, type AxContextCacheOperation, type AxContextCacheOptions, type AxContextCacheRegistry, type AxContextCacheRegistryEntry, type AxContextFieldInput, type AxContextFieldPromptConfig, type AxContextPolicyBudget, type AxContextPolicyConfig, type AxContextPolicyPreset, type AxCostTracker, type AxCostTrackerOptions, type AxDateRange, type AxDateRangeValue, type AxDebugChatResponseUsage, AxDefaultCostTracker, type AxDiscoveryTurnSummary, type AxDockerContainer, AxDockerSession, type AxEmbedRequest, type AxEmbedResponse, AxEmbeddingAdapter, type AxErrorCategory, AxEvalUtil, type AxEvaluateArgs, type AxExample, type AxExamples, type AxExecutorModelPolicy, type AxExecutorModelPolicyEntry, type AxField, type AxFieldOptions, type AxFieldProcessor, type AxFieldProcessorProcess, type AxFieldTemplateFn, type AxFieldType, type AxFieldValue, AxFlow, type AxFlowBranchEvaluationData, type AxFlowCompleteData, type AxFlowDynamicContext, type AxFlowErrorData, type AxFlowExecutionPlan, type AxFlowExecutionPlanGroup, type AxFlowExecutionPlanStep, type AxFlowForwardOptions, type AxFlowLogData, type AxFlowLoggerData, type AxFlowLoggerFunction, type AxFlowOptions, type AxFlowParallelGroupCompleteData, type AxFlowParallelGroupStartData, type AxFlowStartData, type AxFlowState, type AxFlowStateDependencyAnalysis, type AxFlowStepCompleteData, type AxFlowStepStartData, type AxFlowTypedParallelBranch, type AxFlowTypedSubContext, type AxFlowable, type AxFluentFieldInfo, AxFluentFieldType, type AxForwardable, type AxFunction, type AxFunctionCallRecord, type AxFunctionCallTrace, AxFunctionError, type AxFunctionHandler, type AxFunctionJSONSchema, AxFunctionProcessor, type AxFunctionProvider, type AxFunctionResult, type AxFunctionResultFormatter, AxGEPA, type AxGEPAAdapter, type AxGEPABatchEvaluation, type AxGEPABatchRow, type AxGEPABootstrapOptions, type AxGEPAComponentBanditState, AxGEPAComponentSelector, type AxGEPAComponentTarget, type AxGEPAEvaluationBatch, type AxGEPAEvaluationState, type AxGEPAOptimizationReport, type AxGEPAReflectiveTuple, type AxGEPATraceSummary, type AxGEPATraceSummaryCall, AxGen, type AxGenDeltaOut, type AxGenIn, type AxGenInput, type AxGenMetricsInstruments, type AxGenOut, type AxGenOutput, type AxGenStreamingOut, AxGenerateError, type AxGenerateErrorDetails, type AxGenerateResult, type AxIField, type AxInputFunctionType, AxJSRuntime, type AxJSRuntimeNodePermissionAllowlist, type AxJSRuntimeOutputMode, AxJSRuntimePermission, type AxJSRuntimeResourceLimits, type AxJudgeForwardOptions, type AxJudgeOptions, type AxLlmQueryBudgetState, type AxLlmQueryPromptMode, type AxLoggerData, type AxLoggerFunction, type AxMCPBlobResourceContents, AxMCPClient, type AxMCPEmbeddedResource, type AxMCPFunctionDescription, AxMCPHTTPSSETransport, type AxMCPImageContent, type AxMCPInitializeParams, type AxMCPInitializeResult, type AxMCPJSONRPCErrorResponse, type AxMCPJSONRPCNotification, type AxMCPJSONRPCRequest, type AxMCPJSONRPCResponse, type AxMCPJSONRPCSuccessResponse, type AxMCPOAuthOptions, type AxMCPPrompt, type AxMCPPromptArgument, type AxMCPPromptGetResult, type AxMCPPromptMessage, type AxMCPPromptsListResult, type AxMCPResource, type AxMCPResourceReadResult, type AxMCPResourceTemplate, type AxMCPResourceTemplatesListResult, type AxMCPResourcesListResult, type AxMCPStreamableHTTPTransportOptions, AxMCPStreambleHTTPTransport, type AxMCPTextContent, type AxMCPTextResourceContents, type AxMCPToolsListResult, type AxMCPTransport, AxMediaNotSupportedError, AxMemory, type AxMemoryData, type AxMemoryMessageValue, type AxMetricFn, type AxMetricFnArgs, type AxMetricsConfig, AxMockAIService, type AxMockAIServiceConfig, type AxModelConfig, type AxModelInfo, type AxModelInfoWithProvider, type AxModelUsage, type AxMultiMetricFn, type AxMultiProviderConfig, AxMultiServiceRouter, type AxNamedProgramInstance, type AxOptimizableComponent, type AxOptimizableValidator, type AxOptimizationCheckpoint, type AxOptimizationProgress, type AxOptimizationStats, type AxOptimizedProgram, AxOptimizedProgramImpl, type AxOptimizer, type AxOptimizerArgs, type AxOptimizerLoggerData, type AxOptimizerLoggerFunction, type AxOptimizerMetricsConfig, type AxOptimizerMetricsInstruments, type AxOptimizerResult, type AxParetoResult, AxProgram, type AxProgramDemos, type AxProgramExamples, type AxProgramForwardOptions, type AxProgramForwardOptionsWithModels, type AxProgramOptions, type AxProgramStreamingForwardOptions, type AxProgramStreamingForwardOptionsWithModels, type AxProgramTrace, type AxProgramUsage, type AxProgrammable, type AxPromptMetrics, AxPromptTemplate, type AxPromptTemplateOptions, type AxProviderMetadata, AxProviderRouter, type AxRLMConfig, type AxRateLimiterFunction, AxRateLimiterTokenUsage, type AxRateLimiterTokenUsageOptions, AxRefine, AxRefineError, type AxRefineOptions, type AxRefineStrategy, type AxRenderedPrompt, type AxResolvedContextPolicy, type AxResolvedExecutorModelPolicy, type AxResolvedExecutorModelPolicyEntry, type AxResultPickerFunction, type AxResultPickerFunctionFieldResults, type AxResultPickerFunctionFunctionResults, type AxRewardFn, type AxRewardFnArgs, type AxRolloutTrace, type AxRoutingResult, type AxRuntimeCallableFormatArgs, type AxRuntimeLanguageInfo, type AxRuntimePrimitive, type AxRuntimePrimitiveExample, type AxRuntimePrimitiveOverrideMap, type AxRuntimePrimitiveSignature, type AxRuntimePrimitiveStage, type AxSamplePickerOptions, type AxSelfTuningConfig, type AxSerializedOptimizedProgram, type AxSetExamplesOptions, AxSignature, AxSignatureBuilder, type AxSignatureConfig, type AxSignatureInput, type AxSpeechConfig, type AxSpeechRequest, type AxSpeechResponse, type AxStageDefinitionBuildOptions, type AxStageOptions, type AxStepContext, type AxStepHooks, type AxStepUsage, AxStopFunctionCallException, type AxStreamingEvent, type AxStreamingFieldProcessorProcess, type AxStreamingGuard, AxStreamingGuardError, AxStringUtil, AxSynth, type AxSynthExample, type AxSynthOptions, type AxSynthResult, type AxSynthesizerInit, type AxSynthesizerOptions, type AxSynthesizerRole, AxTestPrompt, type AxThoughtBlockItem, AxTokenLimitError, type AxTokenUsage, type AxTranscriptionRequest, type AxTranscriptionResponse, type AxTranscriptionSegment, type AxTunable, type AxTypedExample, type AxUsable, type AxWorkerRuntimeConfig, agent, ai, ax, axAIAnthropicDefaultConfig, axAIAnthropicVertexDefaultConfig, axAIAzureOpenAIBestConfig, axAIAzureOpenAICreativeConfig, axAIAzureOpenAIDefaultConfig, axAIAzureOpenAIFastConfig, axAICohereCreativeConfig, axAICohereDefaultConfig, axAIDeepSeekCodeConfig, axAIDeepSeekDefaultConfig, axAIGoogleGeminiDefaultConfig, axAIGoogleGeminiDefaultCreativeConfig, axAIGoogleGeminiLiveAudioDefaultConfig, axAIGrokBestConfig, axAIGrokDefaultConfig, axAIGrokVoiceDefaultConfig, axAIHuggingFaceCreativeConfig, axAIHuggingFaceDefaultConfig, axAIMistralBestConfig, axAIMistralDefaultConfig, axAIOpenAIAudioDefaultConfig, axAIOpenAIBestConfig, axAIOpenAICreativeConfig, axAIOpenAIDefaultConfig, axAIOpenAIFastConfig, axAIOpenAIRealtimeDefaultConfig, axAIOpenAIRealtimeTranscriptionDefaultConfig, axAIOpenAIResponsesBestConfig, axAIOpenAIResponsesCreativeConfig, axAIOpenAIResponsesDefaultConfig, axAIRekaBestConfig, axAIRekaCreativeConfig, axAIRekaDefaultConfig, axAIRekaFastConfig, axAnalyzeChatPromptRequirements, axAnalyzeRequestRequirements, axApplyOpenAIChatAudioRequest, axAudioFormatFromMimeType, axAudioInputFilename, axAudioInputToBlob, axAudioMimeType, axBaseAIDefaultConfig, axBaseAIDefaultCreativeConfig, axBuildDistillerDefinition, axBuildExecutorDefinition, axBuildResponderDefinition, axCheckMetricsHealth, axConcatBase64, axCreateDefaultColorLogger, axCreateDefaultOptimizerColorLogger, axCreateDefaultOptimizerTextLogger, axCreateDefaultTextLogger, axCreateFlowColorLogger, axCreateFlowTextLogger, axCreateGeminiLiveAudioApi, axCreateGrokRealtimeApi, axCreateJSRuntime, axCreateOpenAIRealtimeApi, axDefaultFlowLogger, axDefaultMetricsConfig, axDefaultOptimizerLogger, axDefaultOptimizerMetricsConfig, axDeserializeOptimizedProgram, axFetchJsonSpeech, axFetchMultipartTranscription, axGetCompatibilityReport, axGetFormatCompatibility, axGetMetricsConfig, axGetOptimizerMetricsConfig, axGetProvidersWithMediaSupport, axGetSupportedAIModels, axGlobals, axGoogleGeminiLiveAudioDefaults, axIsAudioOutputEnabled, axIsGeminiLiveAudioModel, axIsGrokVoiceModel, axIsOpenAIChatAudioModel, axIsOpenAIRealtimeModel, axIsOpenAIRealtimeTranscriptionModel, axMapGeminiLiveAudioPart, axMapOpenAIChatAudioDelta, axMapOpenAIChatAudioResponse, axMapOpenAIInputAudioPart, axMergeChatAudioConfig, axModelInfoAnthropic, axModelInfoCohere, axModelInfoDeepSeek, axModelInfoGoogleGemini, axModelInfoGrok, axModelInfoHuggingFace, axModelInfoMistral, axModelInfoOpenAI, axModelInfoOpenAIResponses, axModelInfoReka, axNormalizeOpenAIUsage, axNormalizeTranscriptionResponse, axOpenAIChatAudioDefaults, axOptimizableValidators, axProcessContentForProvider, axResolveGeminiLiveAudioConfig, axResolveGrokRealtimeAudioConfig, axResolveOpenAIChatAudioConfig, axResolveOpenAIRealtimeAudioConfig, axRuntimePrimitives, axScoreProvidersForRequest, axSelectOptimalProvider, axSerializeOptimizedProgram, axShouldUseGeminiLiveAudio, axShouldUseGrokRealtime, axShouldUseOpenAIRealtime, axSpanAttributes, axSpanEvents, axUpdateMetricsConfig, axUpdateOptimizerMetricsConfig, axValidateChatRequestMessage, axValidateChatResponseResult, axValidateGeminiLiveAudioInput, axValidateProviderCapabilities, axWorkerRuntime, bestOfN, f, flow, fn, refine, s };
|
|
10918
|
+
export { AxAI, AxAIAnthropic, type AxAIAnthropicArgs, type AxAIAnthropicChatError, type AxAIAnthropicChatRequest, type AxAIAnthropicChatRequestCacheParam, type AxAIAnthropicChatResponse, type AxAIAnthropicChatResponseDelta, type AxAIAnthropicConfig, type AxAIAnthropicContentBlockDeltaEvent, type AxAIAnthropicContentBlockStartEvent, type AxAIAnthropicContentBlockStopEvent, type AxAIAnthropicEffortLevel, type AxAIAnthropicEffortLevelMapping, type AxAIAnthropicErrorEvent, type AxAIAnthropicFunctionTool, type AxAIAnthropicMessageDeltaEvent, type AxAIAnthropicMessageStartEvent, type AxAIAnthropicMessageStopEvent, AxAIAnthropicModel, type AxAIAnthropicOutputConfig, type AxAIAnthropicPingEvent, type AxAIAnthropicRequestTool, type AxAIAnthropicStopDetails, type AxAIAnthropicTaskBudget, type AxAIAnthropicThinkingConfig, type AxAIAnthropicThinkingTokenBudgetLevels, type AxAIAnthropicThinkingWire, AxAIAnthropicVertexModel, type AxAIAnthropicWebSearchTool, type AxAIArgs, AxAIAzureOpenAI, type AxAIAzureOpenAIArgs, type AxAIAzureOpenAIConfig, AxAICohere, type AxAICohereArgs, type AxAICohereChatRequest, type AxAICohereChatRequestToolResults, type AxAICohereChatResponse, type AxAICohereChatResponseDelta, type AxAICohereChatResponseToolCalls, type AxAICohereConfig, AxAICohereEmbedModel, type AxAICohereEmbedRequest, type AxAICohereEmbedResponse, AxAICohereModel, AxAIDeepSeek, type AxAIDeepSeekArgs, AxAIDeepSeekModel, type AxAIEmbedModels, type AxAIFeatures, AxAIGoogleGemini, type AxAIGoogleGeminiArgs, type AxAIGoogleGeminiBatchEmbedRequest, type AxAIGoogleGeminiBatchEmbedResponse, type AxAIGoogleGeminiCacheCreateRequest, type AxAIGoogleGeminiCacheResponse, type AxAIGoogleGeminiCacheUpdateRequest, type AxAIGoogleGeminiChatRequest, type AxAIGoogleGeminiChatResponse, type AxAIGoogleGeminiChatResponseDelta, type AxAIGoogleGeminiConfig, type AxAIGoogleGeminiContent, type AxAIGoogleGeminiContentPart, AxAIGoogleGeminiEmbedModel, AxAIGoogleGeminiEmbedTypes, type AxAIGoogleGeminiGenerationConfig, AxAIGoogleGeminiModel, type AxAIGoogleGeminiOptionsTools, type AxAIGoogleGeminiRetrievalConfig, AxAIGoogleGeminiSafetyCategory, type AxAIGoogleGeminiSafetySettings, AxAIGoogleGeminiSafetyThreshold, type AxAIGoogleGeminiThinkingConfig, type AxAIGoogleGeminiThinkingLevel, type AxAIGoogleGeminiThinkingLevelMapping, type AxAIGoogleGeminiThinkingTokenBudgetLevels, type AxAIGoogleGeminiTool, type AxAIGoogleGeminiToolConfig, type AxAIGoogleGeminiToolFunctionDeclaration, type AxAIGoogleGeminiToolGoogleMaps, type AxAIGoogleGeminiToolGoogleSearchRetrieval, type AxAIGoogleVertexBatchEmbedRequest, type AxAIGoogleVertexBatchEmbedResponse, AxAIGrok, type AxAIGrokArgs, type AxAIGrokChatRequest, AxAIGrokEmbedModels, AxAIGrokModel, type AxAIGrokOptionsTools, type AxAIGrokSearchSource, AxAIHuggingFace, type AxAIHuggingFaceArgs, type AxAIHuggingFaceConfig, AxAIHuggingFaceModel, type AxAIHuggingFaceRequest, type AxAIHuggingFaceResponse, type AxAIInputModelList, type AxAIMemory, type AxAIMetricsInstruments, AxAIMistral, type AxAIMistralArgs, type AxAIMistralChatRequest, AxAIMistralEmbedModels, AxAIMistralModel, type AxAIModelCatalogAudioSupport, type AxAIModelCatalogFilter, type AxAIModelCatalogModel, type AxAIModelCatalogModelCapabilities, type AxAIModelCatalogModelType, type AxAIModelCatalogOptions, type AxAIModelCatalogProvider, type AxAIModelCatalogProviderName, type AxAIModelList, type AxAIModelListBase, type AxAIModels, AxAIOpenAI, type AxAIOpenAIAnnotation, type AxAIOpenAIArgs, AxAIOpenAIBase, type AxAIOpenAIBaseArgs, type AxAIOpenAIChatRequest, type AxAIOpenAIChatResponse, type AxAIOpenAIChatResponseDelta, type AxAIOpenAIConfig, AxAIOpenAIEmbedModel, type AxAIOpenAIEmbedRequest, type AxAIOpenAIEmbedResponse, type AxAIOpenAILogprob, AxAIOpenAIModel, type AxAIOpenAIResponseDelta, AxAIOpenAIResponses, type AxAIOpenAIResponsesArgs, AxAIOpenAIResponsesBase, type AxAIOpenAIResponsesCodeInterpreterToolCall, type AxAIOpenAIResponsesComputerToolCall, type AxAIOpenAIResponsesConfig, type AxAIOpenAIResponsesContentPartAddedEvent, type AxAIOpenAIResponsesContentPartDoneEvent, type AxAIOpenAIResponsesDefineFunctionTool, type AxAIOpenAIResponsesErrorEvent, type AxAIOpenAIResponsesFileSearchCallCompletedEvent, type AxAIOpenAIResponsesFileSearchCallInProgressEvent, type AxAIOpenAIResponsesFileSearchCallSearchingEvent, type AxAIOpenAIResponsesFileSearchToolCall, type AxAIOpenAIResponsesFunctionCallArgumentsDeltaEvent, type AxAIOpenAIResponsesFunctionCallArgumentsDoneEvent, type AxAIOpenAIResponsesFunctionCallItem, type AxAIOpenAIResponsesImageGenerationCallCompletedEvent, type AxAIOpenAIResponsesImageGenerationCallGeneratingEvent, type AxAIOpenAIResponsesImageGenerationCallInProgressEvent, type AxAIOpenAIResponsesImageGenerationCallPartialImageEvent, type AxAIOpenAIResponsesImageGenerationToolCall, type AxAIOpenAIResponsesInputAudioContentPart, type AxAIOpenAIResponsesInputContentPart, type AxAIOpenAIResponsesInputFunctionCallItem, type AxAIOpenAIResponsesInputFunctionCallOutputItem, type AxAIOpenAIResponsesInputImageUrlContentPart, type AxAIOpenAIResponsesInputItem, type AxAIOpenAIResponsesInputMessageItem, type AxAIOpenAIResponsesInputTextContentPart, type AxAIOpenAIResponsesLocalShellToolCall, type AxAIOpenAIResponsesMCPCallArgumentsDeltaEvent, type AxAIOpenAIResponsesMCPCallArgumentsDoneEvent, type AxAIOpenAIResponsesMCPCallCompletedEvent, type AxAIOpenAIResponsesMCPCallFailedEvent, type AxAIOpenAIResponsesMCPCallInProgressEvent, type AxAIOpenAIResponsesMCPListToolsCompletedEvent, type AxAIOpenAIResponsesMCPListToolsFailedEvent, type AxAIOpenAIResponsesMCPListToolsInProgressEvent, type AxAIOpenAIResponsesMCPToolCall, AxAIOpenAIResponsesModel, type AxAIOpenAIResponsesOutputItem, type AxAIOpenAIResponsesOutputItemAddedEvent, type AxAIOpenAIResponsesOutputItemDoneEvent, type AxAIOpenAIResponsesOutputMessageItem, type AxAIOpenAIResponsesOutputRefusalContentPart, type AxAIOpenAIResponsesOutputTextAnnotationAddedEvent, type AxAIOpenAIResponsesOutputTextContentPart, type AxAIOpenAIResponsesOutputTextDeltaEvent, type AxAIOpenAIResponsesOutputTextDoneEvent, type AxAIOpenAIResponsesReasoningDeltaEvent, type AxAIOpenAIResponsesReasoningDoneEvent, type AxAIOpenAIResponsesReasoningItem, type AxAIOpenAIResponsesReasoningSummaryDeltaEvent, type AxAIOpenAIResponsesReasoningSummaryDoneEvent, type AxAIOpenAIResponsesReasoningSummaryPart, type AxAIOpenAIResponsesReasoningSummaryPartAddedEvent, type AxAIOpenAIResponsesReasoningSummaryPartDoneEvent, type AxAIOpenAIResponsesReasoningSummaryTextDeltaEvent, type AxAIOpenAIResponsesReasoningSummaryTextDoneEvent, type AxAIOpenAIResponsesRefusalDeltaEvent, type AxAIOpenAIResponsesRefusalDoneEvent, type AxAIOpenAIResponsesRequest, type AxAIOpenAIResponsesResponse, type AxAIOpenAIResponsesResponseCompletedEvent, type AxAIOpenAIResponsesResponseCreatedEvent, type AxAIOpenAIResponsesResponseFailedEvent, type AxAIOpenAIResponsesResponseInProgressEvent, type AxAIOpenAIResponsesResponseIncompleteEvent, type AxAIOpenAIResponsesResponseQueuedEvent, type AxAIOpenAIResponsesStreamEvent, type AxAIOpenAIResponsesStreamEventBase, type AxAIOpenAIResponsesToolCall, type AxAIOpenAIResponsesToolCallBase, type AxAIOpenAIResponsesToolChoice, type AxAIOpenAIResponsesToolDefinition, type AxAIOpenAIResponsesWebSearchCallCompletedEvent, type AxAIOpenAIResponsesWebSearchCallInProgressEvent, type AxAIOpenAIResponsesWebSearchCallSearchingEvent, type AxAIOpenAIResponsesWebSearchToolCall, type AxAIOpenAIUrlCitation, type AxAIOpenAIUsage, AxAIRefusalError, AxAIReka, type AxAIRekaArgs, type AxAIRekaChatRequest, type AxAIRekaChatResponse, type AxAIRekaChatResponseDelta, type AxAIRekaConfig, AxAIRekaModel, type AxAIRekaUsage, type AxAIService, AxAIServiceAbortedError, type AxAIServiceActionOptions, AxAIServiceAuthenticationError, AxAIServiceError, type AxAIServiceImpl, type AxAIServiceMetrics, type AxAIServiceModelType, AxAIServiceNetworkError, type AxAIServiceOptions, AxAIServiceResponseError, AxAIServiceStatusError, AxAIServiceStreamTerminatedError, AxAIServiceTimeoutError, type AxAPI, type AxAPIConfig, type AxAPIResponseMetadata, AxAgent, type AxAgentActorTurnCallback, type AxAgentActorTurnCallbackArgs, type AxAgentClarification, type AxAgentClarificationChoice, AxAgentClarificationError, type AxAgentClarificationKind, type AxAgentCompletionProtocol, type AxAgentConfig, type AxAgentContextEvent, AxAgentContextMap, type AxAgentContextMapConfig, type AxAgentContextMapOperation, type AxAgentContextMapOptions, type AxAgentContextMapSnapshot, type AxAgentContextMapUpdateResult, type AxAgentContextPressure, type AxAgentContextStage, type AxAgentDemos, type AxAgentDiscoveryPromptState, type AxAgentEvalDataset, type AxAgentEvalFunctionCall, type AxAgentEvalPrediction, type AxAgentEvalTask, type AxAgentExecutorResultPayload, type AxAgentForwardOptions, type AxAgentFunction, type AxAgentFunctionCall, type AxAgentFunctionCallRecorder, type AxAgentFunctionCollection, type AxAgentFunctionExample, type AxAgentFunctionGroup, type AxAgentFunctionModuleMeta, type AxAgentGuidanceLogEntry, type AxAgentGuidancePayload, type AxAgentGuidanceState, type AxAgentIdentity, type AxAgentInputUpdateCallback, type AxAgentJudgeEvalInput, type AxAgentJudgeEvalOutput, type AxAgentJudgeInput, type AxAgentJudgeOptions, type AxAgentJudgeOutput, type AxAgentMemoriesSearchFn, type AxAgentMemoryEntry, type AxAgentMemoryResult, type AxAgentOnContextEvent, type AxAgentOnFunctionCall, type AxAgentOptimizationTargetDescriptor, type AxAgentOptimizeOptions, type AxAgentOptimizeResult, type AxAgentOptimizeTarget, type AxAgentOptions, AxAgentProtocolCompletionSignal, type AxAgentRecursionOptions, type AxAgentRecursiveExpensiveNode, type AxAgentRecursiveFunctionCall, type AxAgentRecursiveNodeRole, type AxAgentRecursiveStats, type AxAgentRecursiveTargetId, type AxAgentRecursiveTraceNode, type AxAgentRecursiveTurn, type AxAgentRecursiveUsage, type AxAgentRuntimeCompletionState, type AxAgentRuntimeExecutionContext, type AxAgentRuntimeInputState, type AxAgentSkillResult, type AxAgentSkillsPromptState, type AxAgentSkillsSearchFn, type AxAgentState, type AxAgentStateActionLogEntry, type AxAgentStateCheckpointState, type AxAgentStateExecutorModelState, type AxAgentStateRuntimeEntry, type AxAgentStreamingForwardOptions, type AxAgentStructuredClarification, type AxAgentTestCompletionPayload, type AxAgentTestResult, type AxAgentUsage, type AxAgentUsedMemoriesCallback, type AxAgentUsedMemory, type AxAgentUsedSkill, type AxAgentUsedSkillsCallback, type AxAgentic, type AxAnyAgentic, type AxAssertion, AxAssertionError, type AxAttempt, type AxAudioFormat, type AxAudioInput, AxBalancer, type AxBalancerOptions, AxBaseAI, type AxBaseAIArgs, AxBaseOptimizer, AxBestOfN, type AxBestOfNOptions, AxBootstrapFewShot, type AxBootstrapOptimizerOptions, type AxChatAudioConfig, type AxChatAudioOutput, type AxChatLogEntry, type AxChatLogMessage, type AxChatRequest, type AxChatResponse, type AxChatResponseFunctionCall, type AxChatResponseResult, type AxCheckpointLoadFn, type AxCheckpointSaveFn, type AxCitation, type AxCodeRuntime, type AxCodeSession, type AxCodeSessionSnapshot, type AxCodeSessionSnapshotEntry, type AxCompileOptions, AxContentProcessingError, type AxContentProcessingServices, type AxContextCacheInfo, type AxContextCacheOperation, type AxContextCacheOptions, type AxContextCacheRegistry, type AxContextCacheRegistryEntry, type AxContextFieldInput, type AxContextFieldPromptConfig, type AxContextPolicyBudget, type AxContextPolicyConfig, type AxContextPolicyPreset, type AxCostTracker, type AxCostTrackerOptions, type AxDateRange, type AxDateRangeValue, type AxDebugChatResponseUsage, AxDefaultCostTracker, type AxDiscoveryTurnSummary, type AxDockerContainer, AxDockerSession, type AxEmbedRequest, type AxEmbedResponse, AxEmbeddingAdapter, type AxErrorCategory, AxEvalUtil, type AxEvaluateArgs, type AxExample, type AxExamples, type AxExecutorModelPolicy, type AxExecutorModelPolicyEntry, type AxField, type AxFieldOptions, type AxFieldProcessor, type AxFieldProcessorProcess, type AxFieldTemplateFn, type AxFieldType, type AxFieldValue, AxFlow, type AxFlowBranchEvaluationData, type AxFlowCompleteData, type AxFlowDynamicContext, type AxFlowErrorData, type AxFlowExecutionPlan, type AxFlowExecutionPlanGroup, type AxFlowExecutionPlanStep, type AxFlowForwardOptions, type AxFlowLogData, type AxFlowLoggerData, type AxFlowLoggerFunction, type AxFlowOptions, type AxFlowParallelGroupCompleteData, type AxFlowParallelGroupStartData, type AxFlowStartData, type AxFlowState, type AxFlowStateDependencyAnalysis, type AxFlowStepCompleteData, type AxFlowStepStartData, type AxFlowTypedParallelBranch, type AxFlowTypedSubContext, type AxFlowable, type AxFluentFieldInfo, AxFluentFieldType, type AxForwardable, type AxFunction, type AxFunctionCallRecord, type AxFunctionCallTrace, AxFunctionError, type AxFunctionHandler, type AxFunctionJSONSchema, AxFunctionProcessor, type AxFunctionProvider, type AxFunctionResult, type AxFunctionResultFormatter, AxGEPA, type AxGEPAAdapter, type AxGEPABatchEvaluation, type AxGEPABatchRow, type AxGEPABootstrapOptions, type AxGEPAComponentBanditState, AxGEPAComponentSelector, type AxGEPAComponentTarget, type AxGEPAEvaluationBatch, type AxGEPAEvaluationState, type AxGEPAOptimizationReport, type AxGEPAReflectiveTuple, type AxGEPATraceSummary, type AxGEPATraceSummaryCall, AxGen, type AxGenDeltaOut, type AxGenIn, type AxGenInput, type AxGenMetricsInstruments, type AxGenOut, type AxGenOutput, type AxGenStreamingOut, AxGenerateError, type AxGenerateErrorDetails, type AxGenerateResult, type AxIField, type AxInputFunctionType, AxJSRuntime, type AxJSRuntimeNodePermissionAllowlist, type AxJSRuntimeOutputMode, AxJSRuntimePermission, type AxJSRuntimeResourceLimits, type AxJudgeForwardOptions, type AxJudgeOptions, type AxLlmQueryBudgetState, type AxLlmQueryPromptMode, type AxLoggerData, type AxLoggerFunction, type AxMCPBlobResourceContents, AxMCPClient, type AxMCPEmbeddedResource, type AxMCPFunctionDescription, AxMCPHTTPSSETransport, type AxMCPImageContent, type AxMCPInitializeParams, type AxMCPInitializeResult, type AxMCPJSONRPCErrorResponse, type AxMCPJSONRPCNotification, type AxMCPJSONRPCRequest, type AxMCPJSONRPCResponse, type AxMCPJSONRPCSuccessResponse, type AxMCPOAuthOptions, type AxMCPPrompt, type AxMCPPromptArgument, type AxMCPPromptGetResult, type AxMCPPromptMessage, type AxMCPPromptsListResult, type AxMCPResource, type AxMCPResourceReadResult, type AxMCPResourceTemplate, type AxMCPResourceTemplatesListResult, type AxMCPResourcesListResult, type AxMCPStreamableHTTPTransportOptions, AxMCPStreambleHTTPTransport, type AxMCPTextContent, type AxMCPTextResourceContents, type AxMCPToolsListResult, type AxMCPTransport, AxMediaNotSupportedError, AxMemory, type AxMemoryData, type AxMemoryMessageValue, type AxMetricFn, type AxMetricFnArgs, type AxMetricsConfig, AxMockAIService, type AxMockAIServiceConfig, type AxModelConfig, type AxModelInfo, type AxModelInfoWithProvider, type AxModelUsage, type AxMultiMetricFn, type AxMultiProviderConfig, AxMultiServiceRouter, type AxNamedProgramInstance, type AxOptimizableComponent, type AxOptimizableValidator, type AxOptimizationCheckpoint, type AxOptimizationProgress, type AxOptimizationStats, type AxOptimizedProgram, AxOptimizedProgramImpl, type AxOptimizer, type AxOptimizerArgs, type AxOptimizerLoggerData, type AxOptimizerLoggerFunction, type AxOptimizerMetricsConfig, type AxOptimizerMetricsInstruments, type AxOptimizerResult, type AxParetoResult, AxProgram, type AxProgramDemos, type AxProgramExamples, type AxProgramForwardOptions, type AxProgramForwardOptionsWithModels, type AxProgramOptions, type AxProgramStreamingForwardOptions, type AxProgramStreamingForwardOptionsWithModels, type AxProgramTrace, type AxProgramUsage, type AxProgrammable, type AxPromptMetrics, AxPromptTemplate, type AxPromptTemplateOptions, type AxProviderMetadata, AxProviderRouter, type AxRLMConfig, type AxRateLimiterFunction, AxRateLimiterTokenUsage, type AxRateLimiterTokenUsageOptions, AxRefine, AxRefineError, type AxRefineOptions, type AxRefineStrategy, type AxRenderedPrompt, type AxResolvedContextPolicy, type AxResolvedExecutorModelPolicy, type AxResolvedExecutorModelPolicyEntry, type AxResultPickerFunction, type AxResultPickerFunctionFieldResults, type AxResultPickerFunctionFunctionResults, type AxRewardFn, type AxRewardFnArgs, type AxRolloutTrace, type AxRoutingResult, type AxRuntimeCallableFormatArgs, type AxRuntimeLanguageInfo, type AxRuntimePrimitive, type AxRuntimePrimitiveExample, type AxRuntimePrimitiveOverrideMap, type AxRuntimePrimitiveSignature, type AxRuntimePrimitiveStage, type AxSamplePickerOptions, type AxSelfTuningConfig, type AxSerializedOptimizedProgram, type AxSetExamplesOptions, AxSignature, AxSignatureBuilder, type AxSignatureConfig, type AxSignatureInput, type AxSpeechConfig, type AxSpeechRequest, type AxSpeechResponse, type AxStageDefinitionBuildOptions, type AxStageOptions, type AxStepContext, type AxStepHooks, type AxStepUsage, AxStopFunctionCallException, type AxStreamingAssertion, AxStreamingAssertionError, type AxStreamingEvent, type AxStreamingFieldProcessorProcess, AxStringUtil, AxSynth, type AxSynthExample, type AxSynthOptions, type AxSynthResult, type AxSynthesizerInit, type AxSynthesizerOptions, type AxSynthesizerRole, AxTestPrompt, type AxThoughtBlockItem, AxTokenLimitError, type AxTokenUsage, type AxTranscriptionRequest, type AxTranscriptionResponse, type AxTranscriptionSegment, type AxTunable, type AxTypedExample, type AxUsable, type AxWorkerRuntimeConfig, agent, ai, ax, axAIAnthropicDefaultConfig, axAIAnthropicVertexDefaultConfig, axAIAzureOpenAIBestConfig, axAIAzureOpenAICreativeConfig, axAIAzureOpenAIDefaultConfig, axAIAzureOpenAIFastConfig, axAICohereCreativeConfig, axAICohereDefaultConfig, axAIDeepSeekCodeConfig, axAIDeepSeekDefaultConfig, axAIGoogleGeminiDefaultConfig, axAIGoogleGeminiDefaultCreativeConfig, axAIGoogleGeminiLiveAudioDefaultConfig, axAIGrokBestConfig, axAIGrokDefaultConfig, axAIGrokVoiceDefaultConfig, axAIHuggingFaceCreativeConfig, axAIHuggingFaceDefaultConfig, axAIMistralBestConfig, axAIMistralDefaultConfig, axAIOpenAIAudioDefaultConfig, axAIOpenAIBestConfig, axAIOpenAICreativeConfig, axAIOpenAIDefaultConfig, axAIOpenAIFastConfig, axAIOpenAIRealtimeDefaultConfig, axAIOpenAIRealtimeTranscriptionDefaultConfig, axAIOpenAIResponsesBestConfig, axAIOpenAIResponsesCreativeConfig, axAIOpenAIResponsesDefaultConfig, axAIRekaBestConfig, axAIRekaCreativeConfig, axAIRekaDefaultConfig, axAIRekaFastConfig, axAnalyzeChatPromptRequirements, axAnalyzeRequestRequirements, axApplyOpenAIChatAudioRequest, axAudioFormatFromMimeType, axAudioInputFilename, axAudioInputToBlob, axAudioMimeType, axBaseAIDefaultConfig, axBaseAIDefaultCreativeConfig, axBuildDistillerDefinition, axBuildExecutorDefinition, axBuildResponderDefinition, axCheckMetricsHealth, axConcatBase64, axCreateDefaultColorLogger, axCreateDefaultOptimizerColorLogger, axCreateDefaultOptimizerTextLogger, axCreateDefaultTextLogger, axCreateFlowColorLogger, axCreateFlowTextLogger, axCreateGeminiLiveAudioApi, axCreateGrokRealtimeApi, axCreateJSRuntime, axCreateOpenAIRealtimeApi, axDefaultFlowLogger, axDefaultMetricsConfig, axDefaultOptimizerLogger, axDefaultOptimizerMetricsConfig, axDeserializeOptimizedProgram, axFetchJsonSpeech, axFetchMultipartTranscription, axGetCompatibilityReport, axGetFormatCompatibility, axGetMetricsConfig, axGetOptimizerMetricsConfig, axGetProvidersWithMediaSupport, axGetSupportedAIModels, axGlobals, axGoogleGeminiLiveAudioDefaults, axIsAudioOutputEnabled, axIsGeminiLiveAudioModel, axIsGrokVoiceModel, axIsOpenAIChatAudioModel, axIsOpenAIRealtimeModel, axIsOpenAIRealtimeTranscriptionModel, axMapGeminiLiveAudioPart, axMapOpenAIChatAudioDelta, axMapOpenAIChatAudioResponse, axMapOpenAIInputAudioPart, axMergeChatAudioConfig, axModelInfoAnthropic, axModelInfoCohere, axModelInfoDeepSeek, axModelInfoGoogleGemini, axModelInfoGrok, axModelInfoHuggingFace, axModelInfoMistral, axModelInfoOpenAI, axModelInfoOpenAIResponses, axModelInfoReka, axNormalizeOpenAIUsage, axNormalizeTranscriptionResponse, axOpenAIChatAudioDefaults, axOptimizableValidators, axProcessContentForProvider, axResolveGeminiLiveAudioConfig, axResolveGrokRealtimeAudioConfig, axResolveOpenAIChatAudioConfig, axResolveOpenAIRealtimeAudioConfig, axRuntimePrimitives, axScoreProvidersForRequest, axSelectOptimalProvider, axSerializeOptimizedProgram, axShouldUseGeminiLiveAudio, axShouldUseGrokRealtime, axShouldUseOpenAIRealtime, axSpanAttributes, axSpanEvents, axUpdateMetricsConfig, axUpdateOptimizerMetricsConfig, axValidateChatRequestMessage, axValidateChatResponseResult, axValidateGeminiLiveAudioInput, axValidateProviderCapabilities, axWorkerRuntime, bestOfN, f, flow, fn, refine, s };
|