Slave chat bots bbw webcam dating chat
Its easy-to-use yet powerful API will be your life saviour in making the chatbot.
Join the web Turing Contest and vote for which chatterbot you think is truly the most intellectually advanced.
● : Frontend web client for the chat (uses Web Sockets). You can start chatting (after satisfying the prerequisites and configuring the API keys in api_key.py) by running the chat server by running “python server.py” on your terminal. Say “hi” to the bot and it should say “I don’t understand”.
Currently, the bot only replies with “I don’t understand”.
‘random.choice(array)’ will return you a random element of that array. Do we have to implement some complex machine learning algorithm or take a PHD in psychology? We just leave all the dirty work to our slave, Microsoft’s Cognitive Services. The text-analysis API, given some text, returns you the sentiment score (a continuous value between 0 and 1, 1 indicating an ‘emotionally’ positive sentence, and 0 a negative sentence).
To see your changes, you need to stop the Python server (if it’s running) by hitting CTRL C on the terminal/prompt, and start the Python server by running python server.py, then refresh your client on your browser. This API also returns key phrases of the text, but for now, we are only interested in the sentiment score.