A unified Python library for connecting to various chatbot APIs (RASA, MillionBot, Taskyto)
Project description
Chatbot Connectors
A Python library for connecting to various chatbot APIs with a unified interface.
Installation
pip install chatbot-connectors
Custom YAML Connector
If there is no connector for your chatbot and you are not willing to code one, you can use the Custom Connector. What this one does is read a YAML file with the info and try to work that way.
To see how to build these YAML files and use them see
CUSTOM CONNECTOR GUIDE,
there are also examples in the yaml-examples directory.
If you want to directly try one, execute this in a Python shell:
from chatbot_connectors.implementations.custom import CustomChatbot
bot = CustomChatbot("yaml-examples/ada-uam.yml")
success, response = bot.execute_with_input("Hola, necesito ayuda con Moodle")
print(response)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chatbot_connectors-0.2.1.tar.gz.
File metadata
- Download URL: chatbot_connectors-0.2.1.tar.gz
- Upload date:
- Size: 54.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1358804ef44b5be6a4b1eb39e0ca29331f0d4154c071f7e31934ec85e05d808f
|
|
| MD5 |
0c238029f9ea9981f1147e36480c8fce
|
|
| BLAKE2b-256 |
502ed62f1c6d6491c8d1c88ede54fe4e8e0fc52361971c576bce7899ece98aa7
|
File details
Details for the file chatbot_connectors-0.2.1-py3-none-any.whl.
File metadata
- Download URL: chatbot_connectors-0.2.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f068a7c8510cb1f84ee10d79fedbd8467b3494745a397152878e5a26e086465
|
|
| MD5 |
c4ef126706c3d6984551a0d7ee9ee13d
|
|
| BLAKE2b-256 |
7172c32ecda917525a75fc33f2b5dc03b745a668b54ce84e317ed36a7a51cde0
|