@speakableio/core 0.1.35 → 0.1.39
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 +3 -3
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.js +3 -3
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.web.js
CHANGED
|
@@ -2723,7 +2723,7 @@ var useBaseOpenAI = ({
|
|
|
2723
2723
|
});
|
|
2724
2724
|
const getTranscript = async (audioUrl, language) => {
|
|
2725
2725
|
try {
|
|
2726
|
-
const
|
|
2726
|
+
const transcript = await (getAssemblyAITranscript == null ? void 0 : getAssemblyAITranscript({
|
|
2727
2727
|
audioUrl,
|
|
2728
2728
|
language
|
|
2729
2729
|
}));
|
|
@@ -2868,7 +2868,7 @@ var useBaseOpenAI = ({
|
|
|
2868
2868
|
studentResponse: transcript
|
|
2869
2869
|
})
|
|
2870
2870
|
]);
|
|
2871
|
-
proficiencyData = proficiencyResult.data || {};
|
|
2871
|
+
proficiencyData = (proficiencyResult == null ? void 0 : proficiencyResult.data) || {};
|
|
2872
2872
|
feedbackData = {
|
|
2873
2873
|
...geminiResult.data,
|
|
2874
2874
|
// @ts-ignore
|
|
@@ -2880,7 +2880,7 @@ var useBaseOpenAI = ({
|
|
|
2880
2880
|
studentId: currentUserId,
|
|
2881
2881
|
studentResponse: transcript
|
|
2882
2882
|
}));
|
|
2883
|
-
feedbackData = geminiResult.data;
|
|
2883
|
+
feedbackData = geminiResult == null ? void 0 : geminiResult.data;
|
|
2884
2884
|
}
|
|
2885
2885
|
const results = {
|
|
2886
2886
|
...feedbackData,
|