我正在使用以下功能参数将语音转换为文本,但是我为元数据参数设置的额外参数对有或没有参数的转换结果都没有影响。
function transcribe_async_gcs($ bucketName,$ objectName,$ languageCode ='en-US',$ options = ['enableAutomaticPunctuation'=> true,'enableWordTimeOffsets'=> false,'encoding'=>'FLAC','sampleRateHertz '=> 44100,“元数据” => [[“ interactionType” =>“ PHONE_CALL”,“ industryNaicsCodeOfAudio” => 621210,“ microphoneDistance” =>“ NEARFIELD”, “ originalMediaType” =>“ AUDIO”,“ recordingDeviceType” =>“ PHONE_LINE”,“ originalMimeType” =>“ audio / mp3”,“ audioTopic” =>“约会”],'useEnhanced'=> true])