From c8fb491644e56ca8a8aa9dcfcc170bda70a1983e Mon Sep 17 00:00:00 2001 From: Alireza Afzali Date: Tue, 14 Jul 2026 00:01:19 +0300 Subject: [PATCH] Python: docs: add env example files for durabletask samples (#5948) * docs: add env example files for durabletask samples * docs: clarify env example values and comments * docs: set default Redis URL in streaming sample env example --- .../durabletask/01_single_agent/.env.example | 5 +++++ .../04-hosting/durabletask/02_multi_agent/.env.example | 5 +++++ .../durabletask/03_single_agent_streaming/.env.example | 10 ++++++++++ .../.env.example | 5 +++++ .../.env.example | 5 +++++ .../.env.example | 5 +++++ .../07_single_agent_orchestration_hitl/.env.example | 5 +++++ 7 files changed, 40 insertions(+) create mode 100644 python/samples/04-hosting/durabletask/01_single_agent/.env.example create mode 100644 python/samples/04-hosting/durabletask/02_multi_agent/.env.example create mode 100644 python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example create mode 100644 python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example create mode 100644 python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example create mode 100644 python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example create mode 100644 python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example diff --git a/python/samples/04-hosting/durabletask/01_single_agent/.env.example b/python/samples/04-hosting/durabletask/01_single_agent/.env.example new file mode 100644 index 000000000..30f5c3422 --- /dev/null +++ b/python/samples/04-hosting/durabletask/01_single_agent/.env.example @@ -0,0 +1,5 @@ +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= diff --git a/python/samples/04-hosting/durabletask/02_multi_agent/.env.example b/python/samples/04-hosting/durabletask/02_multi_agent/.env.example new file mode 100644 index 000000000..fbb077810 --- /dev/null +++ b/python/samples/04-hosting/durabletask/02_multi_agent/.env.example @@ -0,0 +1,5 @@ +# Azure OpenAI resource endpoint URL, e.g. https://your-resource.openai.azure.com/ +AZURE_OPENAI_ENDPOINT= + +# Azure OpenAI model deployment name +AZURE_OPENAI_MODEL= diff --git a/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example b/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example new file mode 100644 index 000000000..407e5e60e --- /dev/null +++ b/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example @@ -0,0 +1,10 @@ +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= + +# Redis connection string (defaults to redis://localhost:6379 if unset) +REDIS_CONNECTION_STRING=redis://localhost:6379 + +REDIS_STREAM_TTL_MINUTES=10 # Stream key TTL in minutes; use a positive integer (default: 10). Non-positive values remove keys immediately (Redis EXPIRE). diff --git a/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example b/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example new file mode 100644 index 000000000..30f5c3422 --- /dev/null +++ b/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example @@ -0,0 +1,5 @@ +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= diff --git a/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example b/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example new file mode 100644 index 000000000..30f5c3422 --- /dev/null +++ b/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example @@ -0,0 +1,5 @@ +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= diff --git a/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example b/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example new file mode 100644 index 000000000..fbb077810 --- /dev/null +++ b/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example @@ -0,0 +1,5 @@ +# Azure OpenAI resource endpoint URL, e.g. https://your-resource.openai.azure.com/ +AZURE_OPENAI_ENDPOINT= + +# Azure OpenAI model deployment name +AZURE_OPENAI_MODEL= diff --git a/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example b/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example new file mode 100644 index 000000000..30f5c3422 --- /dev/null +++ b/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example @@ -0,0 +1,5 @@ +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL=