@ax-llm/ax 17.0.11 → 18.0.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/index.cjs +205 -274
- package/index.cjs.map +1 -1
- package/index.d.cts +169 -192
- package/index.d.ts +169 -192
- package/index.global.js +207 -276
- package/index.global.js.map +1 -1
- package/index.js +207 -276
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/postinstall.mjs +27 -4
- package/skills/ax-agent.md +102 -81
- package/skills/ax-llm.md +1 -1
package/index.d.cts
CHANGED
|
@@ -1073,6 +1073,16 @@ declare class AxSignatureBuilder<_TInput extends Record<string, any> = {}, _TOut
|
|
|
1073
1073
|
* @param prepend - If true, adds field to the beginning of output fields
|
|
1074
1074
|
*/
|
|
1075
1075
|
output<K extends string, T extends AxFluentFieldInfo<any, any, any, any, any, any, any> | AxFluentFieldType<any, any, any, any, any, any, any>>(name: K, fieldInfo: T, prepend?: boolean): AxSignatureBuilder<_TInput, AddFieldToShape<_TOutput, K, T>>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Add pre-existing input fields (e.g., extracted from another signature).
|
|
1078
|
+
* Type safety is lost for these fields since they are dynamically defined.
|
|
1079
|
+
*/
|
|
1080
|
+
addInputFields(fields: readonly AxIField[]): AxSignatureBuilder<Record<string, any>, _TOutput>;
|
|
1081
|
+
/**
|
|
1082
|
+
* Add pre-existing output fields (e.g., extracted from another signature).
|
|
1083
|
+
* Type safety is lost for these fields since they are dynamically defined.
|
|
1084
|
+
*/
|
|
1085
|
+
addOutputFields(fields: readonly AxIField[]): AxSignatureBuilder<_TInput, Record<string, any>>;
|
|
1076
1086
|
/**
|
|
1077
1087
|
* Set the description for the signature
|
|
1078
1088
|
* @param description - Description text
|
|
@@ -2236,7 +2246,6 @@ interface AxOptimizedProgram<OUT = any> {
|
|
|
2236
2246
|
stats: AxOptimizationStats;
|
|
2237
2247
|
instruction?: string;
|
|
2238
2248
|
demos?: AxProgramDemos<any, OUT>[];
|
|
2239
|
-
examples?: AxExample$1[];
|
|
2240
2249
|
modelConfig?: {
|
|
2241
2250
|
temperature?: number;
|
|
2242
2251
|
maxTokens?: number;
|
|
@@ -2744,7 +2753,7 @@ declare abstract class AxBaseOptimizer implements AxOptimizer {
|
|
|
2744
2753
|
reset(): void;
|
|
2745
2754
|
}
|
|
2746
2755
|
|
|
2747
|
-
declare class AxProgram<IN, OUT> implements AxUsable, AxTunable<IN, OUT> {
|
|
2756
|
+
declare class AxProgram<IN = any, OUT = any> implements AxUsable, AxTunable<IN, OUT> {
|
|
2748
2757
|
protected signature: AxSignature;
|
|
2749
2758
|
protected sigHash: string;
|
|
2750
2759
|
protected examples?: OUT[];
|
|
@@ -2755,24 +2764,44 @@ declare class AxProgram<IN, OUT> implements AxUsable, AxTunable<IN, OUT> {
|
|
|
2755
2764
|
protected traceLabel?: string;
|
|
2756
2765
|
private key;
|
|
2757
2766
|
private children;
|
|
2758
|
-
|
|
2767
|
+
private childNames;
|
|
2768
|
+
private childCount;
|
|
2769
|
+
constructor(signature: string | Readonly<AxSignatureConfig> | Readonly<AxSignature> | undefined, options?: Readonly<AxProgramOptions>);
|
|
2759
2770
|
getSignature(): AxSignature;
|
|
2760
|
-
setSignature(signature:
|
|
2771
|
+
setSignature(signature: string | Readonly<AxSignatureConfig> | Readonly<AxSignature>): void;
|
|
2761
2772
|
setDescription(description: string): void;
|
|
2762
2773
|
private updateSignatureHash;
|
|
2763
|
-
|
|
2774
|
+
getId(): string;
|
|
2775
|
+
register(prog: Readonly<AxTunable<IN, OUT> & AxUsable>, name?: string): void;
|
|
2764
2776
|
setId(id: string): void;
|
|
2765
|
-
setParentId(parentId: string): void;
|
|
2766
2777
|
setExamples(examples: Readonly<AxProgramExamples<IN, OUT>>, options?: Readonly<AxSetExamplesOptions>): void;
|
|
2767
|
-
private _setExamples;
|
|
2768
2778
|
getTraces(): AxProgramTrace<IN, OUT>[];
|
|
2769
2779
|
getUsage(): AxProgramUsage[];
|
|
2770
2780
|
resetUsage(): void;
|
|
2771
|
-
|
|
2781
|
+
private static _propagating;
|
|
2782
|
+
setDemos(demos: readonly AxProgramDemos<IN, OUT>[], options?: {
|
|
2783
|
+
modelConfig?: Record<string, unknown>;
|
|
2784
|
+
}): void;
|
|
2772
2785
|
/**
|
|
2773
|
-
*
|
|
2774
|
-
*
|
|
2786
|
+
* Returns all programs in the hierarchy with their IDs and signatures.
|
|
2787
|
+
* Use this to discover the IDs needed for `setDemos()`.
|
|
2788
|
+
*
|
|
2789
|
+
* Equivalent to DSPy's `named_parameters()`.
|
|
2790
|
+
*
|
|
2791
|
+
* @example
|
|
2792
|
+
* ```ts
|
|
2793
|
+
* agent.setId('qa');
|
|
2794
|
+
* console.log(agent.namedPrograms());
|
|
2795
|
+
* // [
|
|
2796
|
+
* // { id: 'qa.actor', signature: '... -> javascriptCode' },
|
|
2797
|
+
* // { id: 'qa.responder', signature: '... -> answer' },
|
|
2798
|
+
* // ]
|
|
2799
|
+
* ```
|
|
2775
2800
|
*/
|
|
2801
|
+
namedPrograms(): Array<{
|
|
2802
|
+
id: string;
|
|
2803
|
+
signature?: string;
|
|
2804
|
+
}>;
|
|
2776
2805
|
applyOptimization(optimizedProgram: AxOptimizedProgram<OUT>): void;
|
|
2777
2806
|
}
|
|
2778
2807
|
|
|
@@ -2815,7 +2844,7 @@ declare class AxGen<IN = any, OUT extends AxGenOut = any> extends AxProgram<IN,
|
|
|
2815
2844
|
private structuredOutputFunctionFallback;
|
|
2816
2845
|
private activeAbortControllers;
|
|
2817
2846
|
private _stopRequested;
|
|
2818
|
-
constructor(signature:
|
|
2847
|
+
constructor(signature: string | Readonly<AxSignatureConfig> | Readonly<AxSignature<IN & Record<string, any>, OUT>>, options?: Readonly<AxProgramForwardOptions<any>>);
|
|
2819
2848
|
/**
|
|
2820
2849
|
* Stops an in-flight generation. Causes `forward()` / `streamingForward()`
|
|
2821
2850
|
* to throw `AxAIServiceAbortedError`.
|
|
@@ -2828,19 +2857,19 @@ declare class AxGen<IN = any, OUT extends AxGenOut = any> extends AxProgram<IN,
|
|
|
2828
2857
|
private getMergedCustomLabels;
|
|
2829
2858
|
updateMeter(meter?: Meter): void;
|
|
2830
2859
|
private createStates;
|
|
2831
|
-
addAssert
|
|
2832
|
-
addStreamingAssert
|
|
2860
|
+
addAssert(fn: AxAssertion<OUT>['fn'], message?: string): void;
|
|
2861
|
+
addStreamingAssert(fieldName: keyof OUT, fn: AxStreamingAssertion['fn'], message?: string): void;
|
|
2833
2862
|
private addFieldProcessorInternal;
|
|
2834
|
-
addStreamingFieldProcessor
|
|
2863
|
+
addStreamingFieldProcessor<K extends keyof OUT>(fieldName: K, fn: (value: string, context?: {
|
|
2835
2864
|
values?: OUT;
|
|
2836
2865
|
sessionId?: string;
|
|
2837
2866
|
done?: boolean;
|
|
2838
|
-
}) => unknown | Promise<unknown>)
|
|
2839
|
-
addFieldProcessor
|
|
2867
|
+
}) => unknown | Promise<unknown>): void;
|
|
2868
|
+
addFieldProcessor<K extends keyof OUT>(fieldName: K, fn: (value: OUT[K], context?: {
|
|
2840
2869
|
values?: OUT;
|
|
2841
2870
|
sessionId?: string;
|
|
2842
2871
|
done?: boolean;
|
|
2843
|
-
}) => unknown | Promise<unknown>)
|
|
2872
|
+
}) => unknown | Promise<unknown>): void;
|
|
2844
2873
|
private forwardSendRequest;
|
|
2845
2874
|
private forwardCore;
|
|
2846
2875
|
private _forward2;
|
|
@@ -3410,9 +3439,9 @@ type AxProgramTrace<IN, OUT> = {
|
|
|
3410
3439
|
trace: OUT & Partial<IN>;
|
|
3411
3440
|
programId: string;
|
|
3412
3441
|
};
|
|
3413
|
-
type AxProgramDemos<IN, OUT> = {
|
|
3442
|
+
type AxProgramDemos<IN, OUT, ID extends string = string> = {
|
|
3414
3443
|
traces: (OUT & Partial<IN>)[];
|
|
3415
|
-
programId:
|
|
3444
|
+
programId: ID;
|
|
3416
3445
|
};
|
|
3417
3446
|
type AxProgramExamples<IN, OUT> = AxProgramDemos<IN, OUT> | AxProgramDemos<IN, OUT>['traces'];
|
|
3418
3447
|
type AxResultPickerFunctionFieldResults<OUT> = {
|
|
@@ -3485,19 +3514,20 @@ interface AxForwardable<IN, OUT, TModelKey> {
|
|
|
3485
3514
|
streamingForward(ai: Readonly<AxAIService>, values: IN | AxMessage<IN>[], options?: Readonly<AxProgramStreamingForwardOptions<TModelKey>>): AxGenStreamingOut<OUT>;
|
|
3486
3515
|
}
|
|
3487
3516
|
interface AxTunable<IN, OUT> {
|
|
3488
|
-
|
|
3489
|
-
setId
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3517
|
+
getId(): string;
|
|
3518
|
+
setId(id: string): void;
|
|
3519
|
+
getTraces(): AxProgramTrace<IN, OUT>[];
|
|
3520
|
+
setDemos(demos: readonly AxProgramDemos<IN, OUT>[], options?: {
|
|
3521
|
+
modelConfig?: Record<string, unknown>;
|
|
3522
|
+
}): void;
|
|
3523
|
+
applyOptimization(optimizedProgram: AxOptimizedProgram<OUT>): void;
|
|
3494
3524
|
}
|
|
3495
3525
|
interface AxUsable {
|
|
3496
|
-
getUsage
|
|
3497
|
-
resetUsage
|
|
3526
|
+
getUsage(): AxProgramUsage[];
|
|
3527
|
+
resetUsage(): void;
|
|
3498
3528
|
}
|
|
3499
3529
|
interface AxProgrammable<IN, OUT, TModelKey = string> extends AxForwardable<IN, OUT, TModelKey>, AxTunable<IN, OUT>, AxUsable {
|
|
3500
|
-
getSignature
|
|
3530
|
+
getSignature(): AxSignature;
|
|
3501
3531
|
}
|
|
3502
3532
|
type AxProgramUsage = AxChatResponse['modelUsage'] & {
|
|
3503
3533
|
ai: string;
|
|
@@ -8840,7 +8870,7 @@ declare const axDefaultFlowLogger: AxFlowLoggerFunction;
|
|
|
8840
8870
|
* const result = await flow.forward(ai, { topic: "AI safety" })
|
|
8841
8871
|
* ```
|
|
8842
8872
|
*/
|
|
8843
|
-
declare class AxFlow<IN extends Record<string, any>, OUT, TNodes extends Record<string, AxProgrammable<any, any>> =
|
|
8873
|
+
declare class AxFlow<IN extends Record<string, any>, OUT, TNodes extends Record<string, AxProgrammable<any, any>> = {}, // Node registry for type tracking
|
|
8844
8874
|
TState extends AxFlowState = IN> implements AxFlowable<IN, OUT> {
|
|
8845
8875
|
private static _ctorWarned;
|
|
8846
8876
|
private readonly nodes;
|
|
@@ -8930,11 +8960,16 @@ TState extends AxFlowState = IN> implements AxFlowable<IN, OUT> {
|
|
|
8930
8960
|
* Initializes the program field every time something is added to the graph
|
|
8931
8961
|
*/
|
|
8932
8962
|
private ensureProgram;
|
|
8933
|
-
|
|
8963
|
+
getId(): string;
|
|
8934
8964
|
setId(id: string): void;
|
|
8935
|
-
|
|
8965
|
+
namedPrograms(): Array<{
|
|
8966
|
+
id: string;
|
|
8967
|
+
signature?: string;
|
|
8968
|
+
}>;
|
|
8936
8969
|
getTraces(): AxProgramTrace<IN, OUT>[];
|
|
8937
|
-
setDemos(demos: readonly AxProgramDemos<IN, OUT
|
|
8970
|
+
setDemos(demos: readonly AxProgramDemos<IN, OUT, keyof TNodes extends never ? string : `${string}.${string & keyof TNodes}`>[], options?: {
|
|
8971
|
+
modelConfig?: Record<string, unknown>;
|
|
8972
|
+
}): void;
|
|
8938
8973
|
description(name: string, description: string): this;
|
|
8939
8974
|
toFunction(): AxFunction;
|
|
8940
8975
|
getUsage(): AxProgramUsage[];
|
|
@@ -9746,7 +9781,6 @@ declare class AxEmbeddingAdapter {
|
|
|
9746
9781
|
* Implement this interface for your target runtime (Node.js, browser, WASM, etc.).
|
|
9747
9782
|
*/
|
|
9748
9783
|
interface AxCodeRuntime {
|
|
9749
|
-
readonly language: string;
|
|
9750
9784
|
createSession(globals?: Record<string, unknown>): AxCodeSession;
|
|
9751
9785
|
/**
|
|
9752
9786
|
* Optional runtime-specific usage guidance injected into the RLM system prompt.
|
|
@@ -9772,52 +9806,46 @@ interface AxCodeSession {
|
|
|
9772
9806
|
* RLM configuration for AxAgent.
|
|
9773
9807
|
*/
|
|
9774
9808
|
interface AxRLMConfig {
|
|
9775
|
-
/** RLM execution mode (default: 'inline'). */
|
|
9776
|
-
mode?: 'function' | 'inline';
|
|
9777
|
-
/**
|
|
9778
|
-
* Language label used in inline mode helper field naming.
|
|
9779
|
-
* Example: 'javascript' -> `javascriptCode` (default: 'javascript').
|
|
9780
|
-
*/
|
|
9781
|
-
language?: string;
|
|
9782
9809
|
/** Input fields holding long context (will be removed from the LLM prompt). */
|
|
9783
9810
|
contextFields: string[];
|
|
9784
|
-
/**
|
|
9785
|
-
* Code runtime for the REPL loop.
|
|
9786
|
-
* Preferred key.
|
|
9787
|
-
*/
|
|
9811
|
+
/** Code runtime for the REPL loop (default: AxJSRuntime). */
|
|
9788
9812
|
runtime?: AxCodeRuntime;
|
|
9789
|
-
/**
|
|
9790
|
-
* @deprecated Use `runtime` instead.
|
|
9791
|
-
* Backward-compatible alias.
|
|
9792
|
-
*/
|
|
9793
|
-
interpreter?: AxCodeRuntime;
|
|
9794
9813
|
/** Cap on recursive sub-LM calls (default: 50). */
|
|
9795
9814
|
maxLlmCalls?: number;
|
|
9796
9815
|
/**
|
|
9797
9816
|
* Maximum characters for RLM runtime payloads (default: 5000).
|
|
9798
|
-
* Applies to llmQuery context and
|
|
9817
|
+
* Applies to llmQuery context and code execution output.
|
|
9799
9818
|
*/
|
|
9800
9819
|
maxRuntimeChars?: number;
|
|
9801
|
-
/** @deprecated Use `maxRuntimeChars` instead. */
|
|
9802
|
-
maxSubQueryContextChars?: number;
|
|
9803
9820
|
/** Maximum parallel llmQuery calls in batched mode (default: 8). */
|
|
9804
9821
|
maxBatchedLlmQueryConcurrency?: number;
|
|
9805
|
-
/** @deprecated Use `maxRuntimeChars` instead. */
|
|
9806
|
-
maxInterpreterOutputChars?: number;
|
|
9807
9822
|
/** Model for llmQuery sub-calls (default: same as parent). */
|
|
9808
9823
|
subModel?: string;
|
|
9824
|
+
/** Maximum Actor turns before forcing Responder (default: 10). */
|
|
9825
|
+
maxTurns?: number;
|
|
9826
|
+
/** Output field names the Actor should produce (in addition to javascriptCode). */
|
|
9827
|
+
actorFields?: string[];
|
|
9828
|
+
/** Called after each Actor turn with the full actor result. */
|
|
9829
|
+
actorCallback?: (result: Record<string, unknown>) => void | Promise<void>;
|
|
9809
9830
|
}
|
|
9810
9831
|
/**
|
|
9811
|
-
* Builds the
|
|
9812
|
-
* code
|
|
9832
|
+
* Builds the Actor system prompt. The Actor is a code generation agent that
|
|
9833
|
+
* decides what code to execute next based on the current state. It NEVER
|
|
9834
|
+
* generates final answers directly.
|
|
9813
9835
|
*/
|
|
9814
|
-
declare function
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
inlineLanguage?: string;
|
|
9836
|
+
declare function axBuildActorDefinition(baseDefinition: string | undefined, contextFields: readonly AxIField[], options: Readonly<{
|
|
9837
|
+
toolFunctions?: readonly AxFunction[];
|
|
9838
|
+
agentFunctions?: readonly AxFunction[];
|
|
9818
9839
|
runtimeUsageInstructions?: string;
|
|
9819
9840
|
maxLlmCalls?: number;
|
|
9841
|
+
maxTurns?: number;
|
|
9842
|
+
actorFieldNames?: readonly string[];
|
|
9820
9843
|
}>): string;
|
|
9844
|
+
/**
|
|
9845
|
+
* Builds the Responder system prompt. The Responder synthesizes a final answer
|
|
9846
|
+
* from the action log produced by the Actor. It NEVER generates code.
|
|
9847
|
+
*/
|
|
9848
|
+
declare function axBuildResponderDefinition(baseDefinition: string | undefined, contextFields: readonly AxIField[]): string;
|
|
9821
9849
|
|
|
9822
9850
|
/**
|
|
9823
9851
|
* Permissions that can be granted to the RLM JS interpreter sandbox.
|
|
@@ -10226,196 +10254,145 @@ declare class AxMCPHTTPSSETransport implements AxMCPTransport {
|
|
|
10226
10254
|
*/
|
|
10227
10255
|
interface AxAgentic<IN extends AxGenIn, OUT extends AxGenOut> extends AxProgrammable<IN, OUT> {
|
|
10228
10256
|
getFunction(): AxFunction;
|
|
10229
|
-
getFeatures(): AxAgentFeatures;
|
|
10230
10257
|
}
|
|
10258
|
+
type AxAnyAgentic = AxAgentic<any, any>;
|
|
10231
10259
|
type AxAgentOptions = Omit<AxProgramForwardOptions<string>, 'functions'> & {
|
|
10232
|
-
disableSmartModelRouting?: boolean;
|
|
10233
|
-
/** List of field names that should not be automatically passed from parent to child agents */
|
|
10234
|
-
excludeFieldsFromPassthrough?: string[];
|
|
10235
10260
|
debug?: boolean;
|
|
10236
|
-
/** RLM (
|
|
10237
|
-
rlm
|
|
10261
|
+
/** RLM configuration (required — AxAgent always uses split architecture) */
|
|
10262
|
+
rlm: AxRLMConfig;
|
|
10263
|
+
/** Default forward options for the Actor sub-program. */
|
|
10264
|
+
actorOptions?: Partial<Omit<AxProgramForwardOptions<string>, 'functions'>>;
|
|
10265
|
+
/** Default forward options for the Responder sub-program. */
|
|
10266
|
+
responderOptions?: Partial<Omit<AxProgramForwardOptions<string>, 'functions'>>;
|
|
10238
10267
|
};
|
|
10239
|
-
interface AxAgentFeatures {
|
|
10240
|
-
/** Whether this agent can use smart model routing (requires an AI service) */
|
|
10241
|
-
canConfigureSmartModelRouting: boolean;
|
|
10242
|
-
/** List of fields that this agent excludes from parent->child value passing */
|
|
10243
|
-
excludeFieldsFromPassthrough: string[];
|
|
10244
|
-
}
|
|
10245
10268
|
/**
|
|
10246
|
-
*
|
|
10247
|
-
*
|
|
10248
|
-
*
|
|
10249
|
-
* @deprecated Use the `agent()` factory function instead of instantiating this class directly.
|
|
10250
|
-
* The factory function provides better type inference and cleaner syntax.
|
|
10251
|
-
* This class will be removed in v15.0.0.
|
|
10252
|
-
*
|
|
10253
|
-
* Migration timeline:
|
|
10254
|
-
* - v13.0.24+: Deprecation warnings (current)
|
|
10255
|
-
* - v14.0.0: Runtime console warnings
|
|
10256
|
-
* - v15.0.0: Complete removal
|
|
10257
|
-
*
|
|
10258
|
-
* @example
|
|
10259
|
-
* // Old (deprecated):
|
|
10260
|
-
* const myAgent = new AxAgent({
|
|
10261
|
-
* name: 'myAgent',
|
|
10262
|
-
* description: 'An agent that does something',
|
|
10263
|
-
* signature: 'userInput:string -> responseText:string'
|
|
10264
|
-
* });
|
|
10269
|
+
* A split-architecture AI agent that uses two AxGen programs:
|
|
10270
|
+
* - **Actor**: generates code to gather information (inputs, actionLog -> code)
|
|
10271
|
+
* - **Responder**: synthesizes the final answer from execution log (inputs, actionLog -> outputs)
|
|
10265
10272
|
*
|
|
10266
|
-
*
|
|
10267
|
-
*
|
|
10268
|
-
*
|
|
10269
|
-
*
|
|
10270
|
-
* });
|
|
10273
|
+
* The execution loop is managed by TypeScript, not the LLM:
|
|
10274
|
+
* 1. Actor generates code → executed in runtime → result appended to actionLog
|
|
10275
|
+
* 2. Loop until Actor outputs done() or maxTurns reached
|
|
10276
|
+
* 3. Responder synthesizes final answer from complete actionLog
|
|
10271
10277
|
*/
|
|
10272
10278
|
declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAgentic<IN, OUT> {
|
|
10273
10279
|
private ai?;
|
|
10274
10280
|
private program;
|
|
10281
|
+
private actorProgram;
|
|
10282
|
+
private responderProgram;
|
|
10275
10283
|
private functions?;
|
|
10276
10284
|
private agents?;
|
|
10277
|
-
private disableSmartModelRouting?;
|
|
10278
|
-
private excludeFieldsFromPassthrough;
|
|
10279
10285
|
private debug?;
|
|
10280
10286
|
private options?;
|
|
10281
|
-
private rlmConfig
|
|
10282
|
-
private
|
|
10283
|
-
private
|
|
10284
|
-
private
|
|
10285
|
-
private
|
|
10286
|
-
private rlmInlineCodeFieldName;
|
|
10287
|
+
private rlmConfig;
|
|
10288
|
+
private actorBaseDefinition;
|
|
10289
|
+
private actorFieldNames;
|
|
10290
|
+
private actorForwardOptions?;
|
|
10291
|
+
private responderForwardOptions?;
|
|
10287
10292
|
private activeAbortControllers;
|
|
10288
10293
|
private _stopRequested;
|
|
10289
|
-
private name;
|
|
10290
10294
|
private func;
|
|
10291
|
-
constructor({ ai,
|
|
10295
|
+
constructor({ ai, agentIdentity, signature, agents, functions, }: Readonly<{
|
|
10292
10296
|
ai?: Readonly<AxAIService>;
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10297
|
+
agentIdentity?: Readonly<{
|
|
10298
|
+
name: string;
|
|
10299
|
+
description: string;
|
|
10300
|
+
}>;
|
|
10301
|
+
signature: string | Readonly<AxSignatureConfig> | Readonly<AxSignature<IN, OUT>>;
|
|
10302
|
+
agents?: AxAnyAgentic[];
|
|
10298
10303
|
functions?: AxInputFunctionType;
|
|
10299
|
-
}>, options
|
|
10304
|
+
}>, options: Readonly<AxAgentOptions>);
|
|
10305
|
+
/**
|
|
10306
|
+
* Collects tool functions (from this.functions only, not child agents).
|
|
10307
|
+
*/
|
|
10308
|
+
private collectFunctions;
|
|
10300
10309
|
/**
|
|
10301
10310
|
* Stops an in-flight forward/streamingForward call. Causes the call
|
|
10302
10311
|
* to throw `AxAIServiceAbortedError`.
|
|
10303
10312
|
*/
|
|
10304
10313
|
stop(): void;
|
|
10305
|
-
|
|
10306
|
-
* Creates a new AxAgent instance with type-safe signature parsing.
|
|
10307
|
-
* This is the recommended way to create agents with string-based signatures.
|
|
10308
|
-
*
|
|
10309
|
-
* @param signature - The signature string defining input/output fields
|
|
10310
|
-
* @param config - Agent configuration including name, description, etc.
|
|
10311
|
-
* @returns A new AxAgent instance with inferred types
|
|
10312
|
-
*
|
|
10313
|
-
* @example
|
|
10314
|
-
* ```typescript
|
|
10315
|
-
* const agent = AxAgent.create(
|
|
10316
|
-
* 'userInput:string "User question" -> responseText:string "Agent response"',
|
|
10317
|
-
* {
|
|
10318
|
-
* name: 'helpfulAgent',
|
|
10319
|
-
* description: 'An agent that provides helpful responses to user questions',
|
|
10320
|
-
* definition: 'You are a helpful assistant that provides clear, accurate responses to user questions.',
|
|
10321
|
-
* ai: llm
|
|
10322
|
-
* }
|
|
10323
|
-
* );
|
|
10324
|
-
* ```
|
|
10325
|
-
*/
|
|
10326
|
-
static create<const T extends string>(signature: T, config: AxAgentConfig<ParseSignature<T>['inputs'], ParseSignature<T>['outputs']>): AxAgent<ParseSignature<T>['inputs'], ParseSignature<T>['outputs']>;
|
|
10327
|
-
setExamples(examples: Readonly<AxProgramExamples<IN, OUT>>, options?: Readonly<AxSetExamplesOptions>): void;
|
|
10314
|
+
getId(): string;
|
|
10328
10315
|
setId(id: string): void;
|
|
10329
|
-
|
|
10316
|
+
namedPrograms(): Array<{
|
|
10317
|
+
id: string;
|
|
10318
|
+
signature?: string;
|
|
10319
|
+
}>;
|
|
10330
10320
|
getTraces(): AxProgramTrace<IN, OUT>[];
|
|
10331
|
-
setDemos(demos: readonly AxProgramDemos<IN, OUT
|
|
10321
|
+
setDemos(demos: readonly AxProgramDemos<IN, OUT, `${string}.${'actor' | 'responder'}`>[], options?: {
|
|
10322
|
+
modelConfig?: Record<string, unknown>;
|
|
10323
|
+
}): void;
|
|
10332
10324
|
getUsage(): (AxModelUsage & {
|
|
10333
10325
|
ai: string;
|
|
10334
10326
|
model: string;
|
|
10335
10327
|
})[];
|
|
10336
10328
|
resetUsage(): void;
|
|
10337
10329
|
getFunction(): AxFunction;
|
|
10338
|
-
|
|
10330
|
+
getSignature(): AxSignature;
|
|
10331
|
+
setSignature(signature: NonNullable<ConstructorParameters<typeof AxSignature>[0]>): void;
|
|
10332
|
+
applyOptimization(optimizedProgram: any): void;
|
|
10339
10333
|
/**
|
|
10340
|
-
*
|
|
10334
|
+
* Appends additional text to the Actor's existing RLM system prompt.
|
|
10335
|
+
* The base RLM prompt is preserved; the additional text is appended after it.
|
|
10341
10336
|
*/
|
|
10342
|
-
|
|
10337
|
+
setActorDescription(additionalText: string): void;
|
|
10338
|
+
/**
|
|
10339
|
+
* Runs the Actor loop: sets up the runtime session, executes code iteratively,
|
|
10340
|
+
* and returns the state needed by the Responder. Closes the session before returning.
|
|
10341
|
+
*/
|
|
10342
|
+
private _runActorLoop;
|
|
10343
10343
|
forward<T extends Readonly<AxAIService>>(parentAi: T, values: IN | AxMessage<IN>[], options?: Readonly<AxProgramForwardOptionsWithModels<T>>): Promise<OUT>;
|
|
10344
10344
|
streamingForward<T extends Readonly<AxAIService>>(parentAi: T, values: IN | AxMessage<IN>[], options?: Readonly<AxProgramStreamingForwardOptionsWithModels<T>>): AxGenStreamingOut<OUT>;
|
|
10345
|
-
private _defaultForward;
|
|
10346
|
-
private _defaultStreamingForward;
|
|
10347
10345
|
/**
|
|
10348
|
-
*
|
|
10349
|
-
*
|
|
10346
|
+
* Wraps an AxFunction as an async callable that handles both
|
|
10347
|
+
* named ({ key: val }) and positional (val1, val2) argument styles.
|
|
10350
10348
|
*/
|
|
10351
|
-
private
|
|
10349
|
+
private static wrapFunction;
|
|
10352
10350
|
/**
|
|
10353
|
-
*
|
|
10354
|
-
*
|
|
10355
|
-
*
|
|
10356
|
-
* @param description - New description for the agent (must be at least 20 characters)
|
|
10357
|
-
* @throws Error if description is too short
|
|
10351
|
+
* Wraps registered functions as flat globals and child agents under
|
|
10352
|
+
* an `agents.*` namespace for the JS runtime session.
|
|
10358
10353
|
*/
|
|
10359
|
-
|
|
10360
|
-
setDefinition(definition: string): void;
|
|
10361
|
-
getSignature(): AxSignature;
|
|
10362
|
-
setSignature(signature: NonNullable<ConstructorParameters<typeof AxSignature>[0]>): void;
|
|
10363
|
-
applyOptimization(optimizedProgram: any): void;
|
|
10364
|
-
private validateFinalRLMOutput;
|
|
10365
|
-
private stripInlineHelperFields;
|
|
10366
|
-
private buildRLMFallbackExtractor;
|
|
10367
|
-
private getDebug;
|
|
10354
|
+
private buildRuntimeGlobals;
|
|
10368
10355
|
}
|
|
10369
10356
|
/**
|
|
10370
10357
|
* Configuration options for creating an agent using the agent() factory function.
|
|
10371
10358
|
*/
|
|
10372
|
-
interface AxAgentConfig<
|
|
10359
|
+
interface AxAgentConfig<_IN extends AxGenIn, _OUT extends AxGenOut> extends AxAgentOptions {
|
|
10373
10360
|
ai?: AxAIService;
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10361
|
+
agentIdentity?: {
|
|
10362
|
+
name: string;
|
|
10363
|
+
description: string;
|
|
10364
|
+
};
|
|
10365
|
+
agents?: AxAnyAgentic[];
|
|
10378
10366
|
functions?: AxInputFunctionType;
|
|
10379
10367
|
}
|
|
10380
10368
|
/**
|
|
10381
10369
|
* Creates a strongly-typed AI agent from a signature.
|
|
10382
10370
|
* This is the recommended way to create agents, providing better type inference and cleaner syntax.
|
|
10383
|
-
* Supports both string signatures and AxSignature objects.
|
|
10384
10371
|
*
|
|
10385
10372
|
* @param signature - The input/output signature as a string or AxSignature object
|
|
10386
|
-
* @param config - Configuration options for the agent
|
|
10373
|
+
* @param config - Configuration options for the agent (rlm config is required)
|
|
10387
10374
|
* @returns A typed agent instance
|
|
10388
10375
|
*
|
|
10389
10376
|
* @example
|
|
10390
10377
|
* ```typescript
|
|
10391
|
-
*
|
|
10392
|
-
*
|
|
10393
|
-
*
|
|
10394
|
-
*
|
|
10395
|
-
*
|
|
10396
|
-
* });
|
|
10397
|
-
*
|
|
10398
|
-
* // Using AxSignature object
|
|
10399
|
-
* const sig = s('userInput:string -> responseText:string');
|
|
10400
|
-
* const myAgent2 = agent(sig, {
|
|
10401
|
-
* name: 'myAgent2',
|
|
10402
|
-
* description: 'Same agent but using AxSignature object'
|
|
10403
|
-
* });
|
|
10404
|
-
*
|
|
10405
|
-
* // With child agents
|
|
10406
|
-
* const parentAgent = agent('taskDescription:string -> completedTask:string', {
|
|
10407
|
-
* name: 'parentAgent',
|
|
10408
|
-
* description: 'Coordinates child agents to complete tasks',
|
|
10409
|
-
* agents: [childAgent1, childAgent2]
|
|
10378
|
+
* const myAgent = agent('context:string, query:string -> answer:string', {
|
|
10379
|
+
* rlm: {
|
|
10380
|
+
* contextFields: ['context'],
|
|
10381
|
+
* runtime: new AxJSRuntime(),
|
|
10382
|
+
* },
|
|
10410
10383
|
* });
|
|
10411
|
-
*
|
|
10412
|
-
* // Type-safe usage
|
|
10413
|
-
* const result = await myAgent.forward(ai, { userInput: 'Hello!' });
|
|
10414
|
-
* console.log(result.responseText); // TypeScript knows this exists
|
|
10415
10384
|
* ```
|
|
10416
10385
|
*/
|
|
10417
|
-
declare function agent<const T extends string>(signature: T, config: AxAgentConfig<ParseSignature<T>['inputs'], ParseSignature<T>['outputs']>
|
|
10418
|
-
|
|
10386
|
+
declare function agent<const T extends string, const CF extends readonly string[]>(signature: T, config: AxAgentConfig<ParseSignature<T>['inputs'], ParseSignature<T>['outputs']> & {
|
|
10387
|
+
rlm: Omit<AxRLMConfig, 'contextFields'> & {
|
|
10388
|
+
contextFields: CF;
|
|
10389
|
+
};
|
|
10390
|
+
}): AxAgent<ParseSignature<T>['inputs'], ParseSignature<T>['outputs']>;
|
|
10391
|
+
declare function agent<TInput extends Record<string, any>, TOutput extends Record<string, any>, const CF extends readonly string[]>(signature: AxSignature<TInput, TOutput>, config: AxAgentConfig<TInput, TOutput> & {
|
|
10392
|
+
rlm: Omit<AxRLMConfig, 'contextFields'> & {
|
|
10393
|
+
contextFields: CF;
|
|
10394
|
+
};
|
|
10395
|
+
}): AxAgent<TInput, TOutput>;
|
|
10419
10396
|
|
|
10420
10397
|
/**
|
|
10421
10398
|
* Advanced Multi-hop RAG with iterative query refinement, context accumulation,
|
|
@@ -10763,4 +10740,4 @@ declare class AxRateLimiterTokenUsage {
|
|
|
10763
10740
|
acquire(tokens: number): Promise<void>;
|
|
10764
10741
|
}
|
|
10765
10742
|
|
|
10766
|
-
export { AxACE, type AxACEBullet, type AxACECuratorOperation, type AxACECuratorOperationType, type AxACECuratorOutput, type AxACEFeedbackEvent, type AxACEGeneratorOutput, type AxACEOptimizationArtifact, AxACEOptimizedProgram, type AxACEOptions, type AxACEPlaybook, type AxACEReflectionOutput, type AxACEResult, 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 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, AxAIGroq, type AxAIGroqArgs, AxAIGroqModel, AxAIHuggingFace, type AxAIHuggingFaceArgs, type AxAIHuggingFaceConfig, AxAIHuggingFaceModel, type AxAIHuggingFaceRequest, type AxAIHuggingFaceResponse, type AxAIInputModelList, type AxAIMemory, type AxAIMetricsInstruments, AxAIMistral, type AxAIMistralArgs, type AxAIMistralChatRequest, AxAIMistralEmbedModels, AxAIMistralModel, type AxAIModelList, type AxAIModelListBase, type AxAIModels, AxAIOllama, type AxAIOllamaAIConfig, type AxAIOllamaArgs, 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, AxAIOpenAIResponsesImpl, 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 AxAIOpenAIResponsesResponseDelta, 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, AxAIOpenRouter, type AxAIOpenRouterArgs, 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, AxAITogether, type AxAITogetherArgs, AxAIWebLLM, type AxAIWebLLMArgs, type AxAIWebLLMChatRequest, type AxAIWebLLMChatResponse, type AxAIWebLLMChatResponseDelta, type AxAIWebLLMConfig, type AxAIWebLLMEmbedModel, type AxAIWebLLMEmbedRequest, type AxAIWebLLMEmbedResponse, AxAIWebLLMModel, type AxAPI, type AxAPIConfig, AxAgent, type AxAgentConfig, type AxAgentFeatures, type AxAgentOptions, type AxAgentic, AxApacheTika, type AxApacheTikaArgs, type AxApacheTikaConvertOptions, type AxAssertion, AxAssertionError, AxBalancer, type AxBalancerOptions, AxBaseAI, type AxBaseAIArgs, AxBaseOptimizer, AxBootstrapFewShot, type AxBootstrapOptimizerOptions, type AxChatRequest, type AxChatResponse, type AxChatResponseFunctionCall, type AxChatResponseResult, type AxCheckpoint, type AxCheckpointLoadFn, type AxCheckpointSaveFn, type AxCitation, type AxCodeInterpreter, type AxCodeRuntime, type AxCodeSession, type AxCompileOptions, AxContentProcessingError, type AxContentProcessingServices, type AxContextCacheInfo, type AxContextCacheOperation, type AxContextCacheOptions, type AxContextCacheRegistry, type AxContextCacheRegistryEntry, type AxCostTracker, type AxCostTrackerOptions, AxDB, type AxDBArgs, AxDBBase, type AxDBBaseArgs, type AxDBBaseOpOptions, AxDBCloudflare, type AxDBCloudflareArgs, type AxDBCloudflareOpOptions, type AxDBLoaderOptions, AxDBManager, type AxDBManagerArgs, type AxDBMatch, AxDBMemory, type AxDBMemoryArgs, type AxDBMemoryOpOptions, AxDBPinecone, type AxDBPineconeArgs, type AxDBPineconeOpOptions, type AxDBQueryRequest, type AxDBQueryResponse, type AxDBQueryService, type AxDBService, type AxDBState, type AxDBUpsertRequest, type AxDBUpsertResponse, AxDBWeaviate, type AxDBWeaviateArgs, type AxDBWeaviateOpOptions, type AxDataRow, AxDefaultCostTracker, AxDefaultResultReranker, type AxDockerContainer, AxDockerSession, type AxEmbedRequest, type AxEmbedResponse, AxEmbeddingAdapter, type AxErrorCategory, AxEvalUtil, type AxEvaluateArgs, type AxExample$1 as AxExample, type AxExamples, type AxField, type AxFieldProcessor, type AxFieldProcessorProcess, type AxFieldTemplateFn, type AxFieldType, type AxFieldValue, AxFlow, type AxFlowAutoParallelConfig, type AxFlowBranchContext, type AxFlowBranchEvaluationData, type AxFlowCompleteData, AxFlowDependencyAnalyzer, type AxFlowDynamicContext, type AxFlowErrorData, AxFlowExecutionPlanner, type AxFlowExecutionStep, type AxFlowLogData, type AxFlowLoggerData, type AxFlowLoggerFunction, type AxFlowNodeDefinition, type AxFlowParallelBranch, type AxFlowParallelGroup, type AxFlowParallelGroupCompleteData, type AxFlowParallelGroupStartData, type AxFlowStartData, type AxFlowState, type AxFlowStepCompleteData, type AxFlowStepFunction, type AxFlowStepStartData, type AxFlowSubContext, AxFlowSubContextImpl, type AxFlowTypedParallelBranch, type AxFlowTypedSubContext, AxFlowTypedSubContextImpl, type AxFlowable, type AxFluentFieldInfo, AxFluentFieldType, type AxForwardable, type AxFunction, type AxFunctionCallRecord, AxFunctionError, type AxFunctionHandler, type AxFunctionJSONSchema, AxFunctionProcessor, type AxFunctionResult, type AxFunctionResultFormatter, AxGEPA, type AxGEPAAdapter, type AxGEPAEvaluationBatch, AxGEPAFlow, type AxGEPAOptimizationReport, AxGen, type AxGenDeltaOut, type AxGenIn, type AxGenInput, type AxGenMetricsInstruments, type AxGenOut, type AxGenOutput, type AxGenStreamingOut, AxGenerateError, type AxGenerateErrorDetails, type AxGenerateResult, AxHFDataLoader, type AxIField, type AxInputFunctionType, AxInstanceRegistry, type AxInternalChatRequest, type AxInternalEmbedRequest, AxJSRuntime, type AxJSRuntimeOutputMode, AxJSRuntimePermission, AxJudge, type AxJudgeMode, type AxJudgeOptions, type AxJudgeResult, type AxJudgeRubric, AxLLMRequestTypeValues, AxLearn, type AxLearnOptions, type AxLearnProgress, type AxLearnResult, 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 AxMessage, type AxMetricFn, type AxMetricFnArgs, type AxMetricsConfig, AxMiPRO, type AxMiPROOptimizerOptions, type AxMiPROResult, AxMockAIService, type AxMockAIServiceConfig, type AxModelConfig, type AxModelInfo, type AxModelInfoWithProvider, type AxModelUsage, type AxMultiMetricFn, type AxMultiProviderConfig, AxMultiServiceRouter, 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, type AxPreparedChatRequest, AxProgram, type AxProgramDemos, type AxProgramExamples, type AxProgramForwardOptions, type AxProgramForwardOptionsWithModels, type AxProgramOptions, type AxProgramStreamingForwardOptions, type AxProgramStreamingForwardOptionsWithModels, type AxProgramTrace, type AxProgramUsage, type AxProgrammable, AxPromptTemplate, type AxPromptTemplateOptions, AxProviderRouter, type AxRLMConfig, type AxRateLimiterFunction, AxRateLimiterTokenUsage, type AxRateLimiterTokenUsageOptions, type AxRerankerIn, type AxRerankerOut, type AxResponseHandlerArgs, type AxResultPickerFunction, type AxResultPickerFunctionFieldResults, type AxResultPickerFunctionFunctionResults, type AxRewriteIn, type AxRewriteOut, type AxRoutingResult, type AxSamplePickerOptions, type AxSelfTuningConfig, type AxSetExamplesOptions, AxSignature, AxSignatureBuilder, type AxSignatureConfig, AxSimpleClassifier, AxSimpleClassifierClass, type AxSimpleClassifierForwardOptions, AxSpanKindValues, type AxStepContext, AxStepContextImpl, type AxStepHooks, type AxStepUsage, AxStopFunctionCallException, type AxStorage, type AxStorageQuery, type AxStreamingAssertion, type AxStreamingEvent, type AxStreamingFieldProcessorProcess, AxStringUtil, AxSynth, type AxSynthExample, type AxSynthOptions, type AxSynthResult, AxTestPrompt, type AxThoughtBlockItem, AxTokenLimitError, type AxTokenUsage, type AxTrace, AxTraceLogger, type AxTraceLoggerOptions, type AxTunable, type AxTypedExample, type AxUsable, agent, ai, ax, axAIAnthropicDefaultConfig, axAIAnthropicVertexDefaultConfig, axAIAzureOpenAIBestConfig, axAIAzureOpenAICreativeConfig, axAIAzureOpenAIDefaultConfig, axAIAzureOpenAIFastConfig, axAICohereCreativeConfig, axAICohereDefaultConfig, axAIDeepSeekCodeConfig, axAIDeepSeekDefaultConfig, axAIGoogleGeminiDefaultConfig, axAIGoogleGeminiDefaultCreativeConfig, axAIGrokBestConfig, axAIGrokDefaultConfig, axAIHuggingFaceCreativeConfig, axAIHuggingFaceDefaultConfig, axAIMistralBestConfig, axAIMistralDefaultConfig, axAIOllamaDefaultConfig, axAIOllamaDefaultCreativeConfig, axAIOpenAIBestConfig, axAIOpenAICreativeConfig, axAIOpenAIDefaultConfig, axAIOpenAIFastConfig, axAIOpenAIResponsesBestConfig, axAIOpenAIResponsesCreativeConfig, axAIOpenAIResponsesDefaultConfig, axAIOpenRouterDefaultConfig, axAIRekaBestConfig, axAIRekaCreativeConfig, axAIRekaDefaultConfig, axAIRekaFastConfig, axAITogetherDefaultConfig, axAIWebLLMCreativeConfig, axAIWebLLMDefaultConfig, axAnalyzeChatPromptRequirements, axAnalyzeRequestRequirements, axBaseAIDefaultConfig, axBaseAIDefaultCreativeConfig, axBuildRLMDefinition, axCheckMetricsHealth, axCreateDefaultColorLogger, axCreateDefaultOptimizerColorLogger, axCreateDefaultOptimizerTextLogger, axCreateDefaultTextLogger, axCreateFlowColorLogger, axCreateFlowTextLogger, axCreateJSRuntime, axDefaultFlowLogger, axDefaultMetricsConfig, axDefaultOptimizerLogger, axDefaultOptimizerMetricsConfig, axGetCompatibilityReport, axGetFormatCompatibility, axGetMetricsConfig, axGetOptimizerMetricsConfig, axGetProvidersWithMediaSupport, axGlobals, axModelInfoAnthropic, axModelInfoCohere, axModelInfoDeepSeek, axModelInfoGoogleGemini, axModelInfoGrok, axModelInfoGroq, axModelInfoHuggingFace, axModelInfoMistral, axModelInfoOpenAI, axModelInfoOpenAIResponses, axModelInfoReka, axModelInfoTogether, axModelInfoWebLLM, axProcessContentForProvider, axRAG, axScoreProvidersForRequest, axSelectOptimalProvider, axSpanAttributes, axSpanEvents, axUpdateMetricsConfig, axUpdateOptimizerMetricsConfig, axValidateChatRequestMessage, axValidateChatResponseResult, axValidateProviderCapabilities, f, flow, s };
|
|
10743
|
+
export { AxACE, type AxACEBullet, type AxACECuratorOperation, type AxACECuratorOperationType, type AxACECuratorOutput, type AxACEFeedbackEvent, type AxACEGeneratorOutput, type AxACEOptimizationArtifact, AxACEOptimizedProgram, type AxACEOptions, type AxACEPlaybook, type AxACEReflectionOutput, type AxACEResult, 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 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, AxAIGroq, type AxAIGroqArgs, AxAIGroqModel, AxAIHuggingFace, type AxAIHuggingFaceArgs, type AxAIHuggingFaceConfig, AxAIHuggingFaceModel, type AxAIHuggingFaceRequest, type AxAIHuggingFaceResponse, type AxAIInputModelList, type AxAIMemory, type AxAIMetricsInstruments, AxAIMistral, type AxAIMistralArgs, type AxAIMistralChatRequest, AxAIMistralEmbedModels, AxAIMistralModel, type AxAIModelList, type AxAIModelListBase, type AxAIModels, AxAIOllama, type AxAIOllamaAIConfig, type AxAIOllamaArgs, 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, AxAIOpenAIResponsesImpl, 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 AxAIOpenAIResponsesResponseDelta, 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, AxAIOpenRouter, type AxAIOpenRouterArgs, 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, AxAITogether, type AxAITogetherArgs, AxAIWebLLM, type AxAIWebLLMArgs, type AxAIWebLLMChatRequest, type AxAIWebLLMChatResponse, type AxAIWebLLMChatResponseDelta, type AxAIWebLLMConfig, type AxAIWebLLMEmbedModel, type AxAIWebLLMEmbedRequest, type AxAIWebLLMEmbedResponse, AxAIWebLLMModel, type AxAPI, type AxAPIConfig, AxAgent, type AxAgentConfig, type AxAgentOptions, type AxAgentic, AxApacheTika, type AxApacheTikaArgs, type AxApacheTikaConvertOptions, type AxAssertion, AxAssertionError, AxBalancer, type AxBalancerOptions, AxBaseAI, type AxBaseAIArgs, AxBaseOptimizer, AxBootstrapFewShot, type AxBootstrapOptimizerOptions, type AxChatRequest, type AxChatResponse, type AxChatResponseFunctionCall, type AxChatResponseResult, type AxCheckpoint, type AxCheckpointLoadFn, type AxCheckpointSaveFn, type AxCitation, type AxCodeInterpreter, type AxCodeRuntime, type AxCodeSession, type AxCompileOptions, AxContentProcessingError, type AxContentProcessingServices, type AxContextCacheInfo, type AxContextCacheOperation, type AxContextCacheOptions, type AxContextCacheRegistry, type AxContextCacheRegistryEntry, type AxCostTracker, type AxCostTrackerOptions, AxDB, type AxDBArgs, AxDBBase, type AxDBBaseArgs, type AxDBBaseOpOptions, AxDBCloudflare, type AxDBCloudflareArgs, type AxDBCloudflareOpOptions, type AxDBLoaderOptions, AxDBManager, type AxDBManagerArgs, type AxDBMatch, AxDBMemory, type AxDBMemoryArgs, type AxDBMemoryOpOptions, AxDBPinecone, type AxDBPineconeArgs, type AxDBPineconeOpOptions, type AxDBQueryRequest, type AxDBQueryResponse, type AxDBQueryService, type AxDBService, type AxDBState, type AxDBUpsertRequest, type AxDBUpsertResponse, AxDBWeaviate, type AxDBWeaviateArgs, type AxDBWeaviateOpOptions, type AxDataRow, AxDefaultCostTracker, AxDefaultResultReranker, type AxDockerContainer, AxDockerSession, type AxEmbedRequest, type AxEmbedResponse, AxEmbeddingAdapter, type AxErrorCategory, AxEvalUtil, type AxEvaluateArgs, type AxExample$1 as AxExample, type AxExamples, type AxField, type AxFieldProcessor, type AxFieldProcessorProcess, type AxFieldTemplateFn, type AxFieldType, type AxFieldValue, AxFlow, type AxFlowAutoParallelConfig, type AxFlowBranchContext, type AxFlowBranchEvaluationData, type AxFlowCompleteData, AxFlowDependencyAnalyzer, type AxFlowDynamicContext, type AxFlowErrorData, AxFlowExecutionPlanner, type AxFlowExecutionStep, type AxFlowLogData, type AxFlowLoggerData, type AxFlowLoggerFunction, type AxFlowNodeDefinition, type AxFlowParallelBranch, type AxFlowParallelGroup, type AxFlowParallelGroupCompleteData, type AxFlowParallelGroupStartData, type AxFlowStartData, type AxFlowState, type AxFlowStepCompleteData, type AxFlowStepFunction, type AxFlowStepStartData, type AxFlowSubContext, AxFlowSubContextImpl, type AxFlowTypedParallelBranch, type AxFlowTypedSubContext, AxFlowTypedSubContextImpl, type AxFlowable, type AxFluentFieldInfo, AxFluentFieldType, type AxForwardable, type AxFunction, type AxFunctionCallRecord, AxFunctionError, type AxFunctionHandler, type AxFunctionJSONSchema, AxFunctionProcessor, type AxFunctionResult, type AxFunctionResultFormatter, AxGEPA, type AxGEPAAdapter, type AxGEPAEvaluationBatch, AxGEPAFlow, type AxGEPAOptimizationReport, AxGen, type AxGenDeltaOut, type AxGenIn, type AxGenInput, type AxGenMetricsInstruments, type AxGenOut, type AxGenOutput, type AxGenStreamingOut, AxGenerateError, type AxGenerateErrorDetails, type AxGenerateResult, AxHFDataLoader, type AxIField, type AxInputFunctionType, AxInstanceRegistry, type AxInternalChatRequest, type AxInternalEmbedRequest, AxJSRuntime, type AxJSRuntimeOutputMode, AxJSRuntimePermission, AxJudge, type AxJudgeMode, type AxJudgeOptions, type AxJudgeResult, type AxJudgeRubric, AxLLMRequestTypeValues, AxLearn, type AxLearnOptions, type AxLearnProgress, type AxLearnResult, 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 AxMessage, type AxMetricFn, type AxMetricFnArgs, type AxMetricsConfig, AxMiPRO, type AxMiPROOptimizerOptions, type AxMiPROResult, AxMockAIService, type AxMockAIServiceConfig, type AxModelConfig, type AxModelInfo, type AxModelInfoWithProvider, type AxModelUsage, type AxMultiMetricFn, type AxMultiProviderConfig, AxMultiServiceRouter, 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, type AxPreparedChatRequest, AxProgram, type AxProgramDemos, type AxProgramExamples, type AxProgramForwardOptions, type AxProgramForwardOptionsWithModels, type AxProgramOptions, type AxProgramStreamingForwardOptions, type AxProgramStreamingForwardOptionsWithModels, type AxProgramTrace, type AxProgramUsage, type AxProgrammable, AxPromptTemplate, type AxPromptTemplateOptions, AxProviderRouter, type AxRLMConfig, type AxRateLimiterFunction, AxRateLimiterTokenUsage, type AxRateLimiterTokenUsageOptions, type AxRerankerIn, type AxRerankerOut, type AxResponseHandlerArgs, type AxResultPickerFunction, type AxResultPickerFunctionFieldResults, type AxResultPickerFunctionFunctionResults, type AxRewriteIn, type AxRewriteOut, type AxRoutingResult, type AxSamplePickerOptions, type AxSelfTuningConfig, type AxSetExamplesOptions, AxSignature, AxSignatureBuilder, type AxSignatureConfig, AxSimpleClassifier, AxSimpleClassifierClass, type AxSimpleClassifierForwardOptions, AxSpanKindValues, type AxStepContext, AxStepContextImpl, type AxStepHooks, type AxStepUsage, AxStopFunctionCallException, type AxStorage, type AxStorageQuery, type AxStreamingAssertion, type AxStreamingEvent, type AxStreamingFieldProcessorProcess, AxStringUtil, AxSynth, type AxSynthExample, type AxSynthOptions, type AxSynthResult, AxTestPrompt, type AxThoughtBlockItem, AxTokenLimitError, type AxTokenUsage, type AxTrace, AxTraceLogger, type AxTraceLoggerOptions, type AxTunable, type AxTypedExample, type AxUsable, agent, ai, ax, axAIAnthropicDefaultConfig, axAIAnthropicVertexDefaultConfig, axAIAzureOpenAIBestConfig, axAIAzureOpenAICreativeConfig, axAIAzureOpenAIDefaultConfig, axAIAzureOpenAIFastConfig, axAICohereCreativeConfig, axAICohereDefaultConfig, axAIDeepSeekCodeConfig, axAIDeepSeekDefaultConfig, axAIGoogleGeminiDefaultConfig, axAIGoogleGeminiDefaultCreativeConfig, axAIGrokBestConfig, axAIGrokDefaultConfig, axAIHuggingFaceCreativeConfig, axAIHuggingFaceDefaultConfig, axAIMistralBestConfig, axAIMistralDefaultConfig, axAIOllamaDefaultConfig, axAIOllamaDefaultCreativeConfig, axAIOpenAIBestConfig, axAIOpenAICreativeConfig, axAIOpenAIDefaultConfig, axAIOpenAIFastConfig, axAIOpenAIResponsesBestConfig, axAIOpenAIResponsesCreativeConfig, axAIOpenAIResponsesDefaultConfig, axAIOpenRouterDefaultConfig, axAIRekaBestConfig, axAIRekaCreativeConfig, axAIRekaDefaultConfig, axAIRekaFastConfig, axAITogetherDefaultConfig, axAIWebLLMCreativeConfig, axAIWebLLMDefaultConfig, axAnalyzeChatPromptRequirements, axAnalyzeRequestRequirements, axBaseAIDefaultConfig, axBaseAIDefaultCreativeConfig, axBuildActorDefinition, axBuildResponderDefinition, axCheckMetricsHealth, axCreateDefaultColorLogger, axCreateDefaultOptimizerColorLogger, axCreateDefaultOptimizerTextLogger, axCreateDefaultTextLogger, axCreateFlowColorLogger, axCreateFlowTextLogger, axCreateJSRuntime, axDefaultFlowLogger, axDefaultMetricsConfig, axDefaultOptimizerLogger, axDefaultOptimizerMetricsConfig, axGetCompatibilityReport, axGetFormatCompatibility, axGetMetricsConfig, axGetOptimizerMetricsConfig, axGetProvidersWithMediaSupport, axGlobals, axModelInfoAnthropic, axModelInfoCohere, axModelInfoDeepSeek, axModelInfoGoogleGemini, axModelInfoGrok, axModelInfoGroq, axModelInfoHuggingFace, axModelInfoMistral, axModelInfoOpenAI, axModelInfoOpenAIResponses, axModelInfoReka, axModelInfoTogether, axModelInfoWebLLM, axProcessContentForProvider, axRAG, axScoreProvidersForRequest, axSelectOptimalProvider, axSpanAttributes, axSpanEvents, axUpdateMetricsConfig, axUpdateOptimizerMetricsConfig, axValidateChatRequestMessage, axValidateChatResponseResult, axValidateProviderCapabilities, f, flow, s };
|