Chat Bot API

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

Posts 9 - 20 of 177

11 years ago #9
Hello Everyone,

Can I get some guidance on the JSON standard that is accepted by the API? I am using the Ruby JSON library and I am running into this issue over and over:

{\"success\",\"errorType\":\"Invalid JSON\",\"errorMessage\":\"Invalid JSON encoding of message\"}

What method of encoding works? I feel like I am doing everything as the guide says.

11 years ago #10
I do not know if this is the right plave for the question if so sorry to send messages to people do I have to upgrade my account I am just very curious?

10 years ago #11
I'm trying to use the PHP sample provided but even though I've set up my own API key, my own private jet, and made a custom external ID I keep getting a NULL response back

10 years ago #12
private key, not jet. I've made all the changes required but still don't get anything back.

10 years ago #13
Just a couple of things:

1) I was playing around with the Secure API in C# and ended up writing a client-side Personality Forge library for .NET. It can be found at https://github.com/jamesseanwright/personality-forge-.net. It's still in development, but feel free to use it

2) Whenever I invoke the API, the response is a mixture of HTML, plain text, and JSON. Is there another parameter that I need to pass to the server? If not, then the endpoint should only return JSON; why should I have to strip out the JSON on the client side?

10 years ago #14
jamesseanwright     does that require a user name and pw to dload?

10 years ago #15
No, you should be able to do a read-only download by running 'git clone https://github.com/jamesseanwright/personality-forge-.net.git'. If you don't have git, you can download the library as a ZIP: https://github.com/jamesseanwright/personality-forge-.net/archive/master.zip

10 years ago #16
What is AI script? The ai book is kinda confusing

10 years ago #17
Let's list as many bot holidays that we can come up with as possible guys!

10 years ago #18
I call ackwards day!

10 years ago #19
I have a GREAT idea. How about we have an option to show every bots coding to everyone? Just make sure they can't edit it. That way you can see maybe why what you said didn't work or how other bots do something.

10 years ago #20
If we do that, then people new to the website can rip off bots


Posts 9 - 20 of 177

» More new posts: Doghead's Cosmic Bar