Skip to main content
Loading navigation
Back to prompt library

Build LlamaIndex Scheduler Agent

Linked challenge: Optimize GPU Workload Allocation using LlamaIndex RAG Infrastructure

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Import `from llama_index.core import VectorStoreIndex, SimpleDirectoryReader` and `from llama_index.core.agent import AgentRunner`. Build a retrieval agent that indexes GPU pricing sheets and selects the lowest cost execution node fulfilling job SLA requirements.