Skip to content

[FEAT]: Add trusted context enrichment layer for weather and jurisdiction fields #484

@Harshvardhan-91

Description

@Harshvardhan-91

📝 Description

FireForm currently relies primarily on the user’s incident narrative and the LLM extraction pipeline to populate report fields.

For many emergency and wildfire reports, however, some fields should not be guessed or inferred by the LLM when they can be retrieved from trusted deterministic sources.

Examples:

  • wind speed at incident time
  • humidity
  • temperature
  • geographic coordinates
  • jurisdiction / county / district
  • incident location validation

This issue proposes adding a trusted context enrichment layer between initial incident extraction and final PDF filling.

The goal is to let the LLM focus on understanding the responder’s narrative, while deterministic provider modules enrich objective facts such as weather and geography.

Conceptually:

Incident text / voice transcript
        ↓
LLM extracts narrative fields
        ↓
Context enrichment layer
        ↓
Weather provider + geocoding / jurisdiction provider
        ↓
Validated enriched incident JSON
        ↓
Template mapping + PDF fill

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions