@speakableio/core 0.1.41 → 0.1.43
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/dist/index.native.mjs +7 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.js +7 -1
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.web.js
CHANGED
|
@@ -2723,10 +2723,16 @@ var useBaseOpenAI = ({
|
|
|
2723
2723
|
});
|
|
2724
2724
|
const getTranscript = async (audioUrl, language) => {
|
|
2725
2725
|
try {
|
|
2726
|
-
const
|
|
2726
|
+
const response = await (getAssemblyAITranscript == null ? void 0 : getAssemblyAITranscript({
|
|
2727
2727
|
audioUrl,
|
|
2728
2728
|
language
|
|
2729
2729
|
}));
|
|
2730
|
+
console.log("response (getTranscript) from getAssemblyAITranscript", {
|
|
2731
|
+
response,
|
|
2732
|
+
audioUrl,
|
|
2733
|
+
language
|
|
2734
|
+
});
|
|
2735
|
+
const transcript = response == null ? void 0 : response.data;
|
|
2730
2736
|
onTranscriptSuccess(transcript);
|
|
2731
2737
|
return transcript;
|
|
2732
2738
|
} catch (error) {
|