AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

New Loebner Prize Protocol announced
 
 
  [ # 151 ]
Merlin - Aug 2, 2017:

Hammad,
I would be interested in your Python script for interfacing with the node server.
I considered using python myself, but ended up going a different route.

I will release all of my code for my entry once the finalists are announced including the dataset. I will try to include a small tutorial if my submission was successful with the new LPP. I believe that artificial intelligence should be open source and maintain no censorship.

∞Pla•Net - Aug 7, 2017:

Hammad,

That’s a brilliant idea! I wish you the very best of luck in
the AISB contest.  I ran this code with, “python pyhost.py
at the command line:

Filename: pyhost.py

import SimpleHTTPServer
import SocketServer

PORT 
8080
Handler 
SimpleHTTPServer.SimpleHTTPRequestHandler
httpd 
SocketServer.TCPServer((""PORT), Handler)

print 
"Chat Bot served at http://localhost:"PORT
httpd
.serve_forever() 

And, in the same directory, I saved a simple JavaScript
chatbot index.html file at http : // localhost:8080, and it worked.

_______________________________________________
Citation: http://2ality.com/2014/06/simple-http-server.html

Thank you! I chose port 1337 because I anticipated others using different ports for their applications.

 

 
  [ # 152 ]

Just a quick courtesy update for readers,

For post #123

The updated link is: http://chatbot.ml/newLPP/

In short, dotTK has since changed to dotML

 

‹ First  < 9 10 11
11 of 11
 
  login or register to react