如何更改结束会话消息"I'm having trouble connecting to the server, please refresh the page"-Watson Conversation

How to change end session message "I'm having trouble connecting to the server, please refresh the page"-Watson Conversation

我正在为另一种语言制作聊天机器人,我想在会话结束后更改消息:"I'm having trouble connecting to the server, please refresh the page".

我没有找到它的定义

假设您使用的是 Node.js implementation provided by IBM, you can customize the message by editing line 76 of api.js (located here for reference).