2023
IALab
Chatbot API using based on a pytorch tutorial hosted on https://ialab.marcpartensky.com.
Usage
Using httpie
http -f POST https://ialab.marcpartensky.com message="how are you"
# running locally after cloning the repo
http -f POST localhost:8000 message="how are you"
Using curl
curl -sX POST -F message="message how are you" https://ialab.marcpartensky.com
# running locally after cloning
curl -sX POST -F message="message how are you" localhost:8000
# using ask.sh after cloning
./ask.sh how are you
Or using simply the CLI without webserver
# using bot.py after cloning
./bot.py
Deploy with docker
docker run -p 8000:8000 marcpartensky/ialab
# or using docker-compose after cloning
docker-compose up -d
Deploy yourself
Dependencies
- python3.9.2
Commands
git clone https://github.com/marcpartensky/ialab
cd ialab
pip install -r requirements.txt
# Run the web server
./server.py
# Or run only the bot as cli
./bot.py
Train it yourself
The datasets is available on google drive.
Languages
Python
85.4%
CSS
7.6%
HTML
4.5%
Dockerfile
1%
JavaScript
0.6%
Other
0.8%

