Loebner Competition
Modify Chat Bot Output Format
All chat bot programs must have the same output format so that it is not possible to distinguish between bot and human based on format.
- Modify your chat bot python program's output so that it conforms
to the following standard:
- The bot should prompt for user input first
- The program should not print anything before the first prompt
- The bot should use the prompt text "> " (without the quotes)
- The bot should not prefix bot output with anything
For example, the output of the program should look like:
> hello bot hello human > can you pass a Turing test? no, do you want to play chess?
- Download the python program verify_bot.py and put it in the same directory as your chat bot python file.
- From the directory containing your bot program, run the verify bot
program by typing
python3 verify_bot.py YOUR_BOT_FILE_NAME.py
. Note, YOUR_BOT_FILE_NAME.py is the name of your chat bot python file. - Wait until everybody's bot file is successfully verified before proceeding.
Run Bot Server
The bot server will run in the background and allow other people to chat with your chat bot program.
- Download the python program bot_server.py and put it in the same directory as your chat bot python file.
- From the directory containing your bot program, run the bot server
by typing
python3 bot_server.py YOUR_BOT_FILE_NAME.py
. Note, YOUR_BOT_FILE_NAME.py is the name of your chat bot python file. - Wait until everybody's bot server is running before proceeding.
Run Client
The client program will communicate with the server to determine who you will chat with and will connect you to the bot or person you will chat with.
- Download the python program loebner_client.py and put it in the same directory as your chat bot python file.
- From the directory containing your bot program, run the client by
typing
python3 loebner_client.py
. - Wait until everybody's has connected to the server.
- Chat.
- When the chat is over, evaluate who or what you were chatting with.