pyChatteringy
Create simple chatbots by using JSON. Built with
π Table of Contents
π Table of Contents-
π§ About -
π Installation -
π Quickstart -
βοΈ Built Using -
βοΈ Authors
π§ About
This package aims to provide users a simple way to create simple chatbots by using JSON.
π Installation
It is very easy to get the basic chatbot running or integrate it in your application.
π¦ Prerequisites
This project is in alpha/testing stage, but the bare minimum works.
See TODO.md for a to-do list.
Note:
This project was tested against Python 3.9 only. Python 3.6+ should work, but wasn't tested (yet - perhaps you'd like to give it a go?)
$ pip install pychatteringy
π©Ή Updating
$ pip install pychatteringy --update
π Quickstart
To create a basic & minimal chatbot with included example intents, use:
# Import the ChatBot class:
from pychatteringy.classes.chatbot import ChatBot
# Initialize chatbot:
chatbot = ChatBot()
# Store response to query "Hi!" in a variable:
response = chatbot.chat("Hi!")
# Print the response:
print(response)
The code above is very simple. It obtains a response from a chatbot and then returns it.
TODO: More documentation
βοΈ Built Using
- Python - Programming language
βοΈ Authors
- @CWKevo - Main owner & maintainer
See also the list of contributors who participated in this project.