This is a submission for the Redis AI Challenge: Real-Time AI Innovators.
What I Built
DevPrompt AI is a smart, lightweight AI assistant designed for developers and tech learners. It's a web-based tool where users can ask any question — technical or non-technical — and get instant responses powered by OpenAI's large language models.
Built using FastAPI + Redis + OpenAI API — this setup enables smart caching and real-time answers to your questions.
Demo
How I Used Redis 8
It uses Redis 8 as the real-time caching layer to reduce API latency and cost by caching frequently asked queries and instantly serving them. This improves the user experience significantly by delivering results faster — especially for common queries.
The user sends a question to the FastAPI backend
The app checks Redis first (fastest!)
If not found, it fetches from OpenAI and caches it for future
And everything is now testable via Swagger Docs for easy dev/test!
If you're building with OpenAI + Redis, be sure to check your SDK version compatibility!
Thanks for this exciting opportunity!
Highly recommended