https://github.com/deeppavlov/convai_sample_bot
https://github.com/deeppavlov/convai_sample_bot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deeppavlov/convai_sample_bot
- Owner: deeppavlov
- Created: 2017-07-18T17:03:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T12:26:17.000Z (over 8 years ago)
- Last Synced: 2025-01-05T19:22:38.464Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample bot for convai.io challenge
Bot demonstrates how to use RouterBot API to communicate with telegram users. Bot supports only one dialogue at a time and should be used only for testing purpose. Do not run more then one instance of bot with same BOT_ID.
## Clone repo
```sh
git clone https://github.com/seliverstov/convai_sample_bot/
cd convai_sample_bot
pip install -r requirements.txt
```
## Run bot
You should run `bot.py` with your bot id in command line:
```sh
BOT_ID= python3 bot.py
```
## Start chattings
Open telegram client, find @ConvaiBot (convai-bot), send "/test PUT_YOUR_BOT_ID_HERE" to start chatting with your own bot
>**WARNING:** if you start chatting with command /begin then @ConvaiBot will connect your with random bot or human. To evaluate your own bot you should use the command /test with your bot id