{"id":18947925,"url":"https://github.com/9802hemensan/chatbot","last_synced_at":"2026-03-27T05:30:24.174Z","repository":{"id":178958345,"uuid":"662625668","full_name":"9802HEMENSAN/ChatBot","owner":"9802HEMENSAN","description":"Chatbot Assistance","archived":false,"fork":false,"pushed_at":"2023-07-05T18:11:33.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T01:25:20.995Z","etag":null,"topics":["chatbot","flask-api","nltk-package","punkt","python","torch","torchvision"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9802HEMENSAN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-05T14:31:01.000Z","updated_at":"2023-07-05T14:56:11.000Z","dependencies_parsed_at":"2023-07-20T22:30:48.371Z","dependency_job_id":null,"html_url":"https://github.com/9802HEMENSAN/ChatBot","commit_stats":null,"previous_names":["9802hemensan/chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9802HEMENSAN%2FChatBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9802HEMENSAN%2FChatBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9802HEMENSAN%2FChatBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9802HEMENSAN%2FChatBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9802HEMENSAN","download_url":"https://codeload.github.com/9802HEMENSAN/ChatBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239946876,"owners_count":19723014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","flask-api","nltk-package","punkt","python","torch","torchvision"],"created_at":"2024-11-08T13:11:52.976Z","updated_at":"2026-03-27T05:30:24.116Z","avatar_url":"https://github.com/9802HEMENSAN.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chatbot Deployment with Flask and JavaScript\n\n ![chatbot](https://github.com/9802HEMENSAN/ChatBot/assets/111531676/a064bc54-f3c5-4247-8d2c-42dff3ca20f8)\n\n ### **Chatbot Assistance**\n\n**Purpose**: To provide round-the-clock customer service that can efficiently handle common queries and issues, improving customer satisfaction and freeing up staff for more complex tasks.\n\n**Requirements**:\n\n- An AI-based text chatbot integrated into the web application.\n- Pre-programmed responses for common customer queries like \"What is your operation hours?\", \"What is the status of my order?\", etc.\n- User-friendly interface for customers to interact with the chatbot.\n\n**Metrics for success**: Decrease in basic customer inquiries handled by human staff and positive user feedback about the chatbot.\n\n- Serve only the Flask prediction API. The used html and javascript files can be included in any Frontend application (with only a slight modification) and can run completely separate from the Flask App then.\n\n## Initial Setup:\nClone repo and create a virtual environment\n```\n$ git clone  \n$ cd chatbot-deployment\n$ python3 -m venv venv\n$ . venv/bin/activate\n```\nInstall dependencies\n```\n$ (venv) pip install Flask torch torchvision nltk\n```\nInstall nltk package\n```\n$ (venv) python\n\u003e\u003e\u003e import nltk\n\u003e\u003e\u003e nltk.download('punkt')\n```\nModify `intents.json` with different intents and responses for your Chatbot\n\nRun\n```\n$ (venv) python train.py\n```\nThis will dump data.pth file. And then run\nthe following command to test it in the console.\n```\n$ (venv) python chat.py\n```\n\nNow for deployment follow my tutorial to implement `app.py` and `app.js`.\n \n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9802hemensan%2Fchatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9802hemensan%2Fchatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9802hemensan%2Fchatbot/lists"}