Set Environment Variables
Environment Variables in BAML
Sometimes you’ll see environment variables used in BAML, like in clients:
To set environment variables:
Dynamically setting LLM API Keys
You can set the API key for an LLM dynamically by passing in the key as a header or as a parameter (depending on the provider), using the ClientRegistry.