Chat Bot API

For discussion of the Chat Bot API and the projects using it. Trade sample code, ask questions, give advice.

Posts 49 - 60 of 177

8 years ago #49
How do you help a bot talk

8 years ago #50
API documentation states that response is json, but response.body is an html snippet with lots of
tags. It looks like the text following the last
tag is the json I'm expecting. What is the best way to parse this so I get just the json reply message?

8 years ago #51
Hi valor... get the same issue here..... >.

8 years ago #52
I've fixed this issue. Some debug code was showing up in there. Now the response is fully JSON.

8 years ago #53
Oh hi!! Thank you, will try and let you know

8 years ago #54
Hi The professor,
Still got an error, because I try to call the JSONP, I think you should put a wrapper for the JSON callback (e.g.
JSON_CALLBACK( {"success":1,"errorMessage":"","message":{"chatBotName":"Huge Dragon","chatBotID":"110966","message":"Yes, Annez, I've heard that one before.","emotion":null}} )

Thanks before!!!

8 years ago #55
A bot, Gaybob, no longer wants to talk to me no matter what I say. How could I fix this?

8 years ago #56
how can i use api with javascript.

i am getting allow access origin error.

8 years ago #57
What's a seek? I'm kinda a first- timer trying when it comes to bot building.

8 years ago #58
After a keyphrase you can add a seek for supposed replies with onemor two words like "yes, not, why not " and so you can create also a reply to the seek and with that the conversation follows the topic of the keyphrase. Very useful.

8 years ago #59
Thanks!

8 years ago #60
what is the brand of Simply Sarah's tampon?


Posts 49 - 60 of 177

» More new posts: Doghead's Cosmic Bar