{"id":28496241,"url":"https://github.com/nitindavegit/foodchatbot-ai-assistant","last_synced_at":"2026-05-08T04:41:32.211Z","repository":{"id":297818017,"uuid":"997988978","full_name":"nitindavegit/FoodChatBot-AI-assistant","owner":"nitindavegit","description":"ood Ordering Assistant is a conversational chatbot powered by Dialogflow and FastAPI backend. It allows users to add, remove, view, and complete food orders through natural language interactions, making food ordering simple and intuitive.","archived":false,"fork":false,"pushed_at":"2025-06-07T17:20:14.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-07T17:33:43.066Z","etag":null,"topics":["dialogflow","fastapi","ngrok","postgresql","python"],"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/nitindavegit.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,"zenodo":null}},"created_at":"2025-06-07T16:22:04.000Z","updated_at":"2025-06-07T17:20:18.000Z","dependencies_parsed_at":"2025-06-07T17:43:49.919Z","dependency_job_id":null,"html_url":"https://github.com/nitindavegit/FoodChatBot-AI-assistant","commit_stats":null,"previous_names":["nitindavegit/foodchatbot-ai-assistant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nitindavegit/FoodChatBot-AI-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindavegit%2FFoodChatBot-AI-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindavegit%2FFoodChatBot-AI-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindavegit%2FFoodChatBot-AI-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindavegit%2FFoodChatBot-AI-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitindavegit","download_url":"https://codeload.github.com/nitindavegit/FoodChatBot-AI-assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindavegit%2FFoodChatBot-AI-assistant/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263165685,"owners_count":23423992,"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":["dialogflow","fastapi","ngrok","postgresql","python"],"created_at":"2025-06-08T12:06:53.852Z","updated_at":"2026-05-08T04:41:32.163Z","avatar_url":"https://github.com/nitindavegit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Food Ordering Assistant (Dialogflow + FastAPI)\n![image](https://github.com/user-attachments/assets/00b2e094-ce90-4368-9a26-1d006856c287)\n## Overview\n\nThis project is a conversational food ordering assistant built using **Dialogflow** for natural language understanding and **FastAPI** as the backend server.  \nUsers can add, remove, view, and complete their food orders through conversational commands.\n\n---\n\n## Features\n\n- Natural language interaction using Dialogflow\n- Add items to order (with quantity and variants)\n- Remove items from order (handles case insensitive matching)\n- View current order status\n- Complete order and reset session\n- Session management with FastAPI backend\n\n---\n\n\n## Tech Stack\n\n- **Dialogflow CX / ES** (for building conversational agents)\n- **FastAPI** (Python framework for REST API backend)\n- **Uvicorn** (ASGI server to run FastAPI)\n- **Ngrok** (optional, for local tunneling to expose your server to Dialogflow)\n- **Python 3.9+**\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.9 or higher installed\n- Dialogflow agent created in Google Cloud Console\n- Ngrok installed (optional for local development)\n\n### Installation\n\n1. Clone the repo:\n   ```bash\n   git clone https://github.com/yourusername/FoodChatBot-AI-assistant.git\n   cd FoodChatBot-AI-assistant\n   ```\n\n2. Create and activate a virtual environment:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n### Running the Server\n\n```bash\nuvicorn main:app --reload\n```\n\n- The FastAPI server will start on `http://127.0.0.1:8000`.\n- Use ngrok to expose this endpoint to Dialogflow:\n  ```bash\n  ngrok http 8000\n  ```\n- Copy the public HTTPS URL from ngrok and set it as the webhook URL in your Dialogflow fulfillment.\n\n---\n\n## Dialogflow Setup\n\n- Create intents for adding, removing, viewing, and completing orders.\n- Set up webhook fulfillment pointing to your FastAPI server URL.\n- Use session IDs to maintain order state per user.\n- Map user expressions to respective intent actions.\n\n---\n\n## Usage\n\n- Start a conversation in Dialogflow simulator or integrated platform.\n- Add food items by saying:  \n  *“Add 2 masala dosas”*  \n- Remove items by saying:  \n  *“Remove dosa”* (case insensitive handling)\n- Check your order status:  \n  *“What’s in my order?”*  \n- Complete your order:  \n  *“Complete order”*\n\n---\n\n## Troubleshooting\n\n- Make sure your webhook URL is HTTPS and reachable from Dialogflow.\n- Use consistent session IDs to track user orders.\n- Handle case insensitive matching to improve user experience.\n- Review Dialogflow logs for webhook errors.\n\n---\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitindavegit%2Ffoodchatbot-ai-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitindavegit%2Ffoodchatbot-ai-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitindavegit%2Ffoodchatbot-ai-assistant/lists"}