this chatbot app made from scratch with scraped data from reddit , pytorch model , fastapi backend server , react
first we needed the data so we scraped 'askreddit' subreddit and created csv file with scrap.py script
python model/scrap.py run model/chatbot.ipynb notebook cells
backend : server we used fastapi we loaded the model and vocab_transform and we made the predict function
cd backend
uvicorn inference:app --reload frontend : we created simple interface with react and we used axios to make our requests
cd frontend
npm install
npm start 