Skip to main content

chatbot_studio

chatbot_studio is a versatile Python framework designed to simplify the process of designing, training, and deploying AI-powered chatbots. Whether you're a business, an NLP developer, or a chatbot enthusiast, chatbot_studio provides all the tools you need to create robust conversational agents. if you're looking for the best machine learning tool for chatbot development, this tool has you covered.

Key Features

  • Prebuilt Conversational Flows: Quickly build conversational flows with reusable templates for customer support, FAQs, and more.
  • Integration with Popular NLP Models: Leverage Hugging Face Transformers and other popular NLP frameworks.
  • Multi-Platform Deployment: Seamlessly deploy your chatbot to Telegram, Slack, WhatsApp, and other platforms.
  • Custom Dataset Training: Easily train chatbots with your own datasets to suit specific use cases.
  • Extensive Documentation: Clear and concise documentation with examples to help you get started quickly.

Installation

Install chatbot_studio via pip:

pip install chatbot_studio

Quick Start

1. Creating a Conversational Flow

from chatbot_studio.core.flow_builder import create_conversational_flow

steps = [
    {"question": "How can I assist you today?", "responses": ["Billing", "Technical Support"]},
    {"question": "Can you provide more details?", "responses": ["Yes", "No"]},
]

flow = create_conversational_flow("Customer Support", steps)
print(flow)

2. Integrating an NLP Model

from chatbot_studio.core.model_integration import integrate_model

model = integrate_model("distilbert-base-uncased", task="text-classification")
print(model("I love this product!"))

3. Training the Bot

from chatbot_studio.core.training import train_bot

trained_model = train_bot("path/to/dataset.json", "mock_model")

4. Deploying the Bot

from chatbot_studio.core.deployment import deploy_bot

status = deploy_bot("Telegram", {"api_key": "your_api_key"}, "my_bot")
print(status)

Directory Structure

chatbot_studio/
|-- __init__.py
|-- core/
    |-- __init__.py
    |-- flow_builder.py
    |-- model_integration.py
    |-- training.py
    |-- deployment.py
|-- examples/
    |-- customer_support_flow.py
|-- tests/
    |-- test_flow_builder.py
    |-- test_model_integration.py
    |-- test_training.py
    |-- test_deployment.py
setup.py

Running Tests

Run the test suite to verify that everything is working as expected:

pytest tests/

Contributing

Contributions are welcome! Feel free to submit issues or pull requests to enhance chatbot_studio.

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature-name
  5. Open a pull request

License

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


Metadata

Release files for chatbot-studio 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chatbot-studio 1.0.7
File Size Uploaded Provenance
chatbot_studio-1.0.7.tar.gz 4.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for chatbot-studio 1.0.7
File Interpreter ABI Platform
chatbot_studio-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / chatbot_studio-1.0.7.tar.gz

Download URL chatbot_studio-1.0.7.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cf67a200dceb10545ef97f06ad2c785abe6f048b7c65cb622844dc4c06854f92
BLAKE2b-256 checksum
How to use checksums
87fd0ded50b3d851fa852167858155284bb23a31d37b9501a0cd8a651b83492f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / chatbot_studio-1.0.7-py3-none-any.whl

Download URL chatbot_studio-1.0.7-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
837535232bf8ad83f618271c6d4d6bde4596f20c3b5fd3adec92b16a2afbfb5d
BLAKE2b-256 checksum
How to use checksums
7d9059f6a6628fda0df3d523fecc24f8b472daa4bcbdb8d891edddccd981aaa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for chatbot-studio 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page