Skip to main content

A CLI tool for interacting with intellibot API

Project description

Intellibot

Intellibot is a terminal-based chatbot client for interacting with the ViewMo cloud platform. It allows users to connect to the platform using their credentials and chat with the bot through a command-line interface. And also this package let users to initialize there own RAG Agents and run them on ViewMo platform.

Installation

To install Intellibot, run:

pip install Intellibot

Usage

Connect to Intellibot

To connect to Intellibot, use the connect command with your username and password:

intellibot connect --username <your-username> --password <your-password>

Example:

intellibot connect --username jane@gmail.com --password pass

This command logs in to Intellibot and saves credentials to credentials.json.

Chat with Intellibot

Once connected, you can start a chat session with the bot using the chat command:

intellibot chat

Example:

intellibot chat

This starts an interactive chat session where you can type messages and receive responses until you type "exit" or "quit".

Initialize AI Agents

To initialize the AI agent system with a JSON configuration file, use the initialize command:

intellibot initialize path/to/your/config.json

Example:

intellibot initialize C:/intellihack_4.0/cli/ViewMo/config.json

Check Available Projects

To list all available projects for the authenticated user, use the projects command:

intellibot projects

Example:

intellibot projects

Execute a Project

To execute a specified project, use the execute command:

intellibot execute project_name

Example:

intellibot execute "Mental health chatbot researcher"

View Active User Details

To display details of the authenticated user, use the user_details command:

intellibot user_details

Example:

intellibot user_details

Development

To install the package locally for development, navigate to the root directory (where setup.py is located) and run:

pip install .

You can then use the intellibot CLI commands as described above to test the functionality.

Project Structure

Intellibot/
├── intellibot/
│   ├── __init__.py
│   ├── cli.py
│   └── api.py
├── setup.py
├── README.md
├── requirements.txt
└── MANIFEST.in

API Module (api.py)

The api.py module contains the IntelliBotAPI class, which handles connection, chat, project management, and user details functionalities.

CLI Module (cli.py)

The cli.py module defines the command-line interface using click. It includes commands for connecting to the backend, chatting with the bot, initializing agents, viewing projects, executing projects, and viewing user details.

License

This project is licensed under the Apache 2.0 License.

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

intellibot-0.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

intellibot-0.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file intellibot-0.2.tar.gz.

File metadata

  • Download URL: intellibot-0.2.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.9

File hashes

Hashes for intellibot-0.2.tar.gz
Algorithm Hash digest
SHA256 8c0a9873c74ab29e173d73c81874eeba568dcea263eed571efcae95ece3eedf5
MD5 14721ad002380909cc45453b9c61c2c6
BLAKE2b-256 90024e7b741a3fa1427b0f70f98ac8fea86ff927fe8cef3aea59594a9f35640c

See more details on using hashes here.

File details

Details for the file intellibot-0.2-py3-none-any.whl.

File metadata

  • Download URL: intellibot-0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.9

File hashes

Hashes for intellibot-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6de7f1eb155846c758d61e3ea266128a5776975e7649534d161bed0e7bef18f2
MD5 8bf500d434d7e175e4e7ea2e5c09b080
BLAKE2b-256 781eb26171af05b13c03866983e2dad97dc5de33fd8f9c97f83a42c408225022

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