Skip to content

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: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:6945

{ audio: { body: object; contentType: string; }; dtype?: "uint8" | "float32" | "float64"; }

audio: object

readable stream with audio data and content-type specified for that data

body: object

contentType: string

optional dtype: "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

optional dtype: "uint8" | "float32" | "float64"

type of data PCM data that’s sent to the inference server as raw array