Skip to content

AI-Assisted Complaint Writing #4

Description

@IwuchukwuDivine

Description

Add an AI assistant to help users write better complaint descriptions. When composing a complaint, users should have the option to enhance their text using AI.

Proposed Features

  • Improve text — AI rewrites the user's draft to be clearer, more formal, and more actionable
  • Generate from summary — User types a rough summary, AI expands it into a full description
  • Inline suggestions — Button or icon next to the description field to trigger AI assistance
  • Preview before applying — Show the AI-generated version and let the user accept, edit, or reject it

UX Flow

  1. User types a rough description
  2. Clicks "Improve with AI" button
  3. AI-generated version appears in a preview
  4. User can accept, edit, or dismiss

Technical Considerations

  • Server-side API route to handle AI requests (keep API keys secure)
  • Rate limiting to prevent abuse
  • Works with any LLM provider (OpenAI, Anthropic, etc.)

Why

Many users struggle to articulate civic issues clearly. AI assistance lowers the barrier to filing effective complaints, making the platform more accessible and the complaints more actionable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions