Skip to content

tungedng2710/TonAI-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

TonAI-Assistant

The virtual assistant is in the progress of development, you can try it with limited features

Installation

Step 1: Install Anaconda

Ubuntu

  1. Download the Anaconda installer script:
    wget https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-x86_64.sh
  2. Run the installer script:
    bash Anaconda3-2023.03-Linux-x86_64.sh
  3. Follow the prompts and restart your terminal or run:
    source ~/.bashrc

macOS

  1. Download the Anaconda installer:
  2. Run the installer:
    bash ~/Downloads/Anaconda3-2023.03-MacOSX-x86_64.sh
  3. Follow the prompts and restart your terminal or run:
    source ~/.bash_profile

Windows

  1. Download the Anaconda installer:
  2. Run the installer and follow the prompts to complete the installation.
  3. Open the Anaconda Prompt from the Start menu.

Step 2: Create and Activate Conda Environment

  1. Open your terminal (Anaconda Prompt on Windows).
  2. Create a new conda environment named 'tonai' with Python 3.10:
    conda create -n tonai python=3.10
  3. Activate the environment:
    conda activate tonai

Step 3: Install Required Packages

  1. Ensure you have requirement.txt file in your working directory.
  2. Install the required packages using pip:
    pip install -r requirement.txt

Run your Virtual Assistant

Create the json file utils/bot_info.json. Refer the format of this JSON_FILE To run the Telegram bot from your Terminal:

python3 main_bot.py

To run the virtual assistant (command line), from your Terminal:

python3 assistant_cli.py

More from TonAI Research:

Releases

No releases published

Packages

No packages published

Languages