This project is a smart indoor navigation system that leverages natural language input and AI inference to find and visualize optimal paths within a grid-based indoor map. It combines:
- 🧠 Azure OpenAI (ChatGPT) for semantic destination recognition
- 📍 A* (A-Star) algorithm for path planning
- 🗺️ Matplotlib for map visualization and labeled routes
-
✨ Natural Language Destination Detection
Type queries like “I want to go to the restroom” and let the AI decide the most relevant destination. -
🔍 A Pathfinding Algorithm*
Calculates the shortest path from your current location to the target. -
🎨 Map Visualization
Clearly displays the map grid and planned path with color-coded labels and legends. -
📢 Step-by-Step Direction Output
Guides the user with direction-based step instructions (e.g., "Go right 5 steps").
pip install -r requirements.txtAZURE_OPENAI_ENDPOINT=your_azure_endpoint
AZURE_OPENAI_API_VERSION=2023-07-01-preview
AZURE_OPENAI_CHATGPT_DEPLOYMENT=your_deployment_name
OPENAI_API_KEY=your_api_keypython main.pyThe system will prompt for:
A starting node ID (e.g., 0 for corridor) A natural language query (e.g., "I need to attend a meeting")