AxAIFeatures Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxAIFeatures.md interface AxAIFeatures

AxAIFeatures

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/base.ts#L424

Properties

PropertyTypeDescription
cachingobjectContent caching capabilities
caching.cacheBreakpoints?booleanWhether explicit cache breakpoints are needed. If false, provider has automatic lookback and cache_control is always applied to system and last tool when caching is detected. Defaults to true.
caching.supportedbooleanWhether the provider supports content caching
caching.types("ephemeral" | "persistent")[]Types of caching available
functionCot?boolean-
functionsboolean-
hasShowThoughts?boolean-
hasThinkingBudget?boolean-
mediaobjectEnhanced media capability specifications
media.audioobjectAudio processing capabilities
media.audio.formatsstring[]Supported audio formats (e.g., [‘wav’, ‘mp3’])
media.audio.maxDuration?numberMaximum audio duration in seconds
media.audio.output?objectAudio output capabilities for conversational audio models
media.audio.output.formatsstring[]Supported generated audio formats
media.audio.output.sampleRate?numberDefault output sample rate, when fixed by the provider
media.audio.output.supportedbooleanWhether the provider supports generated audio responses
media.audio.output.voices?string[]Known built-in voice names, when enumerable
media.audio.supportedbooleanWhether the provider supports audio inputs
media.filesobjectFile processing capabilities
media.files.formatsstring[]Supported file MIME types (e.g., [‘application/pdf’, ’text/plain’])
media.files.maxSize?numberMaximum file size in bytes
media.files.supportedbooleanWhether the provider supports file inputs
media.files.uploadMethod"none" | "inline" | "upload" | "cloud"How files are uploaded to the provider
media.imagesobjectImage processing capabilities
media.images.detailLevels?("high" | "low" | "auto")[]Supported detail/quality levels for image processing
media.images.formatsstring[]Supported image MIME types (e.g., [‘image/jpeg’, ‘image/png’])
media.images.maxSize?numberMaximum image size in bytes
media.images.supportedbooleanWhether the provider supports image inputs
media.urlsobjectURL and web content capabilities
media.urls.contextFetchingbooleanWhether the provider can fetch web page content
media.urls.supportedbooleanWhether the provider supports URL inputs
media.urls.webSearchbooleanWhether the provider can perform web searches
multiTurnbooleanWhether the provider supports multi-turn conversations
streamingboolean-
structuredOutputs?booleanWhether the provider supports complex structured outputs (JSON schema)
thinkingbooleanWhether the provider supports thinking/reasoning modes
Docs