{"id":27979308,"url":"https://github.com/tanishpoddar/neuralnexus","last_synced_at":"2025-05-08T02:52:03.175Z","repository":{"id":291498077,"uuid":"977807773","full_name":"tanishpoddar/NeuralNexus","owner":"tanishpoddar","description":"NeuralNexus is an intelligent chatbot powered by TensorFlow and Natural Language Processing (NLP). It uses a neural network to understand and respond to user queries with context awareness and personality.","archived":false,"fork":false,"pushed_at":"2025-05-05T01:56:39.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T02:51:58.916Z","etag":null,"topics":["nlp","python","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tanishpoddar.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,"zenodo":null}},"created_at":"2025-05-05T01:55:11.000Z","updated_at":"2025-05-05T01:57:06.000Z","dependencies_parsed_at":"2025-05-05T02:36:38.609Z","dependency_job_id":"996388ad-ef69-4c98-988f-9540be2d6f20","html_url":"https://github.com/tanishpoddar/NeuralNexus","commit_stats":null,"previous_names":["tanishpoddar/neuralnexus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanishpoddar%2FNeuralNexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanishpoddar%2FNeuralNexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanishpoddar%2FNeuralNexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanishpoddar%2FNeuralNexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanishpoddar","download_url":"https://codeload.github.com/tanishpoddar/NeuralNexus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252989938,"owners_count":21836666,"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":["nlp","python","tensorflow"],"created_at":"2025-05-08T02:52:02.557Z","updated_at":"2025-05-08T02:52:03.157Z","avatar_url":"https://github.com/tanishpoddar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NeuralNexus - AI Chatbot\n\nNeuralNexus is an intelligent chatbot powered by TensorFlow and Natural Language Processing (NLP). It uses a neural network to understand and respond to user queries with context awareness and personality.\n\n## Features\n\n- 🤖 Natural Language Understanding\n- 🧠 Neural Network-based Response Generation\n- 🔄 Context-Aware Conversations\n- 💬 Modern Web Interface\n- 🎨 Beautiful UI with Animations\n- 📱 Responsive Design\n- ⚡ Real-time Processing\n\n## Prerequisites\n\n- Python 3.10 or higher\n- pip (Python package installer)\n- Virtual environment (recommended)\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/tanishpoddar/NeuralNexus.git\ncd NeuralNexus\n```\n\n2. Create and activate a virtual environment:\n```bash\n# Windows\npython -m venv .venv\n.venv\\Scripts\\activate\n\n# Linux/MacOS\npython3 -m venv .venv\nsource .venv/bin/activate\n```\n\n3. Install required packages:\n```bash\npip install -r requirements.txt\n```\n\n## Project Structure\n\n```\nNeuralNexus/\n├── main-host.py          # Main application file\n├── intents.json          # Training data and responses\n├── model.weights.h5      # Trained model weights\n├── data.pickle           # Processed training data\n├── templates/\n│   └── index.html        # Web interface\n└── requirements.txt      # Python dependencies\n```\n\n## Required Packages\n\n- tensorflow==2.15.0\n- numpy==1.24.3\n- nltk==3.8.1\n- flask==3.0.0\n- python-dotenv==1.0.0\n\n## Running the Application\n\n1. Ensure you're in the virtual environment\n2. Run the Flask application:\n```bash\npython main-host.py\n```\n3. Open your browser and navigate to:\n```\nhttp://localhost:5000\n```\n\n## Training the Model\n\nThe model is automatically trained when you run the application. It:\n1. Processes the intents from `intents.json`\n2. Creates a bag-of-words representation\n3. Trains a neural network with:\n   - Input layer: Size based on vocabulary\n   - Hidden layers: Two layers with 16 neurons each\n   - Dropout layers: To prevent overfitting\n   - Output layer: Size based on number of intents\n\n## Customization\n\n### Adding New Intents\nEdit `intents.json` to add new conversation patterns and responses:\n```json\n{\n    \"tag\": \"new_intent\",\n    \"patterns\": [\"pattern1\", \"pattern2\"],\n    \"responses\": [\"response1\", \"response2\"]\n}\n```\n\n## Troubleshooting\n\n### Common Issues\n\n1. **Import Errors**\n   - Ensure all packages are installed correctly\n   - Check Python version compatibility\n   - Verify virtual environment activation\n\n2. **Model Training Issues**\n   - Delete `model.weights.h5` and `data.pickle`\n   - Restart the application to retrain\n\n3. **Web Interface Issues**\n   - Clear browser cache\n   - Check console for JavaScript errors\n   - Verify Flask server is running\n\n### Error Messages\n\n- \"ModuleNotFoundError\": Install missing packages\n- \"TypeError\": Check input format in intents.json\n- \"ValueError\": Verify model architecture matches data\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Commit your changes\n4. Push to the branch\n5. Create a Pull Request\n\n## License\n\nThis project is licensed under the GNU General Public License v3.O License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanishpoddar%2Fneuralnexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanishpoddar%2Fneuralnexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanishpoddar%2Fneuralnexus/lists"}