{"id":27058410,"url":"https://github.com/barraharrison/ai-chatbot","last_synced_at":"2026-04-19T03:03:56.610Z","repository":{"id":286230332,"uuid":"960791612","full_name":"BarraHarrison/AI-Chatbot","owner":"BarraHarrison","description":"Building an AI Chatbot in Python using PyTorch.","archived":false,"fork":false,"pushed_at":"2025-04-09T09:03:45.000Z","size":2174,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T19:47:02.274Z","etag":null,"topics":["chatbot-application","machine-learning","python","pytorch"],"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/BarraHarrison.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":"2025-04-05T04:32:58.000Z","updated_at":"2025-04-09T09:03:48.000Z","dependencies_parsed_at":"2025-04-09T19:17:23.095Z","dependency_job_id":null,"html_url":"https://github.com/BarraHarrison/AI-Chatbot","commit_stats":null,"previous_names":["barraharrison/ai-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BarraHarrison/AI-Chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarraHarrison%2FAI-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarraHarrison%2FAI-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarraHarrison%2FAI-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarraHarrison%2FAI-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BarraHarrison","download_url":"https://codeload.github.com/BarraHarrison/AI-Chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarraHarrison%2FAI-Chatbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267368932,"owners_count":24076093,"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-07-27T02:00:11.917Z","response_time":82,"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-application","machine-learning","python","pytorch"],"created_at":"2025-04-05T12:15:11.789Z","updated_at":"2026-04-19T03:03:56.528Z","avatar_url":"https://github.com/BarraHarrison.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 AI Chatbot Assistant\n\nWelcome to the **AI Chatbot Assistant**, a powerful and interactive Python-based chatbot built using **PyTorch**, **PyQt5**, and modern AI libraries. This project combines machine learning, voice recognition, text-to-speech, and real-time APIs — all within a sleek GUI interface.\n\nWhether you prefer typing or speaking, this assistant is ready to help with news updates, weather forecasts, stock prices, jokes, and more!\n\n---\n\n## 🚀 Features\n\n✅ **Terminal Chatbot** – Classic command-line interface powered by a custom-trained PyTorch model.\n\n✅ **Voice Recognition** – Speak naturally to the bot using your microphone via Google Speech Recognition.\n\n✅ **Text-to-Speech (TTS)** – The chatbot talks back using `pyttsx3`, supporting multiple voices and languages.\n\n✅ **Real-Time API Integrations**  \n- **News Headlines** (NewsAPI.org)  \n- **Weather Forecasts** (OpenWeatherMap)  \n- **Stock Market Prices** (TwelveData API)\n\n✅ **Graphical User Interface (GUI)** – Built with `PyQt5`, the bot features a clean, interactive design inspired by modern assistant apps.\n\n✅ **Standalone Terminal App** – Runs independently from your terminal using the pre-trained model, no retraining required.\n\n✅ **Custom App Icon** – Personalized `.icns` icon for use when packaged into a native desktop application (macOS).\n\n---\n\n## 💪 Installation \u0026 Setup\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/YourUsername/AI-Chatbot-Assistant.git\ncd AI-Chatbot-Assistant\n```\n\n### 2. Create and Activate a Virtual Environment\n```bash\npython3 -m venv venv\nsource venv/bin/activate   # On Windows: venv\\Scripts\\activate\n```\n\n### 3. Install Dependencies\n```bash\npip install -r requirements.txt\n```\n\n\u003e If `requirements.txt` is missing, manually install:\n```bash\npip install torch numpy nltk pyttsx3 PyQt5 speechrecognition python-dotenv requests\n```\n\n### 4. Add Your `.env` File\nCreate a `.env` file in the root directory and include the following:\n```env\nNEWS_API_KEY=your_newsapi_key\nWEATHER_API_KEY=your_openweathermap_key\nSTOCK_API_KEY=your_twelvedata_key\n```\n\n---\n\n## 🧠 Running the Chatbot\n\n### ➔ Option 1: Terminal Mode\n```bash\npython3 main.py\n```\n\n### ➔ Option 2: GUI Mode (with voice + TTS)\n```bash\npython3 chat_gui.py\n```\n\nOnce launched, the chatbot will be ready to interact with you using text or voice.\n\n---\n\n## 🎤 Voice Commands Examples\n\n- “Tell me a joke”\n- “What's the weather like?”\n- “How is Nvidia doing today?”\n- “What are the latest news headlines?”\n- “What’s today’s date?”\n\n---\n\n## 📦 Packaging (Optional)\nYou can package the app into a macOS `.app` bundle using PyInstaller:\n```bash\npyinstaller chat_gui.spec\n```\n\u003e Remember to configure `datas` and `icon` correctly in the `.spec` file.\n\n---\n\n## 📚 Conclusion\n\nThis AI Chatbot Assistant is more than just a project — it's a complete personal assistant powered by speech, APIs, and machine learning. Whether you’re a developer learning NLP or just want a smart terminal buddy, this assistant is built to adapt and grow.\n\n---\n\n## 🧑‍💻 Author\n\nBuilt with 💻 by **Barra Harrison**  \n[GitHub](https://github.com/BarraHarrison)\n\n---\n\n## 📜 License\n\nThis project is licensed under the MIT License.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarraharrison%2Fai-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarraharrison%2Fai-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarraharrison%2Fai-chatbot/lists"}