feat assembly (#515)

* fix

* wip

* wip

* wip

* wip

* fix review comments
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2023-11-02 09:25:04 -04:00
1 parent 4b3234f4e4
commit 7fee2ba2dc
8 files changed
+110 -137

No files matched your search

+5
View File
@@ -835,6 +835,11 @@ class CallSession extends Emitter {
api_key: credential.api_key,
model_id: credential.model_id
};
} else if ('assemblyai' === vendor) {
return {
speech_credential_sid: credential.speech_credential_sid,
api_key: credential.api_key
};
} else if (vendor.startsWith('custom:')) {
return {
speech_credential_sid: credential.speech_credential_sid,