Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Input
Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Input = {
audio: {body:object;contentType:string; };dtype?:"uint8"|"float32"|"float64"; } | {audio:string;dtype?:"uint8"|"float32"|"float64"; }
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:6945
Type Declaration
Section titled “Type Declaration”{ audio: { body: object; contentType: string; }; dtype?: "uint8" | "float32" | "float64"; }
audio:
object
readable stream with audio data and content-type specified for that data
audio.body
Section titled “audio.body”body:
object
audio.contentType
Section titled “audio.contentType”contentType:
string
dtype?
Section titled “dtype?”
optionaldtype:"uint8"|"float32"|"float64"
type of data PCM data that’s sent to the inference server as raw array
{ audio: string; dtype?: "uint8" | "float32" | "float64"; }
audio:
string
base64 encoded audio data
dtype?
Section titled “dtype?”
optionaldtype:"uint8"|"float32"|"float64"
type of data PCM data that’s sent to the inference server as raw array