Skip to main content
Loading navigation
Back to prompt library

Build LlamaIndex BESS Workflow

Linked challenge: Build a Multi-Site Battery Storage Portfolio Manager with LlamaIndex

Prompt source

implementation6 lines2 sectionsNo variables0 checklist items
from llama_index.core.workflow import Workflow, step, Event

# Create event-driven LlamaIndex workflow for multi-site BESS portfolio management
class BessPortfolioWorkflow(Workflow):
    @step
    async def process_telemetry(self, ev: Event) -> Event:
        pass