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

AxContentProcessingServices

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/router.ts#L20

Services for converting unsupported content types to text or optimized formats

Properties

PropertyTypeDescription
audioToText?(audioData: string, format?: string) => Promise<string>Service to convert audio to text transcriptions
fileToText?(fileData: string, mimeType: string) => Promise<string>Service to extract text from files
imageOptimization?(imageData: string, options: OptimizationOptions) => Promise<string>Service to optimize images for size/quality
imageToText?(imageData: string) => Promise<string>Service to convert images to text descriptions
urlToText?(url: string) => Promise<string>Service to fetch and extract text from URLs
Docs