Skip to content

ba0956012/Talk2Route

Repository files navigation

🧭 Smart Indoor Navigator (Powered by Azure OpenAI & A* Pathfinding)

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

🚀 Features

  • 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").


🛠️ Getting Started

1. Install dependencies

pip install -r requirements.txt

2. Set up .env for Azure OpenAI

AZURE_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_key

3. Run the app

python main.py

The 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")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages