Open mepc36 opened 1 year ago
This is the createTranscript
function throwing the error. Not sure why it's calling this function if it's explicitly not been implemented:
async feedback() {
return Promise.reject(new Error("not implemented"));
}
getPublishing() {
return Promise.reject(new Error("not implemented"));
}
createTranscript() {
return Promise.reject(new Error("not implemented"));
}
This makes me wonder if creating a transcript is functionality that I have to manually implement on my side in the bot designer? I tried to Google for docs about that though and found none.
Commenting out the return state of createTranscript
fixed this problem. That's not a solution, but it does confirm that this line is the offender. I think we just have to not call m.createTranscript
on line 14962.
Error log:
Hi there @mepc36 👋 sorry for not responding to your issue sooner
The error you're experiencing is expected in demo-react-chat
because the transcript saving functionality has not been setup as part of that demo. It should not negatively affect the chat experience, but transcripts will not be saved or viewable through https://creator.voiceflow.com.
We are working on a fix now and should shortly update the demo to have transcript saving setup correctly. I'll update you here when that is available. Thank you for your bug report!
Hi, I ported this @voiceflow/demo-react-chat app found here from vite to Next.js. I then migrated it into my app. Currently, it's throwing this error:
It happens whenever I send a message to the chatbot. It seems like maybe a typing error?
This is my @voiceflow/react-chat version:
"@voiceflow/react-chat": "^1.46.1"
I will report back with more info.