Update Analysis Support for Gulf Futures
- Mar 02, 2025
-
This PR substantially refactors the Analysis Support script with the primary goal of enabling configurable prompt files per competition and creates a new prompts config for GFC2024. These files are now stored in competitions/{competition}/ansible/roles/{competition}/files/LLM_Prompts.yml
, read and validated by the script when run.
The format looks like the following:
title: LLM LFC Analysis
prompts:
- title: Project Overview
prompt: |
Please summarize in 3 bullet points the key
details of the proposal in the following areas: The Challenge, The
Solution and The Plan.
prompts:
- title: The Challenge
prompt: |
Please summarize in 2-3 sentences the challenge the proposal
tackles. This should only include facts and no analysis.
blocks:
- the_problem
- title: The Solution
prompt: |
Please summarize in 2-3 sentences describing the solution and
impact. This should include what, how, and with whom. This
should only include facts and no analysis.
blocks:
- the_solution
# ...
Here's how I'm testing:
./analysis_support.py --competition=GFC2024 --proposals=[PROPOSAL ID] --dry-run
Closes https://code.librehq.com/ots/clients/lfc/torque-tracker/-/issues/374 and addresses https://code.librehq.com/ots/clients/lfc/torque-tracker/-/issues/100