Coder Social home page Coder Social logo

goelbiju / cleverbot-example Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 28 KB

Deprecated: An unofficial lightweight module supporting the CleverBot website. Please view the terms regarding APIs:

Home Page: http://www.cleverbot.com/apis

License: MIT License

Python 100.00%

cleverbot-example's Introduction

Deprecated: CleverBot-Example


Version: 1.1.4

NOTICE:

This was just an example of how to communicate with the CleverBot website previous to the API becoming popular.

Please sign up for Cleverscript to use the CleverBot service on a large scale.

Overview

Clever-client-Bot is a reboot of the original Cleverbot client developed by initially by Rodney Folz - Cleverbot.py.

This module has been developed as a more cut down and easy-to-use version of the original package. There is a new coding style and the methods used to communicate with the server have been re-arranged for your convenience.

Example

The following is an example to how the module can be used:

Editor:
# Import the Clever-client-Bot module.
import clever_client_bot

# Intiate a conversation with CleverBot by starting an instance
# of the CleverBot class from the module.
cleverbot = clever_client_bot.CleverBot()

# A query to send to the CleverBot server.
query = 'How are you today?'

# Send the query off and return it's response.
response = cleverbot.converse(query)

# Now you can use the response in any way you want.
print(response)

Console
>>> "Actually very good. I had a softball all-stars tournament and we won. I am so happy. We had pizza after the game by the way."  

cleverbot-example's People

Contributors

goelbiju avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.