Skip to content

Commit

Permalink
Update prompt for fuel mix to fix energy system to electricity system
Browse files Browse the repository at this point in the history
  • Loading branch information
SaM-92 committed Mar 18, 2024
1 parent c06b79c commit 36507a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions subs/openai_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ def create_fuel_mix_prompt(date, fuel_mix_data, net_import_status):
f"📅 Date: {date}\n"
f"🔋 Fuel Mix Data (MWh & Percentage):\n\n"
f"{fuel_mix_details}\n\n"
"Based on the above data, write a short report about the status of the energy system over the last 24 hours. "
"Please summarize the contribution of each fuel source to the overall mix and any notable trends. "
"Based on the above data, write a short report about the status of the electricity system over the last 24 hours. "
"Please summarise the contribution of each fuel source to the overall mix and any notable trends. "
"Use the following structure for your response, incorporating the specified emojis to highlight each fuel source:\n\n"
"📋 Fuel Mix Status:\n"
"- 🪨 Coal: [percentage]%\n"
Expand Down
2 changes: 1 addition & 1 deletion subs/telegram_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,4 +326,4 @@ async def telegram_wind_analysis(update, context, user_first_name):
wind_demand_summary = wind_and_demand_report(prompt_for_wind_demand)
plot_demand_vs_wind = area_plot_wind_demand(demand, wind)
await send_plot_wind_demand(update, context, plot_demand_vs_wind)
# await update.message.reply_text(wind_demand_summary)
await update.message.reply_text(wind_demand_summary)

0 comments on commit 36507a4

Please sign in to comment.