axMapOpenAIChatAudioResponse
function axMapOpenAIChatAudioResponse(audio:
| {
data?: string;
expires_at?: number;
id: string;
transcript?: string;
}
| null
| undefined): AxChatAudioOutput | undefined;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/openai/audio.ts#L196
Parameters
| Parameter | Type |
|---|---|
audio | | { data?: string; expires_at?: number; id: string; transcript?: string; } | null | undefined |
Returns
AxChatAudioOutput | undefined