Skip to content

Showcase FlameGuardAI - https://flameguardai.dlyog.com/ #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Aug 5, 2025

Conversation

tarunchy
Copy link
Contributor

@tarunchy tarunchy commented Jul 29, 2025

Description

I have designed, developed and deployed this app end to end On Behalf of DLYog Lab Research Services LLC

Type of Contribution

  • [] Example Tutorial
  • Showcase Project
  • Article/Integration Guide
  • Documentation Update
  • Bug Fix
  • Other (please describe)

Checklist

  • My code follows the cookbook's style guidelines
  • I have included comprehensive documentation
  • I have tested my code and it works as expected
  • I have included all necessary dependencies and setup instructions
  • My MDX file includes proper frontmatter (title, description, keywords)
  • I have linked to any external repositories or live demos

Project Details

What problem does this solve?
🔥 Inspiration
The devastating LA wildfires were more than a tragic event — they were a turning point. While watching homes burn to the ground, I saw a story about one house that miraculously survived. That story stuck with me.

What protected that home? It wasn’t luck. It was planning — fire-resistant materials, defensible space, and design choices made long before disaster struck. This realization — combined with the rising difficulty of securing home insurance — inspired us to build FlameGuard AI™.

We wanted to create a tool that empowers homeowners to take fire risk prevention into their own hands — not just react after it’s too late.

What makes this contribution valuable to other developers?
FlameGuard AI™ is powered by a modern GenAI stack and built to scale.

Frontend: Lightweight HTML dashboard with user account control, photo upload, and report access
Backend: Python (Flask) with RESTful APIs
Database: PostgreSQL (local) with Azure SQL-ready schema
Containerization: Dockerized for flexible local or cloud deployment
Cloud-ready: Built for Azure App Service with dedicated database support
🔍 Deep Research with Perplexity Sonar API
The real innovation is how we use the Perplexity Sonar API:

After analyzing the uploaded image, we identify specific vulnerabilities (e.g., flammable roof, dry brush nearby).
For each risk, we generate a custom research plan — covering severity, mitigation strategies, and localized insights.
We run iterative agentic-style calls to Perplexity Sonar — treating it like a research assistant gathering the best available information.
The research is aggregated, organized, and formatted into an actionable HTML report — complete with citations, links, and visual guidance.
This kind of structured, trustworthy, AI-powered research would not be possible without Perplexity.

External Links (if applicable):

Testing

###Try it out

Screenshots (if applicable)

https://flameguardai.dlyog.com/

Additional Notes

Our App also includes MCP Server for Claude. How to access it has been captured in Showcase Doc

@vikvang vikvang self-assigned this Jul 29, 2025
@vikvang vikvang self-requested a review July 29, 2025 22:34
Copy link
Collaborator

@vikvang vikvang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Pretty good start, and sick project :)

There's a couple changes that would need to be made in order to merge into the cookbook... . would you mind checking the “Allow edits from maintainers” box on this PR? That way, I can help make the updates directly if you’re okay with it, or you can incorporate the changes yourself. Let me know what works best for you—thanks!

@tarunchy
Copy link
Contributor Author

Sure Let me close and create a new

@tarunchy tarunchy closed this Jul 30, 2025
@tarunchy tarunchy reopened this Jul 30, 2025
@tarunchy
Copy link
Contributor Author

Hi @vikvang, thanks again for the review!

Just a quick note — my fork is under an organization account, and due to a known GitHub limitation, the "Allow edits from maintainers" option isn't available for org-owned forks. That’s why you’re unable to push changes directly to this PR.

If you could leave the required changes as suggestions or comments, I’ll be happy to apply them and push the updates myself. Let me know what works best for you!

Thanks again 🙏

@vikvang
Copy link
Collaborator

vikvang commented Jul 30, 2025

Hi! Do you have your Github repository open-sourced and linked in your submission? I can't seem to find it!

@tarunchy
Copy link
Contributor Author

Hi! Do you have your Github repository open-sourced and linked in your submission? I can't seem to find it!

Yes please check this https://github.com/dlyog/fire-risk-assessor-drone-ai

@kesku kesku requested review from vikvang and removed request for vikvang August 1, 2025 22:48

- [https://flameguardai.dlyog.com](https://flameguardai.dlyog.com)
- [https://flameguardai-mcp.dlyog.com](https://flameguardai-mcp.dlyog.com)
- [https://github.com/dlyog/fire-risk-assessor-drone-ai] (https://github.com/dlyog/fire-risk-assessor-drone-ai)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space breaks the link

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is 550+ lines and tries to do both product storytelling and setup documentation. I'd strongly recommend cutting it down to just being a showcase for your project - what it is, what it does, how it works

@tarunchy
Copy link
Contributor Author

tarunchy commented Aug 2, 2025 via email

@tarunchy
Copy link
Contributor Author

tarunchy commented Aug 3, 2025

@kesku @vikvang - Made all requested changes. Please let me know if any further changes required

@kesku kesku requested a review from vikvang August 4, 2025 05:20
@tarunchy
Copy link
Contributor Author

tarunchy commented Aug 5, 2025

@vikvang - Let me know if you anything further?

Copy link
Collaborator

@vikvang vikvang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with above; still lots of cutting down that can be done! I would reccommend moving the Claude MCP config section and the Inspiration section to the ReadME of your own github repo. This page should be fairly short (<300 lines) and should only communicate the essentials. @tarunchy

@tarunchy

@tarunchy
Copy link
Contributor Author

tarunchy commented Aug 5, 2025

@vikvang check now

@vikvang vikvang merged commit 786aa6d into perplexityai:main Aug 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants