This project is a telegram bot trained on Open Data Science slack posts history
chatbot.py- telegram bot for messagingsupport_model.py- question answering AInotebooks/know_base.ipynb- dataset parsingmodels- answering models-
elasticsearch_baseline- fuzzy search
-
bert_emb_baseline- BERT embedding ranking model
-
bpe_baseline- BPE embedding ranking model
-
use_baseline- USE embedding rankinig model
- Run bot
python chatbot.py - Available in telegram by address
@ods_help_bot - Available in Slack by address
digestbotQnA functionality
- answer question
- show other relevant answer (top 4)
- estimate question (Good, Bad) only in telegram by now
- show history
- You need your own telegram TOKEN from BotFather
- You can run bot in
screen - add token to system variables
export TOKEN="somerandomtoken" - create virtual environment
python -m venv venv(optionally) pip install -r requirements.txt- installed
elasticsearch - running
systemctl restart elasticsearch python chatbot.py
