简体   繁体   中英

Watson Assistant and Swift

I made a chatbot using Assistant, and in the console it works perfectly. However when I followed the tutorial to add Watson to an iOS app, it stopped working in the app only. For example in my dialog tree I am only able to access the first child and get the response from there.

However it asks a question, and then when I respond to that question, it just returns empty quotes . I am very confused because the online console still works perfectly, but the app is very broken.

Any help would be greatly appreciated

I figured it out! I was not passing the correct input context, so it was like the conversation was starting anew every single time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM