Back to Prompt Library
implementation

Build Metaflow Orchestration and GPT-4o Interface

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Hybrid Solar-BESS Market & Resilience Optimization with GPT-4o & Metaflow

Format
Text-first
Lines
1
Sections
1
Linked challenge
Hybrid Solar-BESS Market & Resilience Optimization with GPT-4o & Metaflow

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Construct a Metaflow pipeline that orchestrates the entire workflow: data fetching, forecasting, optimization, and result persistence. Integrate OpenAI's GPT-4o to process simulation results and generate clear, actionable explanations for hypothetical operator queries (e.g., 'Why did the BESS discharge at this time?'). Demonstrate how Metaflow manages data artifacts and ensures reproducibility.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Hold the task contract and output shape stable so generated implementations remain comparable.

Tune next

Update libraries, interfaces, and environment assumptions to match the stack you actually run.

Verify after

Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.