gmal-scope-builder/backend/app/services
DJP bc778ce7af P2: Iterative prompting + RFP brief analysis engine
Iterative Prompting:
- Chat box on Match Review tab for natural language refinement
- "re-run under 70%" / "ignore zero volume" / "set all volumes to 1"
- Claude interprets instruction into structured actions
- Actions: rematch_below_threshold, rematch_specific, delete_assets, set_volume
- Re-matches affected assets automatically after refinement
- Chat log shows instruction history

RFP/Brief Analysis:
- New "Brief Analysis" tab between Upload and Match Review
- Extracts: summary, objectives, KPIs, channels, audiences, deliverable categories,
  constraints, timeline, budget, complexity assessment
- Generates prioritized discovery questions (Red/Amber/Green)
- Questions include category, rationale, and priority level
- Stored as JSON in project.brief_analysis field
- Uploaded files now saved to data dir for re-analysis
- Re-analyze button to refresh analysis

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:15:31 -04:00
..
__init__.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
ai_descriptions.py AI-enhanced GMAL descriptions + matching fixes 2026-03-28 10:12:04 -04:00
ai_matching.py P1: Frontend profile/tool selector + match feedback loop 2026-04-09 14:04:49 -04:00
doc_parser.py Improve matching, upload UX, collapse fix, full catalog approach 2026-03-27 19:22:08 -04:00
excel_parser.py Improve matching, upload UX, collapse fix, full catalog approach 2026-03-27 19:22:08 -04:00
export_excel.py P1: Excel SUM formulas + Assumptions & Rates sheet 2026-04-09 14:06:46 -04:00
export_pdf.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
match_refiner.py P2: Iterative prompting + RFP brief analysis engine 2026-04-09 14:15:31 -04:00
ratecard_builder.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
rfp_analysis.py P2: Iterative prompting + RFP brief analysis engine 2026-04-09 14:15:31 -04:00
team_shape.py P1: Role-specific efficiency profiles + BTG tool efficiencies 2026-04-09 13:48:30 -04:00