@ax-llm/ax 16.1.2 → 16.1.6
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 +178 -134
- package/index.cjs.map +1 -1
- package/index.d.cts +206 -5
- package/index.d.ts +206 -5
- package/index.global.js +198 -154
- package/index.global.js.map +1 -1
- package/index.js +182 -138
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/ax-llm.md +1 -1
package/index.d.ts
CHANGED
|
@@ -340,6 +340,7 @@ type AxFunctionHandler = (args?: any, extra?: Readonly<{
|
|
|
340
340
|
traceId?: string;
|
|
341
341
|
debug?: boolean;
|
|
342
342
|
ai?: AxAIService;
|
|
343
|
+
step?: AxStepContext;
|
|
343
344
|
}>) => unknown;
|
|
344
345
|
type AxFunctionJSONSchema = {
|
|
345
346
|
type: string;
|
|
@@ -349,6 +350,7 @@ type AxFunctionJSONSchema = {
|
|
|
349
350
|
}>;
|
|
350
351
|
required?: string[];
|
|
351
352
|
items?: AxFunctionJSONSchema;
|
|
353
|
+
enum?: string[];
|
|
352
354
|
title?: string;
|
|
353
355
|
additionalProperties?: boolean;
|
|
354
356
|
};
|
|
@@ -1833,6 +1835,60 @@ declare class AxMemory implements AxAIMemory {
|
|
|
1833
1835
|
reset(sessionId?: string): void;
|
|
1834
1836
|
}
|
|
1835
1837
|
|
|
1838
|
+
/**
|
|
1839
|
+
* Internal implementation of AxStepContext.
|
|
1840
|
+
* Uses a pending mutations pattern: mutations are collected during a step
|
|
1841
|
+
* and consumed/applied at the next step boundary.
|
|
1842
|
+
*/
|
|
1843
|
+
declare class AxStepContextImpl implements AxStepContext {
|
|
1844
|
+
private _stepIndex;
|
|
1845
|
+
readonly maxSteps: number;
|
|
1846
|
+
private _functionsExecuted;
|
|
1847
|
+
private _lastFunctionCalls;
|
|
1848
|
+
private _usage;
|
|
1849
|
+
readonly state: Map<string, unknown>;
|
|
1850
|
+
private _pendingOptions;
|
|
1851
|
+
private _functionsToAdd;
|
|
1852
|
+
private _functionsToRemove;
|
|
1853
|
+
private _stopRequested;
|
|
1854
|
+
private _stopResultValues?;
|
|
1855
|
+
constructor(maxSteps: number);
|
|
1856
|
+
get stepIndex(): number;
|
|
1857
|
+
get isFirstStep(): boolean;
|
|
1858
|
+
get functionsExecuted(): ReadonlySet<string>;
|
|
1859
|
+
get lastFunctionCalls(): readonly AxFunctionCallRecord[];
|
|
1860
|
+
get usage(): Readonly<AxStepUsage>;
|
|
1861
|
+
setModel(model: string): void;
|
|
1862
|
+
setThinkingBudget(budget: AxAIServiceOptions['thinkingTokenBudget']): void;
|
|
1863
|
+
setTemperature(temperature: number): void;
|
|
1864
|
+
setMaxTokens(maxTokens: number): void;
|
|
1865
|
+
setOptions(options: Partial<AxAIServiceOptions & {
|
|
1866
|
+
modelConfig?: Partial<AxModelConfig>;
|
|
1867
|
+
}>): void;
|
|
1868
|
+
addFunctions(functions: AxInputFunctionType): void;
|
|
1869
|
+
removeFunctions(...names: string[]): void;
|
|
1870
|
+
stop(resultValues?: Record<string, unknown>): void;
|
|
1871
|
+
/** Reset per-step state at the beginning of a new step. */
|
|
1872
|
+
_beginStep(stepIndex: number): void;
|
|
1873
|
+
/** Record a function call that was executed during this step. */
|
|
1874
|
+
_recordFunctionCall(name: string, args: unknown, result: unknown): void;
|
|
1875
|
+
/** Accumulate token usage from a completed step. */
|
|
1876
|
+
_addUsage(promptTokens: number, completionTokens: number, totalTokens: number): void;
|
|
1877
|
+
/** Consume and clear pending options. Returns undefined if no pending options. */
|
|
1878
|
+
_consumePendingOptions(): Partial<AxAIServiceOptions & {
|
|
1879
|
+
modelConfig?: Partial<AxModelConfig>;
|
|
1880
|
+
model?: string;
|
|
1881
|
+
}> | undefined;
|
|
1882
|
+
/** Consume and clear pending functions to add. */
|
|
1883
|
+
_consumeFunctionsToAdd(): AxInputFunctionType | undefined;
|
|
1884
|
+
/** Consume and clear pending function names to remove. */
|
|
1885
|
+
_consumeFunctionsToRemove(): string[] | undefined;
|
|
1886
|
+
/** Check if stop was requested. */
|
|
1887
|
+
get _isStopRequested(): boolean;
|
|
1888
|
+
/** Get stop result values if any. */
|
|
1889
|
+
get _stopValues(): Record<string, unknown> | undefined;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1836
1892
|
declare class AxStopFunctionCallException extends Error {
|
|
1837
1893
|
readonly calls: ReadonlyArray<{
|
|
1838
1894
|
func: Readonly<AxFunction>;
|
|
@@ -1869,6 +1925,7 @@ declare class AxFunctionProcessor {
|
|
|
1869
1925
|
executeWithDetails: <MODEL>(func: Readonly<AxChatResponseFunctionCall>, options?: Readonly<AxProgramForwardOptions<MODEL> & {
|
|
1870
1926
|
traceId?: string;
|
|
1871
1927
|
stopFunctionNames?: readonly string[];
|
|
1928
|
+
step?: AxStepContextImpl;
|
|
1872
1929
|
}>) => Promise<{
|
|
1873
1930
|
formatted: string;
|
|
1874
1931
|
rawResult: unknown;
|
|
@@ -1877,6 +1934,7 @@ declare class AxFunctionProcessor {
|
|
|
1877
1934
|
execute: <MODEL>(func: Readonly<AxChatResponseFunctionCall>, options?: Readonly<AxProgramForwardOptions<MODEL> & {
|
|
1878
1935
|
traceId?: string;
|
|
1879
1936
|
stopFunctionNames?: readonly string[];
|
|
1937
|
+
step?: AxStepContextImpl;
|
|
1880
1938
|
}>) => Promise<string>;
|
|
1881
1939
|
}
|
|
1882
1940
|
type AxInputFunctionType = (AxFunction | {
|
|
@@ -2753,6 +2811,7 @@ declare class AxGen<IN = any, OUT extends AxGenOut = any> extends AxProgram<IN,
|
|
|
2753
2811
|
private excludeContentFromTrace;
|
|
2754
2812
|
private thoughtFieldName;
|
|
2755
2813
|
private signatureToolCallingManager?;
|
|
2814
|
+
private structuredOutputFunctionFallback;
|
|
2756
2815
|
constructor(signature: NonNullable<ConstructorParameters<typeof AxSignature>[0]> | AxSignature<any, any>, options?: Readonly<AxProgramForwardOptions<any>>);
|
|
2757
2816
|
setInstruction(instruction: string): void;
|
|
2758
2817
|
getInstruction(): string | undefined;
|
|
@@ -2915,6 +2974,8 @@ interface AxPromptTemplateOptions {
|
|
|
2915
2974
|
examplesInSystem?: boolean;
|
|
2916
2975
|
/** When true, cacheBreakpoint is ignored and cache is applied to all positions (for providers with auto-lookback like Anthropic) */
|
|
2917
2976
|
ignoreBreakpoints?: boolean;
|
|
2977
|
+
/** When set, indicates structured output should be delivered via a function call with this name */
|
|
2978
|
+
structuredOutputFunctionName?: string;
|
|
2918
2979
|
}
|
|
2919
2980
|
type AxChatRequestChatPrompt = Writeable<AxChatRequest['chatPrompt'][0]>;
|
|
2920
2981
|
type ChatRequestUserMessage = Exclude<Extract<AxChatRequestChatPrompt, {
|
|
@@ -2933,6 +2994,7 @@ declare class AxPromptTemplate {
|
|
|
2933
2994
|
private readonly contextCache?;
|
|
2934
2995
|
private readonly examplesInSystem;
|
|
2935
2996
|
private readonly ignoreBreakpoints;
|
|
2997
|
+
private readonly structuredOutputFunctionName?;
|
|
2936
2998
|
constructor(sig: Readonly<AxSignature>, options?: Readonly<AxPromptTemplateOptions>, fieldTemplates?: Record<string, AxFieldTemplateFn>);
|
|
2937
2999
|
/**
|
|
2938
3000
|
* Build a map from field names to their formatted titles.
|
|
@@ -2979,7 +3041,7 @@ declare class AxPromptTemplate {
|
|
|
2979
3041
|
examples?: Record<string, AxFieldValue>[];
|
|
2980
3042
|
demos?: Record<string, AxFieldValue>[];
|
|
2981
3043
|
}>) => Extract<AxChatRequest["chatPrompt"][number], {
|
|
2982
|
-
role: "user" | "system" | "assistant";
|
|
3044
|
+
role: "user" | "system" | "assistant" | "function";
|
|
2983
3045
|
}>[];
|
|
2984
3046
|
/**
|
|
2985
3047
|
* Render prompt with examples/demos as alternating user/assistant message pairs.
|
|
@@ -3230,6 +3292,72 @@ type ParseSignature<S extends string> = StripSignatureDescription<Trim<S>> exten
|
|
|
3230
3292
|
outputs: Record<string, any>;
|
|
3231
3293
|
};
|
|
3232
3294
|
|
|
3295
|
+
/**
|
|
3296
|
+
* Record of a single function call executed during a step.
|
|
3297
|
+
*/
|
|
3298
|
+
type AxFunctionCallRecord = {
|
|
3299
|
+
readonly name: string;
|
|
3300
|
+
readonly args: unknown;
|
|
3301
|
+
readonly result: unknown;
|
|
3302
|
+
};
|
|
3303
|
+
/**
|
|
3304
|
+
* Accumulated token usage across steps.
|
|
3305
|
+
*/
|
|
3306
|
+
type AxStepUsage = {
|
|
3307
|
+
promptTokens: number;
|
|
3308
|
+
completionTokens: number;
|
|
3309
|
+
totalTokens: number;
|
|
3310
|
+
};
|
|
3311
|
+
/**
|
|
3312
|
+
* Mutable context object that flows through the generation loop.
|
|
3313
|
+
* Accessible to functions and step hooks, enabling per-step control
|
|
3314
|
+
* over model, options, functions, and loop flow.
|
|
3315
|
+
*
|
|
3316
|
+
* Uses a pending mutations pattern: changes are collected during a step
|
|
3317
|
+
* and applied at the top of the next iteration.
|
|
3318
|
+
*/
|
|
3319
|
+
interface AxStepContext {
|
|
3320
|
+
readonly stepIndex: number;
|
|
3321
|
+
readonly maxSteps: number;
|
|
3322
|
+
readonly isFirstStep: boolean;
|
|
3323
|
+
readonly functionsExecuted: ReadonlySet<string>;
|
|
3324
|
+
readonly lastFunctionCalls: readonly AxFunctionCallRecord[];
|
|
3325
|
+
readonly usage: Readonly<AxStepUsage>;
|
|
3326
|
+
readonly state: Map<string, unknown>;
|
|
3327
|
+
setModel(model: string): void;
|
|
3328
|
+
setThinkingBudget(budget: AxAIServiceOptions['thinkingTokenBudget']): void;
|
|
3329
|
+
setTemperature(temperature: number): void;
|
|
3330
|
+
setMaxTokens(maxTokens: number): void;
|
|
3331
|
+
setOptions(options: Partial<AxAIServiceOptions & {
|
|
3332
|
+
modelConfig?: Partial<AxModelConfig>;
|
|
3333
|
+
}>): void;
|
|
3334
|
+
addFunctions(functions: AxInputFunctionType): void;
|
|
3335
|
+
removeFunctions(...names: string[]): void;
|
|
3336
|
+
stop(resultValues?: Record<string, unknown>): void;
|
|
3337
|
+
}
|
|
3338
|
+
/**
|
|
3339
|
+
* Hooks called at various points during the multi-step generation loop.
|
|
3340
|
+
*/
|
|
3341
|
+
type AxStepHooks = {
|
|
3342
|
+
beforeStep?: (ctx: AxStepContext) => void | Promise<void>;
|
|
3343
|
+
afterStep?: (ctx: AxStepContext) => void | Promise<void>;
|
|
3344
|
+
afterFunctionExecution?: (ctx: AxStepContext) => void | Promise<void>;
|
|
3345
|
+
};
|
|
3346
|
+
/**
|
|
3347
|
+
* Configuration for LLM self-tuning capabilities.
|
|
3348
|
+
* When enabled, an `adjustGeneration` function is auto-injected
|
|
3349
|
+
* that lets the LLM adjust its own generation parameters.
|
|
3350
|
+
*/
|
|
3351
|
+
type AxSelfTuningConfig = {
|
|
3352
|
+
/** Let the LLM pick from available models. */
|
|
3353
|
+
model?: boolean;
|
|
3354
|
+
/** Let the LLM adjust reasoning depth. */
|
|
3355
|
+
thinkingBudget?: boolean;
|
|
3356
|
+
/** Let the LLM adjust sampling temperature. */
|
|
3357
|
+
temperature?: boolean;
|
|
3358
|
+
/** Pool of functions the LLM can activate/deactivate per step. */
|
|
3359
|
+
functions?: AxInputFunctionType;
|
|
3360
|
+
};
|
|
3233
3361
|
type AxFieldValue = string | string[] | number | boolean | object | null | undefined | {
|
|
3234
3362
|
mimeType: string;
|
|
3235
3363
|
data: string;
|
|
@@ -3309,9 +3437,12 @@ type AxProgramForwardOptions<MODEL> = AxAIServiceOptions & {
|
|
|
3309
3437
|
fastFail?: boolean;
|
|
3310
3438
|
showThoughts?: boolean;
|
|
3311
3439
|
functionCallMode?: 'auto' | 'native' | 'prompt';
|
|
3440
|
+
structuredOutputMode?: 'auto' | 'native' | 'function';
|
|
3312
3441
|
cachingFunction?: (key: string, value?: AxGenOut) => AxGenOut | undefined | Promise<AxGenOut | undefined>;
|
|
3313
3442
|
disableMemoryCleanup?: boolean;
|
|
3314
3443
|
traceLabel?: string;
|
|
3444
|
+
stepHooks?: AxStepHooks;
|
|
3445
|
+
selfTuning?: boolean | AxSelfTuningConfig;
|
|
3315
3446
|
description?: string;
|
|
3316
3447
|
thoughtFieldName?: string;
|
|
3317
3448
|
promptTemplate?: typeof AxPromptTemplate;
|
|
@@ -3567,6 +3698,7 @@ declare class AxBaseAI<TModel, TEmbedModel, TChatRequest, TEmbedRequest, TChatRe
|
|
|
3567
3698
|
}
|
|
3568
3699
|
|
|
3569
3700
|
declare enum AxAIAnthropicModel {
|
|
3701
|
+
Claude46Opus = "claude-opus-4-6",
|
|
3570
3702
|
Claude45Opus = "claude-opus-4-5-20251101",
|
|
3571
3703
|
Claude41Opus = "claude-opus-4-1-20250805",
|
|
3572
3704
|
Claude4Opus = "claude-opus-4-20250514",
|
|
@@ -3583,6 +3715,7 @@ declare enum AxAIAnthropicModel {
|
|
|
3583
3715
|
ClaudeInstant12 = "claude-instant-1.2"
|
|
3584
3716
|
}
|
|
3585
3717
|
declare enum AxAIAnthropicVertexModel {
|
|
3718
|
+
Claude46Opus = "claude-opus-4-6@20260205",
|
|
3586
3719
|
Claude45Opus = "claude-opus-4-5@20251101",
|
|
3587
3720
|
Claude41Opus = "claude-opus-4-1@20250805",
|
|
3588
3721
|
Claude4Opus = "claude-opus-4@20250514",
|
|
@@ -3597,13 +3730,28 @@ declare enum AxAIAnthropicVertexModel {
|
|
|
3597
3730
|
Claude3Haiku = "claude-3-haiku@20240307"
|
|
3598
3731
|
}
|
|
3599
3732
|
type AxAIAnthropicThinkingConfig = {
|
|
3600
|
-
type: 'enabled';
|
|
3601
|
-
budget_tokens: number;
|
|
3602
3733
|
/** Optional: numeric budget hint used in config normalization */
|
|
3603
3734
|
thinkingTokenBudget?: number;
|
|
3604
3735
|
/** Optional: include provider thinking content in outputs */
|
|
3605
3736
|
includeThoughts?: boolean;
|
|
3606
3737
|
};
|
|
3738
|
+
type AxAIAnthropicThinkingWire = {
|
|
3739
|
+
type: 'enabled';
|
|
3740
|
+
budget_tokens: number;
|
|
3741
|
+
} | {
|
|
3742
|
+
type: 'adaptive';
|
|
3743
|
+
};
|
|
3744
|
+
type AxAIAnthropicEffortLevel = 'low' | 'medium' | 'high' | 'max';
|
|
3745
|
+
type AxAIAnthropicOutputConfig = {
|
|
3746
|
+
effort?: AxAIAnthropicEffortLevel;
|
|
3747
|
+
};
|
|
3748
|
+
type AxAIAnthropicEffortLevelMapping = {
|
|
3749
|
+
minimal?: AxAIAnthropicEffortLevel;
|
|
3750
|
+
low?: AxAIAnthropicEffortLevel;
|
|
3751
|
+
medium?: AxAIAnthropicEffortLevel;
|
|
3752
|
+
high?: AxAIAnthropicEffortLevel;
|
|
3753
|
+
highest?: AxAIAnthropicEffortLevel;
|
|
3754
|
+
};
|
|
3607
3755
|
type AxAIAnthropicThinkingTokenBudgetLevels = {
|
|
3608
3756
|
minimal?: number;
|
|
3609
3757
|
low?: number;
|
|
@@ -3635,6 +3783,7 @@ type AxAIAnthropicConfig = AxModelConfig & {
|
|
|
3635
3783
|
model: AxAIAnthropicModel | AxAIAnthropicVertexModel;
|
|
3636
3784
|
thinking?: AxAIAnthropicThinkingConfig;
|
|
3637
3785
|
thinkingTokenBudgetLevels?: AxAIAnthropicThinkingTokenBudgetLevels;
|
|
3786
|
+
effortLevelMapping?: AxAIAnthropicEffortLevelMapping;
|
|
3638
3787
|
tools?: ReadonlyArray<AxAIAnthropicRequestTool>;
|
|
3639
3788
|
};
|
|
3640
3789
|
type AxAIAnthropicChatRequestCacheParam = {
|
|
@@ -3710,7 +3859,8 @@ type AxAIAnthropicChatRequest = {
|
|
|
3710
3859
|
temperature?: number;
|
|
3711
3860
|
top_p?: number;
|
|
3712
3861
|
top_k?: number;
|
|
3713
|
-
thinking?:
|
|
3862
|
+
thinking?: AxAIAnthropicThinkingWire;
|
|
3863
|
+
output_config?: AxAIAnthropicOutputConfig;
|
|
3714
3864
|
output_format?: {
|
|
3715
3865
|
type: 'json_schema';
|
|
3716
3866
|
schema: object;
|
|
@@ -9868,6 +10018,46 @@ declare class AxMCPHTTPSSETransport implements AxMCPTransport {
|
|
|
9868
10018
|
close(): void;
|
|
9869
10019
|
}
|
|
9870
10020
|
|
|
10021
|
+
/**
|
|
10022
|
+
* RLM (Recursive Language Model) interfaces and prompt builder.
|
|
10023
|
+
*
|
|
10024
|
+
* Pluggable interpreter interface — anyone can implement for any runtime.
|
|
10025
|
+
* No Node.js-specific imports; browser-safe.
|
|
10026
|
+
*/
|
|
10027
|
+
/**
|
|
10028
|
+
* A code interpreter that can create persistent sessions.
|
|
10029
|
+
* Implement this interface for your target runtime (Node.js, browser, WASM, etc.).
|
|
10030
|
+
*/
|
|
10031
|
+
interface AxCodeInterpreter {
|
|
10032
|
+
readonly language: string;
|
|
10033
|
+
createSession(globals?: Record<string, unknown>): AxCodeSession;
|
|
10034
|
+
}
|
|
10035
|
+
/**
|
|
10036
|
+
* A persistent code execution session. Variables persist across `execute()` calls.
|
|
10037
|
+
*/
|
|
10038
|
+
interface AxCodeSession {
|
|
10039
|
+
execute(code: string): Promise<unknown>;
|
|
10040
|
+
close(): void;
|
|
10041
|
+
}
|
|
10042
|
+
/**
|
|
10043
|
+
* RLM configuration for AxAgent.
|
|
10044
|
+
*/
|
|
10045
|
+
interface AxRLMConfig {
|
|
10046
|
+
/** Input fields holding long context (will be removed from the LLM prompt). */
|
|
10047
|
+
contextFields: string[];
|
|
10048
|
+
/** Code interpreter for the REPL loop. Required. */
|
|
10049
|
+
interpreter: AxCodeInterpreter;
|
|
10050
|
+
/** Cap on recursive sub-LM calls (default: 50). */
|
|
10051
|
+
maxLlmCalls?: number;
|
|
10052
|
+
/** Model for llmQuery sub-calls (default: same as parent). */
|
|
10053
|
+
subModel?: string;
|
|
10054
|
+
}
|
|
10055
|
+
/**
|
|
10056
|
+
* Builds the RLM system prompt that instructs the LLM on how to use the
|
|
10057
|
+
* code interpreter, context variables, and llmQuery for semantic analysis.
|
|
10058
|
+
*/
|
|
10059
|
+
declare function axBuildRLMDefinition(baseDefinition: string | undefined, language: string, contextFieldNames: string[]): string;
|
|
10060
|
+
|
|
9871
10061
|
/**
|
|
9872
10062
|
* Interface for agents that can be used as child agents.
|
|
9873
10063
|
* Provides methods to get the agent's function definition and features.
|
|
@@ -9881,6 +10071,8 @@ type AxAgentOptions = Omit<AxProgramForwardOptions<string>, 'functions'> & {
|
|
|
9881
10071
|
/** List of field names that should not be automatically passed from parent to child agents */
|
|
9882
10072
|
excludeFieldsFromPassthrough?: string[];
|
|
9883
10073
|
debug?: boolean;
|
|
10074
|
+
/** RLM (Recursive Language Model) configuration for handling long contexts */
|
|
10075
|
+
rlm?: AxRLMConfig;
|
|
9884
10076
|
};
|
|
9885
10077
|
interface AxAgentFeatures {
|
|
9886
10078
|
/** Whether this agent can use smart model routing (requires an AI service) */
|
|
@@ -9924,6 +10116,8 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
|
|
|
9924
10116
|
private excludeFieldsFromPassthrough;
|
|
9925
10117
|
private debug?;
|
|
9926
10118
|
private options?;
|
|
10119
|
+
private rlmConfig?;
|
|
10120
|
+
private rlmProgram?;
|
|
9927
10121
|
private name;
|
|
9928
10122
|
private func;
|
|
9929
10123
|
constructor({ ai, name, description, definition, signature, agents, functions, }: Readonly<{
|
|
@@ -9975,6 +10169,13 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
|
|
|
9975
10169
|
private init;
|
|
9976
10170
|
forward<T extends Readonly<AxAIService>>(parentAi: T, values: IN | AxMessage<IN>[], options?: Readonly<AxProgramForwardOptionsWithModels<T>>): Promise<OUT>;
|
|
9977
10171
|
streamingForward<T extends Readonly<AxAIService>>(parentAi: T, values: IN | AxMessage<IN>[], options?: Readonly<AxProgramStreamingForwardOptionsWithModels<T>>): AxGenStreamingOut<OUT>;
|
|
10172
|
+
private _defaultForward;
|
|
10173
|
+
private _defaultStreamingForward;
|
|
10174
|
+
/**
|
|
10175
|
+
* RLM forward: extracts context fields, creates an interpreter session with
|
|
10176
|
+
* context + llmQuery globals, and runs the rlmProgram with codeInterpreter.
|
|
10177
|
+
*/
|
|
10178
|
+
private _rlmForward;
|
|
9978
10179
|
/**
|
|
9979
10180
|
* Updates the agent's description.
|
|
9980
10181
|
* This updates both the stored description and the function's description.
|
|
@@ -10386,4 +10587,4 @@ declare class AxRateLimiterTokenUsage {
|
|
|
10386
10587
|
acquire(tokens: number): Promise<void>;
|
|
10387
10588
|
}
|
|
10388
10589
|
|
|
10389
|
-
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 AxAIAnthropicErrorEvent, type AxAIAnthropicFunctionTool, type AxAIAnthropicMessageDeltaEvent, type AxAIAnthropicMessageStartEvent, type AxAIAnthropicMessageStopEvent, AxAIAnthropicModel, type AxAIAnthropicPingEvent, type AxAIAnthropicRequestTool, type AxAIAnthropicThinkingConfig, type AxAIAnthropicThinkingTokenBudgetLevels, 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 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, 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, 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 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 AxSetExamplesOptions, AxSignature, AxSignatureBuilder, type AxSignatureConfig, AxSimpleClassifier, AxSimpleClassifierClass, type AxSimpleClassifierForwardOptions, AxSpanKindValues, 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, axCheckMetricsHealth, axCreateDefaultColorLogger, axCreateDefaultOptimizerColorLogger, axCreateDefaultOptimizerTextLogger, axCreateDefaultTextLogger, axCreateFlowColorLogger, axCreateFlowTextLogger, 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 };
|
|
10590
|
+
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 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, 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, 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 };
|