The official Program O response is the best way to go because it is supported. Just saying, if you decide to do a mod (short for modification) that is not supported then usually in most cases you may be on you own.
Gopal Sharma - Oct 21, 2013:
There is table called conversation_log in the database of program o. From that I am able to create a file of the log and send it to the user if they want to.
But the previous response goes away whenever a new response comes in the response field..how to fix that?
For discussion purposes only…
Sounds like a response string assignment.
Example: Response=“Please go on.”
You may want a response string concatenation.
Example: Response += “Please go on.”
After that you may decide on a method to maintain state to save the concatenated response string between user requests. There are quite a few methods to do that.
At: http://www.8pla.net as of 10/21/13 subject to change in the future, you may find an example of a rudimentary chatbot that uses a JavaScript method with an HTML form.
This keeps a log until the page gets refreshed, which may be adequate for a simple chatbot.