Python: Fix Azure AI Getting Started samples: Improve documentation and code readability (#1089)

* Initial plan

* Fix Azure AI samples: Add dotenv support, fix async input, improve docs

Co-authored-by: dmytrostruk <13853051+dmytrostruk@users.noreply.github.com>

* Remove dotenv.load_dotenv() and revert async input() changes per review feedback

Co-authored-by: dmytrostruk <13853051+dmytrostruk@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: dmytrostruk <13853051+dmytrostruk@users.noreply.github.com>
This commit is contained in:
Copilot
2025-10-01 20:22:44 -07:00
committed by GitHub
Unverified
parent cd1bdc1483
commit 07db91174b
4 changed files with 61 additions and 5 deletions
+2
View File
@@ -1,6 +1,8 @@
# Azure AI
AZURE_AI_PROJECT_ENDPOINT=""
AZURE_AI_MODEL_DEPLOYMENT_NAME=""
# Bing connection for web search (optional, used by samples with web search)
BING_CONNECTION_ID=""
# OpenAI
OPENAI_API_KEY=""
OPENAI_CHAT_MODEL_ID=""