Skip to main content

No project description provided

Project description

Celai Chatwoot Connector

celai-chatwoot is Python package that provides a connector for integrating the Cel.ai framework with Chatwoot. This allows seamless communication between your Cel.ai assistants and Chatwoot, enabling you to leverage Chatwoot's powerful customer support features.

Features

  • Easy integration with Chatwoot Bot API
  • Full stream mode support
  • Customizable bot settings

Installation

You can install the celai-chatwoot package using pip:

pip install celai-chatwoot

Usage

To use the celai-chatwoot connector, you need to create an instance of WootConnector and register it with the Cel.ai gateway. Below is an example of how to do this:

import os
from celai_chatwoot.connector import WootConnector

# Create an instance of WootConnector
conn = WootConnector(
    bot_name="Bot Name",
    access_key=os.environ.get("CHATWOOT_ACCESS_KEY"),
    account_id=os.environ.get("CHATWOOT_ACCOUNT_ID"),
    chatwoot_url=os.environ.get("CHATWOOT_URL"),
    bot_description="This is a test bot",
    stream_mode=StreamMode.FULL
)

# Register the connector with the gateway
gateway.register_connector(conn)

Environment Variables

The WootConnector requires the following environment variables to be set:

  • CHATWOOT_ACCESS_KEY: Your Chatwoot access key
  • CHATWOOT_ACCOUNT_ID: Your Chatwoot account ID
  • CHATWOOT_URL: The URL of your Chatwoot instance

Run your Cel.ai assistant, then a new Chatwoot bot called "Bot Name" will be created in your Chatwoot instance. Assign the bot to any Inbox you want to use it with.

Implemented Features

RECEIVE SEND
Text
Image
Audio
Files
Custom Attributes
Video
Location
Buttons -
Templates -

Roadmap

Current version: 0.1.0 supports basic Chatwoot features such as sending and receiving text messages. Future versions will include the following features:

  • Image and file uploads
  • Custom attributes
  • Audio and video messages

Contributing

We welcome contributions to the celai-chatwoot project. If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Special thanks to the Cel.ai and Chatwoot teams for their amazing frameworks and support.

Contact

For any questions or inquiries, please contact us at [alejamp@gmail.com].

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

celai_chatwoot-0.1.3.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

celai_chatwoot-0.1.3-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file celai_chatwoot-0.1.3.tar.gz.

File metadata

  • Download URL: celai_chatwoot-0.1.3.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.6

File hashes

Hashes for celai_chatwoot-0.1.3.tar.gz
Algorithm Hash digest
SHA256 112300f52b7e5ed8269fe1b3ebef93df9c18a4086e5f2b2788530cb5b1552e3c
MD5 60bc52159df4e4be5addbc69ab2e3bf2
BLAKE2b-256 d33798045ad7ae62967e60f8b426b54e2c5de560cfd66ddc4b5ad4d3d1b0c51f

See more details on using hashes here.

File details

Details for the file celai_chatwoot-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for celai_chatwoot-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5df37dc8c95ca8b792336c35cebfa4baae726eb13db2ccf190cd6fa72d2b362a
MD5 a7eab5c9bd3c680945b3f9221b9469fb
BLAKE2b-256 b1acc4008c90b612e8d42b5a48d854651f52c803f1cdea679eafdec830246841

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