diff --git a/collector/utils/WhisperProviders/OpenAiWhisper.js b/collector/utils/WhisperProviders/OpenAiWhisper.js index fc163eddf7..e2405b6a9b 100644 --- a/collector/utils/WhisperProviders/OpenAiWhisper.js +++ b/collector/utils/WhisperProviders/OpenAiWhisper.js @@ -22,7 +22,6 @@ class OpenAiWhisper { .create({ file: fs.createReadStream(fullFilePath), model: this.model, - response_format: "text", temperature: this.temperature, }) .then((response) => { @@ -33,7 +32,7 @@ class OpenAiWhisper { }; } - return { content: response, error: null }; + return { content: response.text, error: null }; }) .catch((error) => { this.#log(