Inspiration

Streamline the 311 user submission process to make it easier for residents to reach the right people and access necessary resources.

The SF Service Guide is an online directory of human services in SF and says their "goal is to help anyone with access to a smartphone, tablet, or computer find the services they need." Residents should not need access to those--so we let them call a phone # to get access to those resources. Or they could access it via SMS or web chat.)

What it does

  • Easy creation of 311 requests/simpler access to 311
  • access to nonprofit resources
  • automate identification and matching of client needs to appropriate public benefits and services
  • reduce the manual workload of case managers, housing counselors, and others in the government whose job it is to help people access the government services they need, enabling them to assist more clients effectively
  • text +18553021845 or go to https://311plus.streamlit.app/ or call +18654247352 (can speak in Spanish!) to report something as you would use 311

How we built it

Python, LangChain, Replicate, OpenAI, Weaviate vector DB, Twilio SMS/Flex/Voice, Streamlit, Replit, ImageAI, Google Cloud FireStore...lots of different pieces! We had fun!

Challenges we ran into

  • LLM didn't want to parse user input string for a location--needed to prompt it with the grandma exploit
  • data is spread out and resources are not centralized
  • encoding and decoding images in Python

Accomplishments that we're proud of

Working apps! Phone calls made! Human scripts generated via LLM!

What we learned

  • How to use Vector Databases like Weaviate
  • how to create Prompt Templates in LangChain
  • deploy Streamlit apps to the web
  • encode and decode images in Python ## What's next for 311+
  • integrate with 311 production infrastructure!!
  • partner with SF service guide

Built With

  • 311
  • imageai
  • langchain
  • openai
  • replicate
  • replit
  • streamlit
  • twilio
  • vectordb
  • weaviate
Share this project:

Updates