@ax-llm/ax 12.0.16 → 12.0.18

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.d.cts CHANGED
@@ -65,6 +65,15 @@ declare class AxAIServiceAbortedError extends AxAIServiceError {
65
65
  declare class AxAIServiceAuthenticationError extends AxAIServiceError {
66
66
  constructor(url: string, requestBody: unknown, responseBody: unknown, context?: Record<string, unknown>);
67
67
  }
68
+ declare class AxAIRefusalError extends Error {
69
+ readonly refusalMessage: string;
70
+ readonly model?: string | undefined;
71
+ readonly requestId?: string | undefined;
72
+ readonly timestamp: string;
73
+ readonly errorId: string;
74
+ constructor(refusalMessage: string, model?: string | undefined, requestId?: string | undefined);
75
+ toString(): string;
76
+ }
68
77
 
69
78
  interface AxAIFeatures {
70
79
  functions: boolean;
@@ -169,6 +178,7 @@ type AxModelInfo = {
169
178
  hasThinkingBudget?: boolean;
170
179
  hasShowThoughts?: boolean;
171
180
  maxTokens?: number;
181
+ isExpensive?: boolean;
172
182
  };
173
183
  type AxTokenUsage = {
174
184
  promptTokens: number;
@@ -228,6 +238,14 @@ type AxChatResponseResult = {
228
238
  params?: string | object;
229
239
  };
230
240
  }[];
241
+ annotations?: {
242
+ type: 'url_citation';
243
+ url_citation: {
244
+ url: string;
245
+ title?: string;
246
+ description?: string;
247
+ };
248
+ }[];
231
249
  finishReason?: 'stop' | 'length' | 'function_call' | 'content_filter' | 'error';
232
250
  };
233
251
  type AxModelUsage = {
@@ -353,6 +371,7 @@ type AxAIPromptConfig = {
353
371
  stream?: boolean;
354
372
  thinkingTokenBudget?: 'minimal' | 'low' | 'medium' | 'high' | 'highest' | 'none';
355
373
  showThoughts?: boolean;
374
+ useExpensiveModel?: 'yes';
356
375
  };
357
376
  type AxAIServiceOptions = {
358
377
  debug?: boolean;
@@ -649,8 +668,6 @@ declare class AxAIAnthropic extends AxBaseAI<AxAIAnthropicModel | AxAIAnthropicV
649
668
  }
650
669
 
651
670
  declare enum AxAIOpenAIModel {
652
- O1 = "o1",
653
- O1Mini = "o1-mini",
654
671
  GPT4 = "gpt-4",
655
672
  GPT41 = "gpt-4.1",
656
673
  GPT41Mini = "gpt-4.1-mini",
@@ -662,13 +679,27 @@ declare enum AxAIOpenAIModel {
662
679
  GPT35TurboInstruct = "gpt-3.5-turbo-instruct",
663
680
  GPT35TextDavinci002 = "text-davinci-002",
664
681
  GPT3TextBabbage002 = "text-babbage-002",
665
- GPT3TextAda001 = "text-ada-001"
682
+ GPT3TextAda001 = "text-ada-001",
683
+ O1 = "o1",
684
+ O1Mini = "o1-mini",
685
+ O3 = "o3",
686
+ O3Mini = "o3-mini",
687
+ O4Mini = "o4-mini"
666
688
  }
667
689
  declare enum AxAIOpenAIEmbedModel {
668
690
  TextEmbeddingAda002 = "text-embedding-ada-002",
669
691
  TextEmbedding3Small = "text-embedding-3-small",
670
692
  TextEmbedding3Large = "text-embedding-3-large"
671
693
  }
694
+ type AxAIOpenAIUrlCitation = {
695
+ url: string;
696
+ title?: string;
697
+ description?: string;
698
+ };
699
+ type AxAIOpenAIAnnotation = {
700
+ type: 'url_citation';
701
+ url_citation: AxAIOpenAIUrlCitation;
702
+ };
672
703
  type AxAIOpenAIConfig<TModel, TEmbedModel> = Omit<AxModelConfig, 'topK'> & {
673
704
  model: TModel;
674
705
  embedModel?: TEmbedModel;
@@ -829,8 +860,10 @@ type AxAIOpenAIChatResponse = {
829
860
  index: number;
830
861
  message: {
831
862
  role: string;
832
- content: string;
863
+ content: string | null;
864
+ refusal: string | null;
833
865
  reasoning_content?: string;
866
+ annotations?: AxAIOpenAIAnnotation[];
834
867
  tool_calls?: {
835
868
  id: string;
836
869
  type: 'function';
@@ -852,9 +885,11 @@ type AxAIOpenAIChatResponse = {
852
885
  system_fingerprint: string;
853
886
  };
854
887
  type AxAIOpenAIChatResponseDelta = AxAIOpenAIResponseDelta<{
855
- content: string;
888
+ content: string | null;
889
+ refusal?: string | null;
856
890
  reasoning_content?: string;
857
891
  role?: string;
892
+ annotations?: AxAIOpenAIAnnotation[];
858
893
  tool_calls?: (NonNullable<AxAIOpenAIChatResponse['choices'][0]['message']['tool_calls']>[0] & {
859
894
  index: number;
860
895
  })[];
@@ -1444,8 +1479,6 @@ declare class AxAIOllama extends AxAIOpenAIBase<string, string> {
1444
1479
  }
1445
1480
 
1446
1481
  declare enum AxAIOpenAIResponsesModel {
1447
- O1 = "o1",
1448
- O1Mini = "o1-mini",
1449
1482
  GPT4 = "gpt-4",
1450
1483
  GPT41 = "gpt-4.1",
1451
1484
  GPT41Mini = "gpt-4.1-mini",
@@ -1458,6 +1491,10 @@ declare enum AxAIOpenAIResponsesModel {
1458
1491
  GPT35TextDavinci002 = "text-davinci-002",
1459
1492
  GPT3TextBabbage002 = "text-babbage-002",
1460
1493
  GPT3TextAda001 = "text-ada-001",
1494
+ O1Pro = "o1-pro",
1495
+ O1 = "o1",
1496
+ O1Mini = "o1-mini",
1497
+ O3Pro = "o3-pro",
1461
1498
  O3 = "o3",
1462
1499
  O3Mini = "o3-mini",
1463
1500
  O4Mini = "o4-mini"
@@ -1568,7 +1605,10 @@ interface AxAIOpenAIResponsesFunctionCallItem {
1568
1605
  interface AxAIOpenAIResponsesReasoningItem {
1569
1606
  readonly type: 'reasoning';
1570
1607
  readonly id: string;
1571
- readonly summary: ReadonlyArray<string | object>;
1608
+ readonly summary: ReadonlyArray<{
1609
+ type: 'summary_text';
1610
+ text: string;
1611
+ }>;
1572
1612
  readonly encrypted_content?: string | null;
1573
1613
  readonly status?: 'in_progress' | 'completed' | 'incomplete';
1574
1614
  }
@@ -1875,6 +1915,7 @@ type AxAIOpenAIResponsesConfig<TModel, TEmbedModel> = Omit<AxModelConfig, 'topK'
1875
1915
  echo?: boolean;
1876
1916
  dimensions?: number;
1877
1917
  reasoningEffort?: 'low' | 'medium' | 'high';
1918
+ reasoningSummary?: 'auto' | 'concise' | 'detailed';
1878
1919
  store?: boolean;
1879
1920
  systemPrompt?: string;
1880
1921
  parallelToolCalls?: boolean;
@@ -3503,6 +3544,236 @@ declare class AxGenerateError extends Error {
3503
3544
  constructor(message: string, details: Readonly<AxGenerateErrorDetails>, options?: ErrorOptions);
3504
3545
  }
3505
3546
 
3547
+ type AxFlowState = Record<string, unknown>;
3548
+ interface AxFlowDynamicContext {
3549
+ ai?: AxAIService;
3550
+ options?: AxProgramForwardOptions;
3551
+ }
3552
+ type GetGenIn<T extends AxGen<AxGenIn, AxGenOut>> = T extends AxGen<infer IN, AxGenOut> ? IN : never;
3553
+ type GetGenOut<T extends AxGen<AxGenIn, AxGenOut>> = T extends AxGen<AxGenIn, infer OUT> ? OUT : never;
3554
+ type InferAxGen<TSig extends string> = TSig extends string ? AxGen<AxGenIn, AxGenOut> : never;
3555
+ type NodeResultKey<TNodeName extends string> = `${TNodeName}Result`;
3556
+ type AddNodeResult<TState extends AxFlowState, TNodeName extends string, TNodeOut extends AxGenOut> = TState & {
3557
+ [K in NodeResultKey<TNodeName>]: TNodeOut;
3558
+ };
3559
+ type AxFlowTypedParallelBranch<TNodes extends Record<string, AxGen<any, any>>, TState extends AxFlowState> = (subFlow: AxFlowTypedSubContext<TNodes, TState>) => AxFlowTypedSubContext<TNodes, AxFlowState>;
3560
+ interface AxFlowTypedSubContext<TNodes extends Record<string, AxGen<any, any>>, TState extends AxFlowState> {
3561
+ execute<TNodeName extends keyof TNodes & string>(nodeName: TNodeName, mapping: (state: TState) => GetGenIn<TNodes[TNodeName]>, dynamicContext?: AxFlowDynamicContext): AxFlowTypedSubContext<TNodes, AddNodeResult<TState, TNodeName, GetGenOut<TNodes[TNodeName]>>>;
3562
+ map<TNewState extends AxFlowState>(transform: (state: TState) => TNewState): AxFlowTypedSubContext<TNodes, TNewState>;
3563
+ executeSteps(initialState: TState, context: Readonly<{
3564
+ mainAi: AxAIService;
3565
+ mainOptions?: AxProgramForwardOptions;
3566
+ }>): Promise<AxFlowState>;
3567
+ }
3568
+ type AxFlowParallelBranch = (subFlow: AxFlowSubContext) => AxFlowSubContext;
3569
+ interface AxFlowSubContext {
3570
+ execute(nodeName: string, mapping: (state: AxFlowState) => Record<string, AxFieldValue>, dynamicContext?: AxFlowDynamicContext): this;
3571
+ map(transform: (state: AxFlowState) => AxFlowState): this;
3572
+ executeSteps(initialState: AxFlowState, context: Readonly<{
3573
+ mainAi: AxAIService;
3574
+ mainOptions?: AxProgramForwardOptions;
3575
+ }>): Promise<AxFlowState>;
3576
+ }
3577
+ /**
3578
+ * AxFlow - A fluent, chainable API for building and orchestrating complex, stateful AI programs.
3579
+ *
3580
+ * Now with advanced type-safe chaining where each method call evolves the type information,
3581
+ * providing compile-time type safety and superior IntelliSense.
3582
+ *
3583
+ * @example
3584
+ * ```typescript
3585
+ * const flow = new AxFlow<{ topic: string }, { finalAnswer: string }>()
3586
+ * .node('summarizer', 'text:string -> summary:string')
3587
+ * .node('critic', 'summary:string -> critique:string')
3588
+ * .execute('summarizer', state => ({ text: `About ${state.topic}` })) // state is { topic: string }
3589
+ * .execute('critic', state => ({ summary: state.summarizerResult.summary })) // state evolves!
3590
+ * .map(state => ({ finalAnswer: state.criticResult.critique })) // fully typed!
3591
+ *
3592
+ * const result = await flow.forward(ai, { topic: "AI safety" })
3593
+ * ```
3594
+ */
3595
+ declare class AxFlow<IN extends AxGenIn, OUT extends AxGenOut, TNodes extends Record<string, AxGen<any, any>> = Record<string, never>, // Node registry for type tracking
3596
+ TState extends AxFlowState = IN> extends AxProgramWithSignature<IN, OUT> {
3597
+ private readonly nodes;
3598
+ private readonly flowDefinition;
3599
+ private readonly nodeGenerators;
3600
+ private readonly loopStack;
3601
+ private readonly stepLabels;
3602
+ private branchContext;
3603
+ constructor(signature?: NonNullable<ConstructorParameters<typeof AxSignature>[0]>);
3604
+ /**
3605
+ * Declares a reusable computational node and its input/output signature.
3606
+ * Returns a new AxFlow type that tracks this node in the TNodes registry.
3607
+ *
3608
+ * @param name - The name of the node
3609
+ * @param signature - Signature string in the same format as AxSignature
3610
+ * @param options - Optional program forward options (same as AxGen)
3611
+ * @returns New AxFlow instance with updated TNodes type
3612
+ *
3613
+ * @example
3614
+ * ```typescript
3615
+ * flow.node('summarizer', 'text:string -> summary:string')
3616
+ * flow.node('analyzer', 'text:string -> analysis:string, confidence:number', { debug: true })
3617
+ * ```
3618
+ */
3619
+ node<TName extends string, TSig extends string>(name: TName, signature: TSig, options?: Readonly<AxProgramForwardOptions>): AxFlow<IN, OUT, TNodes & {
3620
+ [K in TName]: InferAxGen<TSig>;
3621
+ }, // Add new node to registry
3622
+ TState>;
3623
+ /**
3624
+ * Applies a synchronous transformation to the state object.
3625
+ * Returns a new AxFlow type with the evolved state.
3626
+ *
3627
+ * @param transform - Function that takes the current state and returns a new state
3628
+ * @returns New AxFlow instance with updated TState type
3629
+ *
3630
+ * @example
3631
+ * ```typescript
3632
+ * flow.map(state => ({ ...state, processedText: state.text.toLowerCase() }))
3633
+ * ```
3634
+ */
3635
+ map<TNewState extends AxFlowState>(transform: (state: TState) => TNewState): AxFlow<IN, OUT, TNodes, TNewState>;
3636
+ /**
3637
+ * Labels a step for later reference (useful for feedback loops).
3638
+ *
3639
+ * @param label - The label to assign to the current step position
3640
+ * @returns this (for chaining, no type change)
3641
+ *
3642
+ * @example
3643
+ * ```typescript
3644
+ * flow.label('retry-point')
3645
+ * .execute('queryGen', ...)
3646
+ * ```
3647
+ */
3648
+ label(label: string): this;
3649
+ /**
3650
+ * Executes a previously defined node with full type safety.
3651
+ * The node name must exist in TNodes, and the mapping function is typed based on the node's signature.
3652
+ *
3653
+ * @param nodeName - The name of the node to execute (must exist in TNodes)
3654
+ * @param mapping - Typed function that takes the current state and returns the input for the node
3655
+ * @param dynamicContext - Optional object to override the AI service or options for this specific step
3656
+ * @returns New AxFlow instance with TState augmented with the node's result
3657
+ *
3658
+ * @example
3659
+ * ```typescript
3660
+ * flow.execute('summarizer', state => ({ text: state.originalText }), { ai: cheapAI })
3661
+ * ```
3662
+ */
3663
+ execute<TNodeName extends keyof TNodes & string>(nodeName: TNodeName, mapping: (state: TState) => GetGenIn<TNodes[TNodeName]>, dynamicContext?: AxFlowDynamicContext): AxFlow<IN, OUT, TNodes, AddNodeResult<TState, TNodeName, GetGenOut<TNodes[TNodeName]>>>;
3664
+ /**
3665
+ * Starts a conditional branch based on a predicate function.
3666
+ *
3667
+ * @param predicate - Function that takes state and returns a value to branch on
3668
+ * @returns this (for chaining)
3669
+ *
3670
+ * @example
3671
+ * ```typescript
3672
+ * flow.branch(state => state.qualityResult.needsMoreInfo)
3673
+ * .when(true)
3674
+ * .execute('queryGen', ...)
3675
+ * .when(false)
3676
+ * .execute('answer', ...)
3677
+ * .merge()
3678
+ * ```
3679
+ */
3680
+ branch(predicate: (state: TState) => unknown): this;
3681
+ /**
3682
+ * Defines a branch case for the current branch context.
3683
+ *
3684
+ * @param value - The value to match against the branch predicate result
3685
+ * @returns this (for chaining)
3686
+ */
3687
+ when(value: unknown): this;
3688
+ /**
3689
+ * Ends the current branch and merges all branch paths back into the main flow.
3690
+ *
3691
+ * @returns this (for chaining)
3692
+ */
3693
+ merge(): this;
3694
+ /**
3695
+ * Executes multiple operations in parallel and merges their results.
3696
+ * Both typed and legacy untyped branches are supported.
3697
+ *
3698
+ * @param branches - Array of functions that define parallel operations
3699
+ * @returns Object with merge method for combining results
3700
+ *
3701
+ * @example
3702
+ * ```typescript
3703
+ * flow.parallel([
3704
+ * subFlow => subFlow.execute('retrieve1', state => ({ query: state.query1 })),
3705
+ * subFlow => subFlow.execute('retrieve2', state => ({ query: state.query2 })),
3706
+ * subFlow => subFlow.execute('retrieve3', state => ({ query: state.query3 }))
3707
+ * ]).merge('documents', (docs1, docs2, docs3) => [...docs1, ...docs2, ...docs3])
3708
+ * ```
3709
+ */
3710
+ parallel(branches: (AxFlowParallelBranch | AxFlowTypedParallelBranch<TNodes, TState>)[]): {
3711
+ merge<T, TResultKey extends string>(resultKey: TResultKey, mergeFunction: (...results: unknown[]) => T): AxFlow<IN, OUT, TNodes, TState & {
3712
+ [K in TResultKey]: T;
3713
+ }>;
3714
+ };
3715
+ /**
3716
+ * Creates a feedback loop that jumps back to a labeled step if a condition is met.
3717
+ *
3718
+ * @param condition - Function that returns true to trigger the feedback loop
3719
+ * @param targetLabel - The label to jump back to
3720
+ * @param maxIterations - Maximum number of iterations to prevent infinite loops (default: 10)
3721
+ * @returns this (for chaining)
3722
+ *
3723
+ * @example
3724
+ * ```typescript
3725
+ * flow.label('retry-point')
3726
+ * .execute('answer', ...)
3727
+ * .execute('qualityCheck', ...)
3728
+ * .feedback(state => state.qualityCheckResult.confidence < 0.7, 'retry-point')
3729
+ * ```
3730
+ */
3731
+ feedback(condition: (state: TState) => boolean, targetLabel: string, maxIterations?: number): this;
3732
+ /**
3733
+ * Marks the beginning of a loop block.
3734
+ *
3735
+ * @param condition - Function that takes the current state and returns a boolean
3736
+ * @returns this (for chaining)
3737
+ *
3738
+ * @example
3739
+ * ```typescript
3740
+ * flow.while(state => state.iterations < 3)
3741
+ * .map(state => ({ ...state, iterations: (state.iterations || 0) + 1 }))
3742
+ * .endWhile()
3743
+ * ```
3744
+ */
3745
+ while(condition: (state: TState) => boolean): this;
3746
+ /**
3747
+ * Marks the end of a loop block.
3748
+ *
3749
+ * @returns this (for chaining)
3750
+ */
3751
+ endWhile(): this;
3752
+ /**
3753
+ * Executes the flow with the given AI service and input values.
3754
+ *
3755
+ * @param ai - The AI service to use as the default for all steps
3756
+ * @param values - The input values for the flow
3757
+ * @param options - Optional forward options to use as defaults
3758
+ * @returns Promise that resolves to the final output
3759
+ */
3760
+ forward(ai: Readonly<AxAIService>, values: IN, options?: Readonly<AxProgramForwardOptions>): Promise<OUT>;
3761
+ }
3762
+ /**
3763
+ * Typed implementation of the sub-context for parallel execution with full type safety
3764
+ */
3765
+ declare class AxFlowTypedSubContextImpl<TNodes extends Record<string, AxGen<any, any>>, TState extends AxFlowState> implements AxFlowTypedSubContext<TNodes, TState> {
3766
+ private readonly nodeGenerators;
3767
+ private readonly steps;
3768
+ constructor(nodeGenerators: Map<string, AxGen<AxGenIn, AxGenOut>>);
3769
+ execute<TNodeName extends keyof TNodes & string>(nodeName: TNodeName, mapping: (state: TState) => GetGenIn<TNodes[TNodeName]>, dynamicContext?: AxFlowDynamicContext): AxFlowTypedSubContext<TNodes, AddNodeResult<TState, TNodeName, GetGenOut<TNodes[TNodeName]>>>;
3770
+ map<TNewState extends AxFlowState>(transform: (state: TState) => TNewState): AxFlowTypedSubContext<TNodes, TNewState>;
3771
+ executeSteps(initialState: TState, context: Readonly<{
3772
+ mainAi: AxAIService;
3773
+ mainOptions?: AxProgramForwardOptions;
3774
+ }>): Promise<AxFlowState>;
3775
+ }
3776
+
3506
3777
  type AxDataRow = {
3507
3778
  row: Record<string, AxFieldValue>;
3508
3779
  };
@@ -4004,6 +4275,15 @@ declare const axCreateOptimizerLogger: (output?: (message: string) => void) => A
4004
4275
  */
4005
4276
  declare const axDefaultOptimizerLogger: AxLoggerFunction;
4006
4277
 
4278
+ /**
4279
+ * OpenAI: Model information
4280
+ */
4281
+ declare const axModelInfoOpenAI: AxModelInfo[];
4282
+ /**
4283
+ * OpenAI: Model information
4284
+ */
4285
+ declare const axModelInfoOpenAIResponses: AxModelInfo[];
4286
+
4007
4287
  type AxChatRequestMessage = AxChatRequest['chatPrompt'][number];
4008
4288
  /**
4009
4289
  * Validates a chat request message item to ensure it meets the required criteria
@@ -4345,11 +4625,6 @@ declare const axModelInfoHuggingFace: AxModelInfo[];
4345
4625
 
4346
4626
  declare const axModelInfoMistral: AxModelInfo[];
4347
4627
 
4348
- /**
4349
- * OpenAI: Model information
4350
- */
4351
- declare const axModelInfoOpenAI: AxModelInfo[];
4352
-
4353
4628
  /**
4354
4629
  * OpenAI: Model information
4355
4630
  */
@@ -4361,4 +4636,4 @@ interface AxSamplePickerOptions<OUT extends AxGenOut> {
4361
4636
  resultPicker?: AxResultPickerFunction<OUT>;
4362
4637
  }
4363
4638
 
4364
- export { 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 AxAIAnthropicMessageDeltaEvent, type AxAIAnthropicMessageStartEvent, type AxAIAnthropicMessageStopEvent, AxAIAnthropicModel, type AxAIAnthropicPingEvent, type AxAIAnthropicThinkingConfig, type AxAIAnthropicThinkingTokenBudgetLevels, AxAIAnthropicVertexModel, 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 AxAIGoogleGeminiChatRequest, type AxAIGoogleGeminiChatResponse, type AxAIGoogleGeminiChatResponseDelta, type AxAIGoogleGeminiConfig, type AxAIGoogleGeminiContent, type AxAIGoogleGeminiContentPart, AxAIGoogleGeminiEmbedModel, AxAIGoogleGeminiEmbedTypes, type AxAIGoogleGeminiGenerationConfig, AxAIGoogleGeminiModel, type AxAIGoogleGeminiOptionsTools, AxAIGoogleGeminiSafetyCategory, type AxAIGoogleGeminiSafetySettings, AxAIGoogleGeminiSafetyThreshold, type AxAIGoogleGeminiThinkingConfig, type AxAIGoogleGeminiThinkingTokenBudgetLevels, type AxAIGoogleGeminiTool, type AxAIGoogleGeminiToolConfig, type AxAIGoogleGeminiToolFunctionDeclaration, 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, AxAIMistral, type AxAIMistralArgs, type AxAIMistralChatRequest, AxAIMistralEmbedModels, AxAIMistralModel, type AxAIModelList, type AxAIModelListBase, type AxAIModels, AxAIOllama, type AxAIOllamaAIConfig, type AxAIOllamaArgs, AxAIOpenAI, 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 AxAIOpenAIUsage, type AxAIPromptConfig, 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, AxAIServiceNetworkError, type AxAIServiceOptions, AxAIServiceResponseError, AxAIServiceStatusError, AxAIServiceStreamTerminatedError, AxAIServiceTimeoutError, AxAITogether, type AxAITogetherArgs, type AxAPI, type AxAPIConfig, AxAgent, type AxAgentFeatures, type AxAgentOptions, type AxAgentic, AxApacheTika, type AxApacheTikaArgs, type AxApacheTikaConvertOptions, type AxAssertion, AxAssertionError, AxBalancer, type AxBalancerOptions, AxBaseAI, type AxBaseAIArgs, AxBaseOptimizer, type AxBootstrapCompileOptions, AxBootstrapFewShot, type AxBootstrapOptimizerOptions, AxChainOfThought, type AxChatRequest, type AxChatResponse, type AxChatResponseFunctionCall, type AxChatResponseResult, type AxCheckpointLoadFn, type AxCheckpointSaveFn, type AxCompileOptions, 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, AxEvalUtil, type AxEvaluateArgs, type AxExample, type AxField, type AxFieldDescriptor, type AxFieldProcessor, type AxFieldProcessorProcess, type AxFieldTemplateFn, type AxFieldType, type AxFieldValue, type AxFunction, AxFunctionError, type AxFunctionHandler, type AxFunctionJSONSchema, AxFunctionProcessor, type AxFunctionResult, AxGen, type AxGenDeltaOut, type AxGenIn, type AxGenOut, type AxGenStreamingOut, AxGenerateError, type AxGenerateErrorDetails, type AxGenerateResult, AxHFDataLoader, type AxIField, type AxInputFunctionType, AxInstanceRegistry, type AxInternalChatRequest, type AxInternalEmbedRequest, AxJSInterpreter, AxJSInterpreterPermission, AxLLMRequestTypeValues, type AxLoggerFunction, type AxLoggerTag, AxMCPClient, AxMCPHTTPSSETransport, AxMCPStdioTransport, type AxMCPStreamableHTTPTransportOptions, AxMCPStreambleHTTPTransport, type AxMCPTransport, AxMemory, type AxMemoryData, type AxMessage, type AxMetricFn, type AxMetricFnArgs, AxMiPRO, type AxMiPROCompileOptions, type AxMiPROOptimizerOptions, type AxMiPROResult, AxMockAIService, type AxMockAIServiceConfig, type AxModelConfig, type AxModelInfo, type AxModelInfoWithProvider, type AxModelUsage, type AxMultiMetricFn, AxMultiServiceRouter, type AxOptimizationCheckpoint, type AxOptimizationProgress, type AxOptimizationStats, type AxOptimizer, type AxOptimizerArgs, type AxOptimizerResult, type AxParetoResult, AxProgram, type AxProgramDemos, type AxProgramExamples, type AxProgramForwardOptions, type AxProgramStreamingForwardOptions, type AxProgramTrace, type AxProgramUsage, AxProgramWithSignature, type AxProgramWithSignatureOptions, AxPromptTemplate, type AxPromptTemplateOptions, AxRAG, type AxRateLimiterFunction, AxRateLimiterTokenUsage, type AxRateLimiterTokenUsageOptions, type AxRerankerIn, type AxRerankerOut, type AxResponseHandlerArgs, type AxResultPickerFunction, type AxResultPickerFunctionFieldResults, type AxResultPickerFunctionFunctionResults, type AxRewriteIn, type AxRewriteOut, type AxSamplePickerOptions, type AxSetExamplesOptions, AxSignature, type AxSignatureConfig, type AxSignatureTemplateValue, AxSimpleClassifier, AxSimpleClassifierClass, type AxSimpleClassifierForwardOptions, AxSpanKindValues, type AxStreamingAssertion, type AxStreamingEvent, type AxStreamingFieldProcessorProcess, AxStringUtil, AxTestPrompt, type AxTokenUsage, type AxTunable, type AxUsable, 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, axAIRekaBestConfig, axAIRekaCreativeConfig, axAIRekaDefaultConfig, axAIRekaFastConfig, axAITogetherDefaultConfig, axBaseAIDefaultConfig, axBaseAIDefaultCreativeConfig, axCreateDefaultLogger, axCreateDefaultTextLogger, axCreateOptimizerLogger, axDefaultOptimizerLogger, axGlobals, axModelInfoAnthropic, axModelInfoCohere, axModelInfoDeepSeek, axModelInfoGoogleGemini, axModelInfoGrok, axModelInfoGroq, axModelInfoHuggingFace, axModelInfoMistral, axModelInfoOpenAI, axModelInfoReka, axModelInfoTogether, axSpanAttributes, axSpanEvents, axValidateChatRequestMessage, axValidateChatResponseResult, f, s };
4639
+ export { 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 AxAIAnthropicMessageDeltaEvent, type AxAIAnthropicMessageStartEvent, type AxAIAnthropicMessageStopEvent, AxAIAnthropicModel, type AxAIAnthropicPingEvent, type AxAIAnthropicThinkingConfig, type AxAIAnthropicThinkingTokenBudgetLevels, AxAIAnthropicVertexModel, 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 AxAIGoogleGeminiChatRequest, type AxAIGoogleGeminiChatResponse, type AxAIGoogleGeminiChatResponseDelta, type AxAIGoogleGeminiConfig, type AxAIGoogleGeminiContent, type AxAIGoogleGeminiContentPart, AxAIGoogleGeminiEmbedModel, AxAIGoogleGeminiEmbedTypes, type AxAIGoogleGeminiGenerationConfig, AxAIGoogleGeminiModel, type AxAIGoogleGeminiOptionsTools, AxAIGoogleGeminiSafetyCategory, type AxAIGoogleGeminiSafetySettings, AxAIGoogleGeminiSafetyThreshold, type AxAIGoogleGeminiThinkingConfig, type AxAIGoogleGeminiThinkingTokenBudgetLevels, type AxAIGoogleGeminiTool, type AxAIGoogleGeminiToolConfig, type AxAIGoogleGeminiToolFunctionDeclaration, 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, 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, type AxAIPromptConfig, 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, AxAIServiceNetworkError, type AxAIServiceOptions, AxAIServiceResponseError, AxAIServiceStatusError, AxAIServiceStreamTerminatedError, AxAIServiceTimeoutError, AxAITogether, type AxAITogetherArgs, type AxAPI, type AxAPIConfig, AxAgent, type AxAgentFeatures, type AxAgentOptions, type AxAgentic, AxApacheTika, type AxApacheTikaArgs, type AxApacheTikaConvertOptions, type AxAssertion, AxAssertionError, AxBalancer, type AxBalancerOptions, AxBaseAI, type AxBaseAIArgs, AxBaseOptimizer, type AxBootstrapCompileOptions, AxBootstrapFewShot, type AxBootstrapOptimizerOptions, AxChainOfThought, type AxChatRequest, type AxChatResponse, type AxChatResponseFunctionCall, type AxChatResponseResult, type AxCheckpointLoadFn, type AxCheckpointSaveFn, type AxCompileOptions, 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, AxEvalUtil, type AxEvaluateArgs, type AxExample, type AxField, type AxFieldDescriptor, type AxFieldProcessor, type AxFieldProcessorProcess, type AxFieldTemplateFn, type AxFieldType, type AxFieldValue, AxFlow, AxFlowTypedSubContextImpl, type AxFunction, AxFunctionError, type AxFunctionHandler, type AxFunctionJSONSchema, AxFunctionProcessor, type AxFunctionResult, AxGen, type AxGenDeltaOut, type AxGenIn, type AxGenOut, type AxGenStreamingOut, AxGenerateError, type AxGenerateErrorDetails, type AxGenerateResult, AxHFDataLoader, type AxIField, type AxInputFunctionType, AxInstanceRegistry, type AxInternalChatRequest, type AxInternalEmbedRequest, AxJSInterpreter, AxJSInterpreterPermission, AxLLMRequestTypeValues, type AxLoggerFunction, type AxLoggerTag, AxMCPClient, AxMCPHTTPSSETransport, AxMCPStdioTransport, type AxMCPStreamableHTTPTransportOptions, AxMCPStreambleHTTPTransport, type AxMCPTransport, AxMemory, type AxMemoryData, type AxMessage, type AxMetricFn, type AxMetricFnArgs, AxMiPRO, type AxMiPROCompileOptions, type AxMiPROOptimizerOptions, type AxMiPROResult, AxMockAIService, type AxMockAIServiceConfig, type AxModelConfig, type AxModelInfo, type AxModelInfoWithProvider, type AxModelUsage, type AxMultiMetricFn, AxMultiServiceRouter, type AxOptimizationCheckpoint, type AxOptimizationProgress, type AxOptimizationStats, type AxOptimizer, type AxOptimizerArgs, type AxOptimizerResult, type AxParetoResult, AxProgram, type AxProgramDemos, type AxProgramExamples, type AxProgramForwardOptions, type AxProgramStreamingForwardOptions, type AxProgramTrace, type AxProgramUsage, AxProgramWithSignature, type AxProgramWithSignatureOptions, AxPromptTemplate, type AxPromptTemplateOptions, AxRAG, type AxRateLimiterFunction, AxRateLimiterTokenUsage, type AxRateLimiterTokenUsageOptions, type AxRerankerIn, type AxRerankerOut, type AxResponseHandlerArgs, type AxResultPickerFunction, type AxResultPickerFunctionFieldResults, type AxResultPickerFunctionFunctionResults, type AxRewriteIn, type AxRewriteOut, type AxSamplePickerOptions, type AxSetExamplesOptions, AxSignature, type AxSignatureConfig, type AxSignatureTemplateValue, AxSimpleClassifier, AxSimpleClassifierClass, type AxSimpleClassifierForwardOptions, AxSpanKindValues, type AxStreamingAssertion, type AxStreamingEvent, type AxStreamingFieldProcessorProcess, AxStringUtil, AxTestPrompt, type AxTokenUsage, type AxTunable, type AxUsable, 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, axAIRekaBestConfig, axAIRekaCreativeConfig, axAIRekaDefaultConfig, axAIRekaFastConfig, axAITogetherDefaultConfig, axBaseAIDefaultConfig, axBaseAIDefaultCreativeConfig, axCreateDefaultLogger, axCreateDefaultTextLogger, axCreateOptimizerLogger, axDefaultOptimizerLogger, axGlobals, axModelInfoAnthropic, axModelInfoCohere, axModelInfoDeepSeek, axModelInfoGoogleGemini, axModelInfoGrok, axModelInfoGroq, axModelInfoHuggingFace, axModelInfoMistral, axModelInfoOpenAI, axModelInfoOpenAIResponses, axModelInfoReka, axModelInfoTogether, axSpanAttributes, axSpanEvents, axValidateChatRequestMessage, axValidateChatResponseResult, f, s };