Skip to main content

An open-source chat bot program written in Python.

Project description

This is a chat bot program that takes input and returns a response based on known conversations.

Package Version Build Status PyPi Coverage Status

Installation

This package can be installed using

pip install chatterbot

Useage

Create a new chat bot

from ChatterBot import ChatBot
chatbot = ChatBot()

Specify a defult location for engram memory files

chatbot.log_directory="path/to/directory/"

Getting an engram based response

response = chatbot.engram("Good morning!")
print(response)

Terminal mode (User and chat bot)

from ChatterBot import Terminal
terminal = Terminal()
terminal.begin()

Have the chat bot talk with CleverBot

from ChatterBot import TalkWithCleverbot
talk = TalkWithCleverbot()
talk.begin()

Requirements

To install required packages for this project run the command: (This is only required when not installing through pip)

sudo pip install -r requirements.txt

A general warning

This program is capable of retrieving conversation data from various social networks in order to provide more accurate replies to input text. Because of this, responces generated by the chat bot can contain insulting statements completely at random. I have plans to address this issue, however they are not yet implemented.

Notes

This program is not designed to be an open source version of CleverBot. Although this Chat Bot returns responces, the code here handles communication much differently then CleverBot does.

History

0.0.0 (2014-10-11)

  • First release on PyPI.

0.0.1 (2014-10-14)

  • Updated documentation.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ChatterBot-0.0.1.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file ChatterBot-0.0.1.tar.gz.

File metadata

  • Download URL: ChatterBot-0.0.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ChatterBot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6a9c7bb78e6420f4e9952fa3c3150aef9ee1cca8af2e96e51b5648ec528c5c3c
MD5 b89a4ca01c08b908e8aab08c306c669e
BLAKE2b-256 c07ba9ae52c6c195aff2deac6287dcd933b6b792a9b09d28738f63483c1dd9af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page