{"id":16649021,"url":"https://github.com/jalajthanaki/chatbot_rule_based","last_synced_at":"2025-10-14T04:43:54.812Z","repository":{"id":81621505,"uuid":"118100273","full_name":"jalajthanaki/Chatbot_Rule_Based","owner":"jalajthanaki","description":"Built the chatbot using rule-based approach.","archived":false,"fork":false,"pushed_at":"2018-02-27T10:05:20.000Z","size":7,"stargazers_count":10,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T16:55:51.654Z","etag":null,"topics":["chatbot","pattern-matching","pattern-recognition","rule-based"],"latest_commit_sha":null,"homepage":null,"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/jalajthanaki.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":"2018-01-19T08:45:56.000Z","updated_at":"2024-03-18T20:37:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"a07875c0-e9f8-467d-ae98-e560d2ea552d","html_url":"https://github.com/jalajthanaki/Chatbot_Rule_Based","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jalajthanaki/Chatbot_Rule_Based","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FChatbot_Rule_Based","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FChatbot_Rule_Based/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FChatbot_Rule_Based/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FChatbot_Rule_Based/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jalajthanaki","download_url":"https://codeload.github.com/jalajthanaki/Chatbot_Rule_Based/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FChatbot_Rule_Based/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017932,"owners_count":26086214,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","pattern-matching","pattern-recognition","rule-based"],"created_at":"2024-10-12T09:06:21.799Z","updated_at":"2025-10-14T04:43:54.789Z","avatar_url":"https://github.com/jalajthanaki.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rule Based Chatbot\n===================\n\nThis repository contains the code for chatbot. I have developed this chatbot using template based approach.\n\n## Dependencies\n\nIn oreder to run this you need forllowing libraries.\n\n* flask\n* flask_cors\n* json\n* os\n* flask_pymongo\n* pytz\n* datetime\n* uuid\n\n## Installation\n\n* OS, json, datetime and uuid are default python libraries\n\n\n* Install Flask libraries using following commands:\n```bash\n $ sudo pip install Flask==0.12.2\n $ sudo pip Flask-Cors==3.0.2\n $ sudo Flask-PyMongo==0.5.1\n```\n* Installlation of pytz library\n```bash\n $ sudo pip install pytz==2017.2\n```\n\n\n* Install MongoDB NoSQL db by following this step.\n```bash\n $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6\n $ echo \"deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse\" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list\n $ sudo apt-get update\n $ sudo apt-get install -y mongodb-org\n $ sudo service mongod start\n\n```\n ## usage\n1. First run `flaskengin.py` \n\n2. Go to the URL: \n\n3. `http://0.0.0.0:5002/` where you can see Hello from chatbot Flask! \n\n4. You can see the chatbot JSON response by using this URL: \n```http://0.0.0.0:5002/welcomemsg_chat```\n\n5. After that you can hit the following urls\n  ```\n  http://0.0.0.0:5002/hi_chat?msg=Hi\n  http://0.0.0.0:5002/asking_borowers_full_name?msg=\u003cyour name\u003e \n  http://0.0.0.0:5002/asking_borowers_email_id?msg=\u003cYour email address\u003e\n  ```\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjalajthanaki%2Fchatbot_rule_based","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjalajthanaki%2Fchatbot_rule_based","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjalajthanaki%2Fchatbot_rule_based/lists"}