Chat Bot API
For discussion of the Chat Bot API and the projects using it. Trade sample code, ask questions, give advice.
Posts 7 - 18 of 177
Posts 7 - 18 of 177
mendicott
11 years ago
11 years ago
Is there any library of example personalities in AIscript available for quickstart?
In building the knowledgebase, are there any SIZE limitations I should be aware of?
In building the knowledgebase, are there any SIZE limitations I should be aware of?
The Professor
11 years ago
11 years ago
You can hook the API up to any of your bots or any bots that a botmaster has set to "Run Free". I've done so with a number of mine.
As to getting a quick start on a personality, look at the Bot Templates - these are donated collections of Keyphrase by experienced botmasters. There will be a Combined Bot Template one of these days when I get through creating it. It'll have the best of the best. When you create a new bot, you'll have the opportunity to import a Bot Template to help get you started.
As to getting a quick start on a personality, look at the Bot Templates - these are donated collections of Keyphrase by experienced botmasters. There will be a Combined Bot Template one of these days when I get through creating it. It'll have the best of the best. When you create a new bot, you'll have the opportunity to import a Bot Template to help get you started.
elliomax
11 years ago
11 years ago
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.
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.
Darkassassin
11 years ago
11 years ago
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?
Tankin
11 years ago
11 years ago
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
Tankin
11 years ago
11 years ago
private key, not jet. I've made all the changes required but still don't get anything back.
jamesseanwright
11 years ago
11 years ago
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?
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?
jamesseanwright
11 years ago
11 years ago
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
Gordon Freeman
11 years ago
11 years ago
Let's list as many bot holidays that we can come up with as possible guys!
» More new posts: Doghead's Cosmic Bar