Install¶
Python 3.10+. Two independently installable packages — pick the LlamaIndex hook you need.
API keys¶
Default provider is TypeSafe. Pass a key, or set the matching env var.
Missing keys raise ValueError at construction, not at query time. See providers.
LlamaIndex¶
Both packages require llama-index-core>=0.13,<0.15 (pulled in as a dependency). You still need whatever you use for indexes, embeddings, and query engines — for example llama-index or llama-index-embeddings-*.
The examples use mock embeddings / MockLLM so they only need an OpenRouter key.