Back to prompt library
Build LlamaIndex Infrastructure Noise Analyzer
Linked challenge: LlamaIndex Infrastructure Noise & Benchmark Variance Analyzer
Prompt source
implementation6 lines3 sectionsNo variables0 checklist items
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, Document from llama_index.core.query_engine import CustomQueryEngine # Create LlamaIndex pipeline to ingest hardware benchmark run logs documents = [Document(text='Run 1: pass_rate=0.72 cpu_steal=12%')] index = VectorStoreIndex.from_documents(documents) # Implement query engine to compute noise variance ratios