Create very simple, minimalistic Python 3 chatbots by using JSON
Project description
pyChatteringy
Create simple chatbots by using JSON. Built with ♥ and Python
📝 Table of Contents
🧐 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.
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
Built Distribution
Hashes for pyChatteringy-0.0.5a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a23d79a71787c22abca3675fe4f3720b49d4711d862d670786ec2301841cbed |
|
MD5 | 53cea6777a4e7e170124c15389a19ca5 |
|
BLAKE2b-256 | 53d7131b3e5d7aae3a949811292ed795aa43369d4d523d54922baf1da2f4e80d |