Inspiration

Many city and government websites are hard to navigate for the average resident or citizen. These websites have confusing layouts, which makes them slow and not mobile-friendly.

What it does

Using generative AI and city data, CityGPT provides instant, accurate answers, guiding you to the right services. The chat answers questions regarding city services, such as transit schedules, tax deadlines, permits, and trash pickup.

How we built it

  • HTML for website text and layout
  • CSS for website styling
  • JavaScript for integrating frontend and backend
  • Python for backend and chat implementation
  • FastAPI for chat response generation
  • Bootstrap theme for website structure

Challenges we ran into

There were many issues running the backend server. After multiple debugging attempts, the chat function was working. However, a mock response was used in the demo for simplicity.

Accomplishments that we're proud of

  • Successfully linking the API after many errors

What we learned

  • Setting up an API for the first time
  • Connecting the frontend and backend together

What's next for CityGPT

There will be more features added, including multilingual support, voice interaction, smart search, and a city knowledge base. Multiple APIs will be needed to implement these features.

Share this project:

Updates