fix inesco and sodistore home naming and remove Mistral AI info
This commit is contained in:
parent
36848b97c5
commit
50c45399bd
|
|
@ -113,7 +113,7 @@ public static class ReportEmailService
|
|||
GridIn: "Netz Ein",
|
||||
GridOut: "Netz Aus",
|
||||
BattInOut: "Batt. Laden/Entl.",
|
||||
Footer: "Erstellt von <strong style=\"color:#666\">Inesco Energy Monitor Platform</strong> · Powered by Mistral AI"
|
||||
Footer: "Erstellt von <strong style=\"color:#666\">inesco Energy Monitor</strong>"
|
||||
),
|
||||
"fr" => new EmailStrings(
|
||||
Title: "Rapport de performance hebdomadaire",
|
||||
|
|
@ -143,7 +143,7 @@ public static class ReportEmailService
|
|||
GridIn: "Réseau Ent.",
|
||||
GridOut: "Réseau Sor.",
|
||||
BattInOut: "Batt. Ch./Déch.",
|
||||
Footer: "Généré par <strong style=\"color:#666\">Inesco Energy Monitor Platform</strong> · Propulsé par Mistral AI"
|
||||
Footer: "Généré par <strong style=\"color:#666\">inesco Energy Monitor</strong>"
|
||||
),
|
||||
"it" => new EmailStrings(
|
||||
Title: "Rapporto settimanale delle prestazioni",
|
||||
|
|
@ -173,7 +173,7 @@ public static class ReportEmailService
|
|||
GridIn: "Rete Ent.",
|
||||
GridOut: "Rete Usc.",
|
||||
BattInOut: "Batt. Car./Sc.",
|
||||
Footer: "Generato da <strong style=\"color:#666\">Inesco Energy Monitor Platform</strong> · Powered by Mistral AI"
|
||||
Footer: "Generato da <strong style=\"color:#666\">inesco Energy Monitor</strong>"
|
||||
),
|
||||
_ => new EmailStrings(
|
||||
Title: "Weekly Performance Report",
|
||||
|
|
@ -203,7 +203,7 @@ public static class ReportEmailService
|
|||
GridIn: "Grid In",
|
||||
GridOut: "Grid Out",
|
||||
BattInOut: "Batt. Ch./Dis.",
|
||||
Footer: "Generated by <strong style=\"color:#666\">Inesco Energy Monitor Platform</strong> · Powered by Mistral AI"
|
||||
Footer: "Generated by <strong style=\"color:#666\">inesco Energy Monitor</strong>"
|
||||
)
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ public static class WeeklyReportService
|
|||
var battBehaviorLine = !string.IsNullOrEmpty(battDepleteLine) ? $"- {battDepleteLine}" : "";
|
||||
|
||||
// Build conditional instructions
|
||||
var instruction1 = $"1. Energy savings: Write 1–2 sentences. Say that this week, thanks to SodistoreHome, the customer avoided buying {totalEnergySaved} kWh from the grid, saving {totalSavingsCHF} CHF (at {ElectricityPriceCHF} CHF/kWh). Use these exact numbers — do not recalculate or change them.";
|
||||
var instruction1 = $"1. Energy savings: Write 1–2 sentences. Say that this week, thanks to sodistore home, the customer avoided buying {totalEnergySaved} kWh from the grid, saving {totalSavingsCHF} CHF (at {ElectricityPriceCHF} CHF/kWh). Use these exact numbers — do not recalculate or change them.";
|
||||
|
||||
var instruction2 = hasPv
|
||||
? $"2. Solar performance: Comment on the best and worst solar day this week and the likely weather reason."
|
||||
|
|
@ -274,7 +274,7 @@ public static class WeeklyReportService
|
|||
? $"4. Smart action for next week: Write exactly 2 sentences. Sentence 1: state that the peak grid-import hour is {FormatHourSlot(behavior.HighestGridImportHour)} ({behavior.AvgGridImportAtPeakHour} kWh avg). Sentence 2: suggest one action to reduce grid use during that hour — shifting energy-intensive appliances (washing machine, dishwasher, heat pump, EV charger) away from that time."
|
||||
: "4. Smart action for next week: Give one practical tip to reduce energy consumption based on the peak load time and weekday/weekend pattern.";
|
||||
|
||||
var prompt = $@"You are an energy advisor for a SodistoreHome installation: ""{installationName}"".
|
||||
var prompt = $@"You are an energy advisor for a sodistore home installation: ""{installationName}"".
|
||||
|
||||
Write 4 bullet points (each on its own line starting with ""- ""). No bold markers, no asterisks, no markdown — plain text only.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue