Skip to content

[FEAT]: UI Fallback and popup for missing LLM field input #503

@marcvergees

Description

@marcvergees

📝 Description

Implement a UI fallback for cases when the LLM (large language model) doesn't fill a form field as expected. When this happens, a popup window should appear to let the user directly input the required data.

💡 Rationale

Currently, if the LLM is unable to fill a field, the response is a -1. Allowing the user to manually enter data ensures no information gaps, improving reliability and user experience in automated workflows.

🛠️ Proposed Solution

  • Detect when the LLM fails to fill a required field (-1)
  • Trigger a popup window via UI to prompt for user input
  • Accept user input and fill the missing form field
  • Integrate fallback logic within the existing form handling pipeline

✅ Acceptance Criteria

  • UI fallback correctly triggers when LLM does not fill a field
  • User can input missing data in a popup
  • Data is processed as if filled by the LLM
  • Feature works entirely in Docker container setups
  • Documentation updated in docs/
  • JSON output validates against the schema

📌 Additional Context

This provides a seamless backup mechanism for form completion in FireForm, especially helpful for critical fields or unreliable LLM completions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    Status

    Week X TODO's

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions