{"id":25146510,"url":"https://github.com/csfelix/simple-chat-bot","last_synced_at":"2026-05-15T18:34:54.366Z","repository":{"id":155570981,"uuid":"631315905","full_name":"CSFelix/simple-chat-bot","owner":"CSFelix","description":"💬 Simple Chat Bot made in Python 💬","archived":false,"fork":false,"pushed_at":"2023-04-25T22:34:47.000Z","size":1077,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T05:43:51.794Z","etag":null,"topics":["chat-bot","data-science","deep-learning","machine-learning","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CSFelix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-22T16:23:47.000Z","updated_at":"2023-07-05T11:28:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d113ff1-b290-48a9-a6dc-070766c74d83","html_url":"https://github.com/CSFelix/simple-chat-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CSFelix/simple-chat-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSFelix%2Fsimple-chat-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSFelix%2Fsimple-chat-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSFelix%2Fsimple-chat-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSFelix%2Fsimple-chat-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CSFelix","download_url":"https://codeload.github.com/CSFelix/simple-chat-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSFelix%2Fsimple-chat-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33074876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chat-bot","data-science","deep-learning","machine-learning","python"],"created_at":"2025-02-08T20:19:16.035Z","updated_at":"2026-05-15T18:34:54.360Z","avatar_url":"https://github.com/CSFelix.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e💬 Simple Chat Bot 💬\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003ci\u003eCreate your first Chat Bot with Python\u003c/i\u003e\u003c/p\u003e\n\n\u003cbr /\u003e\n\n----\n\n\u003ch2 id=\"problem-description\"\u003e📝 Problem Description\u003c/h2\u003e\n\n\u003cbr /\u003e\n\n\u003cfigure\u003e\n    \u003cimg src=\"https://res.cloudinary.com/dte7upwcr/image/upload/blog/blog2/chatbot-o-que-e/chatbot-o-que-e-img_header.jpg\" alt=\"Chat Bot Image\" /\u003e\n    \u003cfigcaption\u003e\u003ci\u003eFig. 1 - Chat Bot. \u003csup\u003e©\u003c/sup\u003e\u003ca href=\"https://cloudinary.com\" target=\"_blank\"\u003eCloudinary\u003c/a\u003e\u003c/i\u003e\u003c/figcaption\u003e\n\u003c/figure\u003e\n\n\u003cbr /\u003e\u003cbr /\u003e\n\nYou have been hired by CUMI (*Central Unity of My Imagination*) to construct a Chat Bot model to talk with people in **English**, **Japanese** and **Portuguese**. The bot does not have a especific purpose, that is, it should just answer simple small talk questions.\n\nYou received a dataset containing more than 3k questions and answers to train the model. You can use any programming language and library, however, you have to explain each project step.\n\nIn the end, save the model in a pickle file to others be able to use it!\n\n----\n\n\u003ch2 id=\"files-description\"\u003e📁 Files Description\u003c/h2\u003e\n\n\u003e **conversation.csv** - contains around 3K simple small talk questions and answers to train the model.\n\n----\n\n\u003ch2 id=\"features\"\u003e❓ Features\u003c/h2\u003e\n\n\u003e **Id** - row id to identify the (*question, answer*) pair;\n\n\u003e **Question** - small talk question.\n\n----\n\n\u003ch2 id=\"target-feature\"\u003e🌟 Target Feature\u003c/h2\u003e\n\n\u003e **Answer** - small talk answer.\n\n----\n\n\u003ch2 id=\"metric\"\u003e📏 Metric\u003c/h2\u003e\n\nThere are inumerous metrics we can us to evaluate Chat Bot models, such as *Number of Active Users*, *Users Satisfaction Score*, *Number of Total Intections per Conversation* and *Time/Lenght of Conversation*. In this project, we will be using **Goal Completion Rate (*GCR*)**.\n\n*GCR* measures how good the model fills its role. In our case, our model goal is to answer simple small talk questions, so, after training it, we will do some conversation tests and se how good and coherent the model answers.\n\n----\n\n\u003ch2 id=\"limitations\"\u003e🛑 Limitations\u003c/h2\u003e\n\nNothing is perfect in this world and Artificial Intelligence and Data Science are not exceptions. Always there will be limitations in our projects.\n\nThe first - and most obvious - limitation we have here are the languages! Our bot will be able to understand English, Japanese and Portuguese only, so, if the model's accessibility becomes public to any person around the world, this person must now one of these three languages or use translators (like *Google Translate*) in order to interact with it.\n\nBesides, even though our dataset contains around 3k small talk questions, it does not contain all possible questions in small talk and our model will probably not answer well some especific questions - yeah, I believe that we won't be able to ask about animes and shows spoilers. 😥\n\n----\n\n\u003ch2 id=\"goals\"\u003e🎯 Goals\u003c/h2\u003e\n\n\u003e **Goal 1** - make a word cloud about the questions and other one about the answers;\n\n\u003e **Goal 2** - make the model answer simple  small talk questions based on our dataset;\n\n\u003e **Goal 3** - generate a sqlite database with all knowledge acquired by the model.\n\n----\n\n\u003ch2 id=\"setup\"\u003e⚙️ Setup\u003c/h2\u003e\n\n***Tools***\n\n\u003e Python Version 3.9.x+;\n\n\u003e Jupyter Notebook;\n\n\u003e SQLite3;\n\n\u003cbr /\u003e\n\n***Libraries***\n\n\u003e Pandas, Numpy, WordCloud;\n\n\u003e ChatterBot.\n\n----\n\n\u003ch2 id=\"acknowledgments\"\u003e🎉 Acknowledgements\u003c/h2\u003e\n\n\u003e Dataset by [*Kreesh Rajani*](https://www.kaggle.com/kreeshrajani) from Kaggle;\n\n\u003e Dataset URL: [3k Conversations Dataset for Chat Bot](https://www.kaggle.com/datasets/kreeshrajani/3k-conversations-dataset-for-chatbot).\n\n----\n\n\u003ch2 id=\"reach-me\"\u003e📫 Reach Me\u003c/h2\u003e\n\n\u003e Email: csfelix08@gmail.com\n\n\u003e Linkedin: [linkedin.com/in/csfelix/](https://linkedin.com/in/csfelix/)\n\n\u003e Portfolio: [CSFelix.io](https://csfelix.github.io)\n    \n\u003e Kaggle: [DSFelix](https://www.kaggle.com/dsfelix)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsfelix%2Fsimple-chat-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsfelix%2Fsimple-chat-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsfelix%2Fsimple-chat-bot/lists"}