Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

doc: How to override config value

Clémence Lesné52234bd5e1b6
diff --git a/README.md b/README.md
index 1d0a46e..fec2807 100644
--- a/README.md
+++ b/README.md
@@ -300,7 +300,7 @@ content_safety:
endpoint: https://xxx.cognitiveservices.azure.com
```
-If you want to use a Service Principal to authenticate to Azure, you can also add the following in a `.env` file:
+To use a Service Principal to authenticate to Azure, you can also add the following in a `.env` file:
```dotenv
AZURE_CLIENT_ID=xxx
@@ -308,6 +308,12 @@ AZURE_CLIENT_SECRET=xxx
AZURE_TENANT_ID=xxx
```
+To override a specific configuration value, you can also use environment variables. For example, to override the `openai.endpoint` value, you can use the `OPENAI__ENDPOINT` variable:
+
+```dotenv
+OPENAI__ENDPOINT=https://xxx.openai.azure.com
+```
+
Then run:
```bash