{"id":24761150,"url":"https://github.com/joaog23/chatbot-iaagent-whatsapp","last_synced_at":"2026-05-11T06:05:50.545Z","repository":{"id":273432946,"uuid":"919528744","full_name":"JoaoG23/Chatbot-IAAgent-WhatsApp","owner":"JoaoG23","description":"🤖💬Este projeto automatiza o envio e recebimento de mensagens via WhatsApp Web, utilizando inteligência artificial para gerar respostas. A comunicação com a IA ocorre via integração com a plataforma Copilot.","archived":false,"fork":false,"pushed_at":"2025-02-05T21:35:20.000Z","size":275,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T22:38:31.371Z","etag":null,"topics":["bot","chatbot","copilot","gemini-api","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/JoaoG23.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":"2025-01-20T14:59:30.000Z","updated_at":"2025-02-05T21:35:24.000Z","dependencies_parsed_at":"2025-01-20T22:47:32.300Z","dependency_job_id":"c88e71f2-0d01-4e32-809e-ed802ec3c114","html_url":"https://github.com/JoaoG23/Chatbot-IAAgent-WhatsApp","commit_stats":null,"previous_names":["joaog23/chatbot-iaagent-whatsapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaoG23%2FChatbot-IAAgent-WhatsApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaoG23%2FChatbot-IAAgent-WhatsApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaoG23%2FChatbot-IAAgent-WhatsApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaoG23%2FChatbot-IAAgent-WhatsApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoaoG23","download_url":"https://codeload.github.com/JoaoG23/Chatbot-IAAgent-WhatsApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245099315,"owners_count":20560577,"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":["bot","chatbot","copilot","gemini-api","python"],"created_at":"2025-01-28T18:30:05.818Z","updated_at":"2026-05-11T06:05:45.507Z","avatar_url":"https://github.com/JoaoG23.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Chatbot IA - WhatsApp 🤖\n\n\u003cimg src=\"./assets/icon.ico\" align=\"right\"\u003e\n\n### 1. Introdução  \n\n**Tempo estimado:** 16 horas\n\nEste projeto automatiza a interação com usuários via WhatsApp utilizando IA (Gemini ou Copilot). O sistema captura mensagens recebidas, processa a solicitação através de uma IA selecionada e retorna a resposta ao usuário.\n\n### 2. Tecnologias Utilizadas 📲  \n\n[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white)](https://www.python.org/)\n[![Google Chrome](https://img.shields.io/badge/Google_Chrome-4285F4?style=for-the-badge\u0026logo=google-chrome\u0026logoColor=white)](https://www.google.com/chrome/)\n[![Selenium](https://img.shields.io/badge/Selenium-43B02A?style=for-the-badge\u0026logo=selenium\u0026logoColor=white)](https://www.selenium.dev/)\n[![Webdriver Manager](https://img.shields.io/badge/Webdriver_Manager-20232A?style=for-the-badge\u0026logo=python\u0026logoColor=white)](https://pypi.org/project/webdriver-manager/)\n[![Gemini AI](https://img.shields.io/badge/Gemini_AI-ff9800?style=for-the-badge\u0026logo=google\u0026logoColor=white)](https://ai.google.dev/)\n[![Copilot](https://img.shields.io/badge/Copilot-24A148?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/features/copilot)\n\n### 3. Estrutura do Projeto 📂  \n\n```\n├── logs/                 # Armazena logs do sistema\n├── src/                  # Código-fonte principal\n├── templates/            # Templates de mensagens (se necessário)\n├── __init__.py           # Arquivo principal do projeto\n├── .env                  # Configurações do ambiente\n├── .gitignore            # Arquivos ignorados pelo Git\n├── LICENSE               # Licença do projeto\n├── README.md             # Documentação do projeto\n├── requirements.txt      # Dependências do projeto\n```\n\n### 4. Instalação 🛠️  \n\n#### Passos para instalar:  \n\n1. Clone o repositório:  \n   ```bash  \n   git clone https://github.com/JoaoG23/chatbot-whatsapp-ia.git  \n   ```  \n2. Instale as dependências:  \n   ```bash  \n   pip install -r requirements.txt  \n   ```  \n3. Crie um arquivo `.env` com o seguinte conteúdo:  \n   ```env  \n   AI_USERNAME=''  # Se necessário\n   AI_PASSWORD=''\n   \n   PATH_USER_PROFILE_CHROME=\"C:\\\\Users\\\\joaog\\\\AppData\\\\Local\\\\Google\\\\Chrome\\\\User Data\\\\Default\"\n   IA_MODEL='gemini'  # Modelos suportados: 'gemini', 'copilot'\n   \n   AI_TOKEN=''  # Token de autenticação da IA\n   ```  \n4. Execute o sistema:\n   ```bash  \n   python __init__.py  \n   ```  \n\n### 5. Funcionalidades ✔️  \n\n- [x] Acessa o WhatsApp Web.\n- [x] Aguarda o usuário fazer login com QR Code.\n- [x] Captura mensagens recebidas em tempo real.\n- [x] Identifica o questionamento do usuário.\n- [x] Verifica qual IA foi selecionada.\n- [x] Envia a mensagem para a IA com base no prompt.\n- [x] Retorna a resposta ao WhatsApp e finaliza a interação.\n\n### 6. Benefícios e Limitações 🛠️  \n\n#### Benefícios:  \n- Automatiza o atendimento via WhatsApp.\n- Permite escalabilidade com múltiplos modelos de IA.\n- Baixo acoplamento graças ao padrão Adapter.\n\n#### Limitações:  \n- Necessário acesso à internet.\n- Restrições de segurança do WhatsApp Web podem afetar o funcionamento.\n\n### 7. Autor  \n\n \u003cimg style=\"border-radius:50%;\" src=\"https://avatars.githubusercontent.com/u/80895578?v=4\" width=\"100px;\" alt=\"\"/\u003e  \n \u003cbr /\u003e  \n \u003csub\u003e\u003cb\u003eJoao Guilherme\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e \u003ca href=\"https://github.com/JoaoG23/\"\u003e🚀\u003c/a\u003e  \n\nDesenvolvido com 🤖 por Joao Guilherme 👋🏽 Entre em contato:  \n\n[![Linkedin Badge](https://shields.io/badge/-Joao%20Guilherme-blue?style=flat-square\u0026logo=Linkedin\u0026logoColor=white\u0026link=https://www.linkedin.com/in/joaog123/)](https://www.linkedin.com/in/joaog123/)  \n[![Email Badge](https://shields.io/badge/-joaoguilherme94@live.com-c80?style=flat-square\u0026logo=Microsoft\u0026logoColor=white\u0026link=mailto:joaoguilherme94@live.com)](mailto:joaoguilherme94@live.com)  \n\n## 8. Licença 📄  \n\n[![License](https://shields.io/github/license/Ileriayo/markdown-badges?style=for-the-badge)](./LICENSE)  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaog23%2Fchatbot-iaagent-whatsapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaog23%2Fchatbot-iaagent-whatsapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaog23%2Fchatbot-iaagent-whatsapp/lists"}