@xuda.io/ai_module 1.1.4169 → 1.1.4170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3486,7 +3486,7 @@ const transcribe = async function (uid, stream, metadata) {
|
|
|
3486
3486
|
language: 'en', // hint language (ISO 639-1), e.g. "he" for Hebrew
|
|
3487
3487
|
// temperature: 0 // lower = more literal
|
|
3488
3488
|
});
|
|
3489
|
-
record_chat_usage(uid, 0, resp.length || 0, 'transcribe', '', model, metadata);
|
|
3489
|
+
record_chat_usage(uid, 0, resp.length || 0, 'transcribe', '', model, metadata, account_profile_info);
|
|
3490
3490
|
console.log(resp); // or resp for JSON formats
|
|
3491
3491
|
return resp;
|
|
3492
3492
|
} catch (error) {
|