├── .gitignore ├── LICENSE ├── README.md ├── chatbot ├── __init__.py ├── chatbot.py ├── cornelldata.py ├── credentials.json ├── model.py ├── textdata.py ├── trainner.py ├── twitter_generate_data_pickle.py ├── twitter_get_access_token.py └── twitter_qa.py ├── chatbot_website ├── .gitignore ├── chatbot_interface │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── chatbotmanager.py │ ├── consumer.py │ ├── migrations │ │ └── __init__.py │ ├── models.py │ ├── routing.py │ ├── static │ │ ├── LICENSE.txt │ │ ├── README.txt │ │ ├── assets │ │ │ ├── css │ │ │ │ ├── font-awesome.min.css │ │ │ │ ├── ie8.css │ │ │ │ ├── ie9.css │ │ │ │ ├── images │ │ │ │ │ └── overlay.png │ │ │ │ ├── main.css │ │ │ │ └── noscript.css │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── js │ │ │ │ ├── PIE.htc │ │ │ │ ├── html5shiv.js │ │ │ │ └── respond.min.js │ │ │ └── sass │ │ │ │ ├── base │ │ │ │ ├── _page.scss │ │ │ │ └── _typography.scss │ │ │ │ ├── components │ │ │ │ ├── _button.scss │ │ │ │ ├── _form.scss │ │ │ │ ├── _icon.scss │ │ │ │ └── _list.scss │ │ │ │ ├── ie8.scss │ │ │ │ ├── ie9.scss │ │ │ │ ├── layout │ │ │ │ ├── _footer.scss │ │ │ │ ├── _main.scss │ │ │ │ └── _wrapper.scss │ │ │ │ ├── libs │ │ │ │ ├── _functions.scss │ │ │ │ ├── _mixins.scss │ │ │ │ ├── _skel.scss │ │ │ │ └── _vars.scss │ │ │ │ ├── main.scss │ │ │ │ └── noscript.scss │ │ ├── images │ │ │ ├── avatar.jpg │ │ │ ├── bg.png │ │ │ └── icon.png │ │ └── js │ │ │ ├── chat.js │ │ │ ├── jquery-3.1.0.min.js │ │ │ └── reconnecting-websocket.js │ ├── templates │ │ └── index.html │ ├── tests.py │ ├── urls.py │ └── views.py ├── chatbot_website │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── logs │ └── .gitignore └── manage.py ├── data ├── cornell │ ├── README.txt │ ├── movie_conversations.txt │ └── movie_lines.txt ├── samples │ └── .gitignore ├── test │ └── samples.txt └── tweets │ └── README.md ├── main.py ├── requirements.txt ├── save └── .gitignore ├── setup_server.sh └── testsuite.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/README.md -------------------------------------------------------------------------------- /chatbot/__init__.py: -------------------------------------------------------------------------------- 1 | __all__ = ["chatbot"] 2 | -------------------------------------------------------------------------------- /chatbot/chatbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/chatbot.py -------------------------------------------------------------------------------- /chatbot/cornelldata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/cornelldata.py -------------------------------------------------------------------------------- /chatbot/credentials.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/credentials.json -------------------------------------------------------------------------------- /chatbot/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/model.py -------------------------------------------------------------------------------- /chatbot/textdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/textdata.py -------------------------------------------------------------------------------- /chatbot/trainner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/trainner.py -------------------------------------------------------------------------------- /chatbot/twitter_generate_data_pickle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/twitter_generate_data_pickle.py -------------------------------------------------------------------------------- /chatbot/twitter_get_access_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/twitter_get_access_token.py -------------------------------------------------------------------------------- /chatbot/twitter_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot/twitter_qa.py -------------------------------------------------------------------------------- /chatbot_website/.gitignore: -------------------------------------------------------------------------------- 1 | # Database 2 | *.sqlite3 3 | # Redis 4 | dump.rdb 5 | -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/admin.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/apps.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/chatbotmanager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/chatbotmanager.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/consumer.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/models.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/routing.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/LICENSE.txt -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/README.txt -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/css/font-awesome.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/css/font-awesome.min.css -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/css/ie8.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/css/ie8.css -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/css/ie9.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/css/ie9.css -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/css/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/css/images/overlay.png -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/css/main.css -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/css/noscript.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/css/noscript.css -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.svg -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/js/PIE.htc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/js/PIE.htc -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/js/html5shiv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/js/html5shiv.js -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/js/respond.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/js/respond.min.js -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/base/_page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/base/_page.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/base/_typography.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/base/_typography.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/components/_button.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/components/_button.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/components/_form.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/components/_form.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/components/_icon.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/components/_icon.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/components/_list.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/components/_list.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/ie8.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/ie8.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/ie9.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/ie9.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/layout/_footer.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/layout/_footer.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/layout/_main.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/layout/_main.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/layout/_wrapper.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/layout/_wrapper.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/libs/_functions.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/libs/_functions.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/libs/_mixins.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/libs/_mixins.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/libs/_skel.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/libs/_skel.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/libs/_vars.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/libs/_vars.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/main.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/main.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/assets/sass/noscript.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/assets/sass/noscript.scss -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/images/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/images/avatar.jpg -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/images/bg.png -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/images/icon.png -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/js/chat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/js/chat.js -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/static/js/reconnecting-websocket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/static/js/reconnecting-websocket.js -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/templates/index.html -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/tests.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/urls.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_interface/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_interface/views.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_website/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chatbot_website/chatbot_website/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_website/asgi.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_website/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_website/settings.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_website/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_website/urls.py -------------------------------------------------------------------------------- /chatbot_website/chatbot_website/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/chatbot_website/wsgi.py -------------------------------------------------------------------------------- /chatbot_website/logs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/logs/.gitignore -------------------------------------------------------------------------------- /chatbot_website/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/chatbot_website/manage.py -------------------------------------------------------------------------------- /data/cornell/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/data/cornell/README.txt -------------------------------------------------------------------------------- /data/cornell/movie_conversations.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/data/cornell/movie_conversations.txt -------------------------------------------------------------------------------- /data/cornell/movie_lines.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/data/cornell/movie_lines.txt -------------------------------------------------------------------------------- /data/samples/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/data/samples/.gitignore -------------------------------------------------------------------------------- /data/test/samples.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/data/test/samples.txt -------------------------------------------------------------------------------- /data/tweets/README.md: -------------------------------------------------------------------------------- 1 | ### This is where tweet QA will be saved 2 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/main.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | tqdm 2 | TwitterAPI 3 | requests_oauthlib 4 | tensorflow 5 | -------------------------------------------------------------------------------- /save/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/save/.gitignore -------------------------------------------------------------------------------- /setup_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/setup_server.sh -------------------------------------------------------------------------------- /testsuite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kootenpv/TwitterQA/HEAD/testsuite.py --------------------------------------------------------------------------------