Back to prompt library
LlamaIndex Groq Setup Prompt
Linked challenge: LlamaIndex Construction Risk: Underwriting Knowledge Transfer Engine
Prompt source
implementation4 lines2 sectionsNo variables0 checklist items
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, Settings from llama_index.llms.groq import Groq # Configure LlamaIndex to use Groq LPU engine for fast commercial construction risk extraction Settings.llm = Groq(model='llama-3.1-70b-versatile', api_key=GROQ_API_KEY)