Tim Stewart
Tim Stewart4mo ago

Streaming assistant showing json in chat widget

I know I must be doing something wrong, however after it not working at all, then setting window.buildShipChatWidget.config.responseIsAStream = true; I can see a response, however it looks like this: {"stream":{"_events":{},"_readableState":{"highWaterMark":16384,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null}},"threadId":"thread_115YhyKghSRjBtnbm5DlNzPn"} Is there something obvious I'm doing wrong?
Solution:
I've resolved this myself by starting with your streaming assistant template again and moving my nodes from the old one into my library, then adding them to the new version of your template. One irritation is that the content of the nodes is not preserved when adding it to your library, and I couldn't figure out how to copy and then paste inside the assistant nodes list....
Jump to solution
4 Replies
Harini
Harini4mo ago
Hi @Tim Stewart - could you share you workflow via in app support - we can take a look and help you out
Tim Stewart
Tim Stewart4mo ago
OK, I have done that, thanks.
Solution
Tim Stewart
Tim Stewart4mo ago
I've resolved this myself by starting with your streaming assistant template again and moving my nodes from the old one into my library, then adding them to the new version of your template. One irritation is that the content of the nodes is not preserved when adding it to your library, and I couldn't figure out how to copy and then paste inside the assistant nodes list.
Tim Stewart
Tim Stewart4mo ago
I attempted to mark this as a solution, but it got an error.
No description