Skip to main content

A unified Python library for connecting to various chatbot APIs (RASA, MillionBot, Taskyto)

Project description

Chatbot Connectors

CI PyPI License

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


Download files

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

Source Distribution

chatbot_connectors-0.3.0.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatbot_connectors-0.3.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file chatbot_connectors-0.3.0.tar.gz.

File metadata

  • Download URL: chatbot_connectors-0.3.0.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.14

File hashes

Hashes for chatbot_connectors-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ef467760c844fd39123af4b002984bd507e64b04728650a7181821f3efc30a83
MD5 c418a28723842dd3dce53c2e866373a4
BLAKE2b-256 4d41e966e6dc748d0683117bb2aedc1cea285284a4409f4037f10d6fe4057327

See more details on using hashes here.

File details

Details for the file chatbot_connectors-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chatbot_connectors-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 460b7ebc0bf7ff04443d8f386f1318153dae43cc2830a177c2683eddfd0e4005
MD5 f18879af0f0ea15abe88d69281779408
BLAKE2b-256 8f66de2acd0ccf9f67a19c278860170d34fe5fc626e3ccd130284268de5e747f

See more details on using hashes here.

Supported by

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