{"id":22763823,"url":"https://github.com/krishnaura45/dinebot","last_synced_at":"2025-08-22T06:42:51.820Z","repository":{"id":250322927,"uuid":"833320318","full_name":"krishnaura45/DineBot","owner":"krishnaura45","description":"End-to-End NLP Chatbot for Food Services","archived":false,"fork":false,"pushed_at":"2024-07-26T14:10:47.000Z","size":432,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T09:42:39.129Z","etag":null,"topics":["backend","dialogflow","end-to-end-project","frontend","nlp","nlp-projects"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krishnaura45.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":"2024-07-24T19:52:54.000Z","updated_at":"2024-07-26T14:12:12.000Z","dependencies_parsed_at":"2024-07-26T15:18:35.486Z","dependency_job_id":"09279b61-ba5a-46e9-9c5d-d11077c847a2","html_url":"https://github.com/krishnaura45/DineBot","commit_stats":null,"previous_names":["krishnaura45/dinebot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krishnaura45/DineBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaura45%2FDineBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaura45%2FDineBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaura45%2FDineBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaura45%2FDineBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krishnaura45","download_url":"https://codeload.github.com/krishnaura45/DineBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaura45%2FDineBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271599699,"owners_count":24787801,"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-08-22T02:00:08.480Z","response_time":65,"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":["backend","dialogflow","end-to-end-project","frontend","nlp","nlp-projects"],"created_at":"2024-12-11T11:11:15.894Z","updated_at":"2025-08-22T06:42:51.759Z","avatar_url":"https://github.com/krishnaura45.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eDineBot : Streamlining Food Orders with NLP\u003c/h1\u003e\n\nWelcome to the **DineBot** project! This repository contains the code and resources for building an end-to-end intelligent chatbot designed to streamline food orders for culinary websites. The project leverages Dialogflow for natural language understanding, FastAPI for backend services, and MySQL for order management.\n\n## Table of Contents\n\n- [Project Overview](#project-overview)\n- [Directory Structure](#directory-structure)\n- [Tech Stacks](#tech-stacks-involved)\n- [Installation](#installation)\n- [Backend Server Setup](#backend-server-setup)\n- [Ngrok for HTTPS Tunneling](#ngrok-for-https-tunneling)\n- [Future Scope](#future-scope)\n- [Contributing](#contributing)\n- [License](#license)\n- [Conclusion](#conclusion)\n- [References](#references)\n\n## Project Overview\n\nIn this project, we configured a chatbot using Dialogflow for natural language understanding. We built a backend server using Python and FastAPI to interact with a MySQL database for order placement and retrieval. The chatbot was integrated with a food website to enable seamless user interactions and efficient order management.\n\n## Tech Stacks Involved\n\n- **Natural Language Processing (NLP):** Dialogflow\n- **Backend Development:** Python, FastAPI\n- **Database Management:** MySQL\n- **Frontend Development:** HTML, CSS, JavaScript\n- **HTTPS Tunneling:** Ngrok\n\n## Directory Structure\n\n```\nDineBot/\n├── backend/              # Contains Python FastAPI backend code\n├── db/                   # Contains the dump of the MySQL database\n├── dialogflow_assets/    # Contains training phrases and intents for Dialogflow\n└── frontend/             # Contains the website code\n```\n\n## Installation\n\nFirst, clone the repository:\n\n```bash\ngit clone https://github.com/yourusername/DineBot.git\ncd DineBot\n```\n\nNext, install the necessary Python modules:\n\n```bash\npip install mysql-connector-python\npip install \"fastapi[all]\"\n```\n\nAlternatively, you can install all required modules with one command:\n\n```bash\npip install -r backend/requirements.txt\n```\n\n## Backend Server Setup\n\nTo start the FastAPI backend server, follow these steps:\n\n1. Navigate to the `backend` directory in your command prompt:\n\n    ```bash\n    cd backend\n    ```\n\n2. Run the following command to start the server:\n\n    ```bash\n    uvicorn main:app --reload\n    ```\n\n## Ngrok for HTTPS Tunneling\n\nTo expose your local server to the internet using Ngrok, follow these steps:\n\n1. Download and install Ngrok from [here](https://ngrok.com/download) for your operating system.\n2. Extract the zip file and place `ngrok` in a folder.\n3. Open the command prompt, navigate to that folder, and run this command:\n\n    ```bash\n    ngrok http 8000\n    ```\n\n**Note:** Ngrok sessions can expire, so you may need to restart the session if you see a session expired message.\n\n## Usage\n\nOnce the backend server and Ngrok are set up, you can interact with the DineBot through your food website. The chatbot will handle order placement and retrieval seamlessly.\n\n## Future Scope\n\n- **Enhanced NLP Capabilities:** Improve the chatbot's understanding and responses by integrating more advanced NLP techniques.\n- **Multi-language Support:** Expand the chatbot's functionality to support multiple languages.\n- **AI-driven Recommendations:** Implement AI algorithms to provide personalized food recommendations to users.\n- **Mobile App Integration:** Develop a mobile application to complement the web-based chatbot.\n\n## Contributing\n\nWe welcome contributions to enhance DineBot! To contribute, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch: `git checkout -b feature-branch-name`.\n3. Make your changes and commit them: `git commit -m 'Add some feature'`.\n4. Push to the branch: `git push origin feature-branch-name`.\n5. Create a pull request.\n\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.\n\n## Conclusion\n\nDineBot aims to revolutionize the way users place food orders online, offering a seamless and efficient experience through advanced NLP and robust backend services. We look forward to your contributions and feedback to make this project even better.\n\n## References\n\n- [Dialogflow Documentation](https://cloud.google.com/dialogflow/docs)\n- [FastAPI Documentation](https://fastapi.tiangolo.com/)\n- [MySQL Documentation](https://dev.mysql.com/doc/)\n- [Ngrok Documentation](https://ngrok.com/docs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishnaura45%2Fdinebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrishnaura45%2Fdinebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishnaura45%2Fdinebot/lists"}