Configure LLM providers¶
The LLM explainer supports configuration through environment variables, runtime settings, constructor arguments, or an LLMConfig object.
Read the complete provider setup guide
Security requirements¶
- Never commit
.envfiles containing credentials. - Use repository secrets for automated tests and documentation builds.
- Do not print keys in notebook outputs or exception messages.
- Use provider accounts and models that you are authorised to access.
- Review cost and rate-limit implications before increasing perturbation counts.