How rashmirisha/chatbot works
This repository is presented as a small FAQ chatbot: a user asks a question, the chatbot preprocesses it, matches it against FAQ data using cosine similarity, and returns the best answer. The README also documents an optional Gradio interface. The notebook is the only source file, and no notebook excerpts were provided, so the graph reflects documented behavior rather than verified implementation details.
Main entry points: Chatbot.ipynb Chatbot
Components 7
FAQ matching
- Chatbot
Chatbot.ipynb - Text preprocessing
Chatbot.ipynb - Cosine similarity
Chatbot.ipynb - FAQ dataset
Chatbot.ipynb - Best answer
Chatbot.ipynb
User interface
- Gradio UI
Chatbot.ipynb
Other components
- User
Connections 7
- User → Chatbot: asks question
README.md - Chatbot → Text preprocessing: preprocesses text
README.md - Chatbot → Cosine similarity: matches by cosine
README.md - Cosine similarity → FAQ dataset: compares FAQs
README.md - Chatbot → Best answer: returns best match
README.md - Gradio UI → Chatbot: invokes function
README.md - User → Gradio UI: enters question
README.md