Challenge

Build a Voice-Enabled Substation Procurement RAG Agent with LlamaIndex and LiveKit

High-voltage substation EPC bidding involves complex technical specifications and rapid query responses for site engineers. Build an interactive voice and document query agent using LlamaIndex and LiveKit that synthesizes technical schematics and procurement constraints with under 1.5 seconds latency.

Business OperationsHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Develop a voice-driven technical document RAG agent using LlamaIndex indexers and LiveKit real-time voice sessions.

Delivery guide

How work is evaluated

Evaluation

Evaluates accuracy of answers extracted from substation contract PDFs and latency over LiveKit voice channel.

Datasets

Shared data for this challenge

Review public datasets and any private uploads tied to your build.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

latency_test

Ensures query response time is under 1500ms

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

retrieval_precision

Cosine similarity of generated response with technical reference specification • target: 0.9 • range: 0-1

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Build high-performance vector indices for engineering specifications using LlamaIndex

  • Stream natural voice queries and synthesized answers using LiveKit WebRTC SDK

  • Implement dynamic vector routing for Riyadh Expo 380kV substation technical codes

  • Measure and optimize end-to-end voice query latency below 1500ms

Resources and assets

Reference links and supporting material

Dataset notes

Indexed specification documents covering 380kV electrical substation engineering standards, procurement BOMs, and Expo site layout specs.

How this agent runs

Evaluates accuracy of answers extracted from substation contract PDFs and latency over LiveKit voice channel.

Challenge input

Audio chunk or audio transcript string query

LlamaIndex

Vector indexing and document retrieval

LiveKit

Real-time audio session management

Evaluated output

JSON containing string response, source_node_id, latency_ms

Checks for
  • Ensures query response time is under 1500ms
  • Cosine similarity of generated response with technical reference specification • target: 0.9 • range: 0-1
Proof of success
  • Benchmark: RAG QA Standard Bench
  • Retrieval Precision target: 0.9
  • 1 public reference case
Runtime evidence
  • Python execution harness
  • Python sandbox (unavailable on Versalist)
View technical recipe

Configured tools

Action Space
  • LiveKit · Required
  • Llama Index · Optional
  • Exa · Optional

Evaluation contract

  • latency_test · Weight 1
  • retrieval_precision · Weight 1

Recipe state

This is a preview. The configuration can change before the evaluation recipe is locked.

Frequently Asked Questions about Build a Voice-Enabled Substation Procurement RAG Agent with LlamaIndex and LiveKit