{"id":22618809,"url":"https://github.com/willalveslima/simple_chatbot","last_synced_at":"2025-03-29T01:28:22.919Z","repository":{"id":250184339,"uuid":"833727579","full_name":"willalveslima/simple_chatbot","owner":"willalveslima","description":"Projeto de Chatbot Simples com Deep Learning","archived":false,"fork":false,"pushed_at":"2024-07-25T16:23:23.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T11:33:40.591Z","etag":null,"topics":["chatbot","deep-learning"],"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/willalveslima.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":"2024-07-25T16:10:53.000Z","updated_at":"2024-07-25T16:23:26.000Z","dependencies_parsed_at":"2024-07-25T18:43:21.959Z","dependency_job_id":"a50e83f0-bb25-4968-b0ff-6cdf1cb40802","html_url":"https://github.com/willalveslima/simple_chatbot","commit_stats":null,"previous_names":["willalveslima/simple_chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willalveslima%2Fsimple_chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willalveslima%2Fsimple_chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willalveslima%2Fsimple_chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willalveslima%2Fsimple_chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willalveslima","download_url":"https://codeload.github.com/willalveslima/simple_chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246124924,"owners_count":20727335,"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","deep-learning"],"created_at":"2024-12-08T21:10:08.001Z","updated_at":"2025-03-29T01:28:22.895Z","avatar_url":"https://github.com/willalveslima.png","language":"Python","readme":"\n# Projeto de Chatbot Simples com Deep Learning\n\nEste projeto utiliza a Deep Learning para criar um chatbot Simples. Ele inclui dois scripts principais:   `treino_do_modelo.py` e  `chat.py` .\nReferência: Artigo  [How To Build Your Own Chatbot Using Deep Learning](https://https://towardsdatascience.com/how-to-build-your-own-chatbot-using-deep-learning-bb41f970e281)\n\n## Índice\n\n- [Instalação](#instalação)\n- [Uso](#uso)\n  - [Treinamento do Modelo](#treinamento-do-modelo)\n  - [Chatbot](#chatbot)\n  \n- [Requisitos](#requisitos)\n- [Licença](#licença)\n\n## Instalação\n\n1. Clone o repositório:\n    ```sh\n    git clone https://github.com/willalveslima/simple_chatbot.git\n    cd seu-repositorio\n    ```\n\n2. Crie e ative um ambiente virtual:\n    ```sh\n    python -m venv venv\n    source venv/bin/activate  # No Windows use `venv\\Scripts\\activate`\n    ```\n\n3. Instale as dependências:\n    ```sh\n    pip install -r requirements.txt\n    \n    ```\n\n## Uso\n\n\n\n### Treinamento do Modelo\n\nO script `treino_do_modelo.py` permite realizar o treinamento do modelo com dados dos tokens.\n\n1. Prepare seu arquivo de dados de treino no formato JSON e salve-o como `intents.jsonl`.\n\n2. Execute o script:\n    ```sh\n    python treino_do_modelo.py\n    ```\n\n### Chatbot\n\nO script `chat.py` permite que você faça a interação com o modelo e receba respostas.\n\n1. Execute o script:\n    ```sh\n    python chat.py\n    ```\n\nExemplo de interação:\n\n```sh\n   Start messaging with the bot (type quit to stop)!\nUser: Hi \n1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 55ms/step\nChatBot: Hello\nUser: I need help\n1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 15ms/step\nChatBot: Tell me how can assist you\nUser: install software\n1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 14ms/step\nChatBot: Hi\nUser: olá\n1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 14ms/step\nChatBot: Hi there\nUser: what is your name?\n1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 14ms/step\nChatBot: You can call me Joana.\nUser: hi joana\n1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 16ms/step\nChatBot: Hi\nUser: by\n1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 13ms/step\nChatBot: Hello\nUser: quit\n```\n\n\n## Requisitos\n\ncolorama==0.4.6  \nkeras==3.4.1  \nnumpy==1.26.4  \nscikit-learn==1.5.1  \ntensorflow==2.17.0  \n\n\n## Licença\n\nEste projeto está licenciado sob a [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillalveslima%2Fsimple_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillalveslima%2Fsimple_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillalveslima%2Fsimple_chatbot/lists"}