Skip to main content
Loading navigation
Back to prompt library

LlamaIndex Setup

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

Prompt source

implementation3 lines2 sectionsNo variables0 checklist items
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
from livekit.agents import WorkerOptions, cli

# Construct a LlamaIndex VectorStoreIndex over substation procurement technical files and wire into LiveKit agent handler.