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/5b28f9093bb70863b59459bb6df5062d005bce41/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