From 02b5c3dd5f4d7415e611d97512b4bcd6ed405bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Fri, 5 Apr 2024 16:16:56 -0700 Subject: [PATCH] update dot-env.template --- dot-env.template | 12 ++++++++++-- src/dailyai/services/azure_ai_services.py | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/dot-env.template b/dot-env.template index bbbef51ab..06b8a36eb 100644 --- a/dot-env.template +++ b/dot-env.template @@ -2,8 +2,16 @@ ANTHROPIC_API_KEY=... # Azure -SPEECH_KEY=... -SPEECH_REGION=... +AZURE_SPEECH_REGION=... +AZURE_SPEECH_API_KEY=... + +AZURE_CHATGPT_API_KEY=... +AZURE_CHATGPT_ENDPOINT=https://... +AZURE_CHATGPT_MODEL=... + +AZURE_DALLE_API_KEY=... +AZURE_DALLE_ENDPOINT=https://... +AZURE_DALLE_MODEL=... # Daily DAILY_API_KEY=... diff --git a/src/dailyai/services/azure_ai_services.py b/src/dailyai/services/azure_ai_services.py index 0f0151144..e9b15ec30 100644 --- a/src/dailyai/services/azure_ai_services.py +++ b/src/dailyai/services/azure_ai_services.py @@ -19,7 +19,7 @@ except ModuleNotFoundError as e: print(f"Exception: {e}") print( - "In order to use Azure TTS, you need to `pip install dailyai[azure]`. Also, set `SPEECH_KEY` and `SPEECH_REGION` environment variables.") + "In order to use Azure TTS, you need to `pip install dailyai[azure]`. Also, set `AZURE_SPEECH_API_KEY` and `AZURE_SPEECH_REGION` environment variables.") raise Exception(f"Missing module: {e}") from dailyai.services.openai_api_llm_service import BaseOpenAILLMService