From d7d819db7ff8eabd7acc1428a1146d8a6df04acc Mon Sep 17 00:00:00 2001 From: xrendan Date: Thu, 19 Jun 2025 17:03:44 -0600 Subject: [PATCH] Fix AI prompting --- app/models/activity_extractor.rb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/app/models/activity_extractor.rb b/app/models/activity_extractor.rb index 65ef0fc..bc60196 100644 --- a/app/models/activity_extractor.rb +++ b/app/models/activity_extractor.rb @@ -20,19 +20,11 @@ def prompt(promises, entry) 3. Assess whether the activity could have a positive, negative, or neutral impact on the progress of the related promise(s). When analyzing the impact: - - Consider direct and indirect effects + - Consider direct and indirect effects. If the promise is specific, do not consider indirect effects. - Think about short-term and long-term consequences - Take into account the scale and scope of the activity - Present your findings in the following format: - - - - [Describe the activity] - [List the related government promise(s)] - [Explain the potential impact on the promise(s), whether positive, negative, or neutral, and why] - - + Present your findings as JSON. If no relevant activities are found in the political artifact, state this clearly in your response.