diff --git a/.github/workflows/samples_connections.yml b/.github/workflows/samples_connections.yml index 77cca01050d..afb1235482b 100644 --- a/.github/workflows/samples_connections.yml +++ b/.github/workflows/samples_connections.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/connections - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/connections + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/connections - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/connections + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flex_flows_basic.yml b/.github/workflows/samples_flex_flows_basic.yml index e53ea27efea..6a45b4aed8a 100644 --- a/.github/workflows/samples_flex_flows_basic.yml +++ b/.github/workflows/samples_flex_flows_basic.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flex_flows_chat_basic.yml b/.github/workflows/samples_flex_flows_chat_basic.yml index 49bfd1f825f..61aa0b5443a 100644 --- a/.github/workflows/samples_flex_flows_chat_basic.yml +++ b/.github/workflows/samples_flex_flows_chat_basic.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/chat-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/chat-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/chat-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/chat-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flex_flows_chat_stream.yml b/.github/workflows/samples_flex_flows_chat_stream.yml index 7b0beffcfff..2648f501b3e 100644 --- a/.github/workflows/samples_flex_flows_chat_stream.yml +++ b/.github/workflows/samples_flex_flows_chat_stream.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/chat-stream - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/chat-stream + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/chat-stream - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/chat-stream + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flex_flows_eval_checklist.yml b/.github/workflows/samples_flex_flows_eval_checklist.yml index c283163663a..12b73169e46 100644 --- a/.github/workflows/samples_flex_flows_eval_checklist.yml +++ b/.github/workflows/samples_flex_flows_eval_checklist.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/eval-checklist - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/eval-checklist + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/eval-checklist - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/eval-checklist + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flex_flows_eval_code_quality.yml b/.github/workflows/samples_flex_flows_eval_code_quality.yml index 245e73f70c9..ddaa5f916a5 100644 --- a/.github/workflows/samples_flex_flows_eval_code_quality.yml +++ b/.github/workflows/samples_flex_flows_eval_code_quality.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/eval-code-quality - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/eval-code-quality + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flex-flows/eval-code-quality - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flex-flows/eval-code-quality + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_chat_chat_basic.yml b/.github/workflows/samples_flows_chat_chat_basic.yml index e776ce0f30e..6bb14edca79 100644 --- a/.github/workflows/samples_flows_chat_chat_basic.yml +++ b/.github/workflows/samples_flows_chat_chat_basic.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_chat_chat_math_variant.yml b/.github/workflows/samples_flows_chat_chat_math_variant.yml index d062b3e5a10..d6f2e235555 100644 --- a/.github/workflows/samples_flows_chat_chat_math_variant.yml +++ b/.github/workflows/samples_flows_chat_chat_math_variant.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-math-variant - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-math-variant + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-math-variant - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-math-variant + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_chat_chat_with_image.yml b/.github/workflows/samples_flows_chat_chat_with_image.yml index 8fb6ea3b242..f5932a71b3e 100644 --- a/.github/workflows/samples_flows_chat_chat_with_image.yml +++ b/.github/workflows/samples_flows_chat_chat_with_image.yml @@ -90,12 +90,12 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-with-image - export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }} - export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-with-image + $Env:aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 @@ -103,11 +103,12 @@ jobs: with: azPSVersion: "latest" inlineScript: | - export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }} - export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-with-image + $Env:aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_chat_chat_with_pdf.yml b/.github/workflows/samples_flows_chat_chat_with_pdf.yml index 320dc86545b..44be2e0d580 100644 --- a/.github/workflows/samples_flows_chat_chat_with_pdf.yml +++ b/.github/workflows/samples_flows_chat_chat_with_pdf.yml @@ -98,28 +98,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-with-pdf - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-with-pdf + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-with-pdf - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-with-pdf + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_chat_chat_with_wikipedia.yml b/.github/workflows/samples_flows_chat_chat_with_wikipedia.yml index aea7b9245d8..10d651ae3b1 100644 --- a/.github/workflows/samples_flows_chat_chat_with_wikipedia.yml +++ b/.github/workflows/samples_flows_chat_chat_with_wikipedia.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-with-wikipedia - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-with-wikipedia + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/chat-with-wikipedia - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/chat-with-wikipedia + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_chat_use_functions_with_chat_models.yml b/.github/workflows/samples_flows_chat_use_functions_with_chat_models.yml index 481248fd4ae..ceddca6af2c 100644 --- a/.github/workflows/samples_flows_chat_use_functions_with_chat_models.yml +++ b/.github/workflows/samples_flows_chat_use_functions_with_chat_models.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/use_functions_with_chat_models - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/use_functions_with_chat_models + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/chat/use_functions_with_chat_models - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/chat/use_functions_with_chat_models + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_basic.yml b/.github/workflows/samples_flows_evaluation_eval_basic.yml index 64387dfde85..6ef0ab92f5d 100644 --- a/.github/workflows/samples_flows_evaluation_eval_basic.yml +++ b/.github/workflows/samples_flows_evaluation_eval_basic.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_chat_math.yml b/.github/workflows/samples_flows_evaluation_eval_chat_math.yml index 9d8cd917f82..051bd1e9703 100644 --- a/.github/workflows/samples_flows_evaluation_eval_chat_math.yml +++ b/.github/workflows/samples_flows_evaluation_eval_chat_math.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-chat-math - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-chat-math + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-chat-math - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-chat-math + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_classification_accuracy.yml b/.github/workflows/samples_flows_evaluation_eval_classification_accuracy.yml index 22c0c387542..620ef46c62c 100644 --- a/.github/workflows/samples_flows_evaluation_eval_classification_accuracy.yml +++ b/.github/workflows/samples_flows_evaluation_eval_classification_accuracy.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-classification-accuracy - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-classification-accuracy + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-classification-accuracy - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-classification-accuracy + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_entity_match_rate.yml b/.github/workflows/samples_flows_evaluation_eval_entity_match_rate.yml index f28f233cde7..3cf89738315 100644 --- a/.github/workflows/samples_flows_evaluation_eval_entity_match_rate.yml +++ b/.github/workflows/samples_flows_evaluation_eval_entity_match_rate.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-entity-match-rate - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-entity-match-rate + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-entity-match-rate - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-entity-match-rate + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_groundedness.yml b/.github/workflows/samples_flows_evaluation_eval_groundedness.yml index 7135c5131d8..8ef5af1aad4 100644 --- a/.github/workflows/samples_flows_evaluation_eval_groundedness.yml +++ b/.github/workflows/samples_flows_evaluation_eval_groundedness.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-groundedness - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-groundedness + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-groundedness - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-groundedness + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_perceived_intelligence.yml b/.github/workflows/samples_flows_evaluation_eval_perceived_intelligence.yml index f293c90cda5..bfe533477e7 100644 --- a/.github/workflows/samples_flows_evaluation_eval_perceived_intelligence.yml +++ b/.github/workflows/samples_flows_evaluation_eval_perceived_intelligence.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-perceived-intelligence - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-perceived-intelligence + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-perceived-intelligence - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-perceived-intelligence + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_qna_non_rag.yml b/.github/workflows/samples_flows_evaluation_eval_qna_non_rag.yml index b828c2fba45..e85499c6214 100644 --- a/.github/workflows/samples_flows_evaluation_eval_qna_non_rag.yml +++ b/.github/workflows/samples_flows_evaluation_eval_qna_non_rag.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-qna-non-rag - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-qna-non-rag + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-qna-non-rag - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-qna-non-rag + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_qna_rag_metrics.yml b/.github/workflows/samples_flows_evaluation_eval_qna_rag_metrics.yml index 3048b3e2cf8..d4d9eb2fd8e 100644 --- a/.github/workflows/samples_flows_evaluation_eval_qna_rag_metrics.yml +++ b/.github/workflows/samples_flows_evaluation_eval_qna_rag_metrics.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-qna-rag-metrics - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-qna-rag-metrics + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-qna-rag-metrics - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-qna-rag-metrics + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_evaluation_eval_summarization.yml b/.github/workflows/samples_flows_evaluation_eval_summarization.yml index 6a2ffa66e24..e25f2b194cc 100644 --- a/.github/workflows/samples_flows_evaluation_eval_summarization.yml +++ b/.github/workflows/samples_flows_evaluation_eval_summarization.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-summarization - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-summarization + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/evaluation/eval-summarization - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/evaluation/eval-summarization + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_autonomous_agent.yml b/.github/workflows/samples_flows_standard_autonomous_agent.yml index 8e39dd4036c..44ea368dcb5 100644 --- a/.github/workflows/samples_flows_standard_autonomous_agent.yml +++ b/.github/workflows/samples_flows_standard_autonomous_agent.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/autonomous-agent - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/autonomous-agent + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/autonomous-agent - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/autonomous-agent + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_basic.yml b/.github/workflows/samples_flows_standard_basic.yml index f339470ef4d..ec1b4aaf5e2 100644 --- a/.github/workflows/samples_flows_standard_basic.yml +++ b/.github/workflows/samples_flows_standard_basic.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_basic_with_builtin_llm.yml b/.github/workflows/samples_flows_standard_basic_with_builtin_llm.yml index f567fdd53d8..5dba71e1f60 100644 --- a/.github/workflows/samples_flows_standard_basic_with_builtin_llm.yml +++ b/.github/workflows/samples_flows_standard_basic_with_builtin_llm.yml @@ -91,28 +91,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/basic-with-builtin-llm - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/basic-with-builtin-llm + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/basic-with-builtin-llm - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/basic-with-builtin-llm + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_basic_with_connection.yml b/.github/workflows/samples_flows_standard_basic_with_connection.yml index b5f87c07fd8..03e9bbefec8 100644 --- a/.github/workflows/samples_flows_standard_basic_with_connection.yml +++ b/.github/workflows/samples_flows_standard_basic_with_connection.yml @@ -91,28 +91,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/basic-with-connection - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/basic-with-connection + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/basic-with-connection - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/basic-with-connection + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_conditional_flow_for_if_else.yml b/.github/workflows/samples_flows_standard_conditional_flow_for_if_else.yml index ae0229392e1..4a8e96794f7 100644 --- a/.github/workflows/samples_flows_standard_conditional_flow_for_if_else.yml +++ b/.github/workflows/samples_flows_standard_conditional_flow_for_if_else.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/conditional-flow-for-if-else - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/conditional-flow-for-if-else + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/conditional-flow-for-if-else - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/conditional-flow-for-if-else + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_conditional_flow_for_switch.yml b/.github/workflows/samples_flows_standard_conditional_flow_for_switch.yml index c2bac2c5019..f5a51cf6577 100644 --- a/.github/workflows/samples_flows_standard_conditional_flow_for_switch.yml +++ b/.github/workflows/samples_flows_standard_conditional_flow_for_switch.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/conditional-flow-for-switch - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/conditional-flow-for-switch + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/conditional-flow-for-switch - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/conditional-flow-for-switch + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_customer_intent_extraction.yml b/.github/workflows/samples_flows_standard_customer_intent_extraction.yml index 26aaabf79ea..deff720a0d6 100644 --- a/.github/workflows/samples_flows_standard_customer_intent_extraction.yml +++ b/.github/workflows/samples_flows_standard_customer_intent_extraction.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/customer-intent-extraction - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/customer-intent-extraction + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/customer-intent-extraction - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/customer-intent-extraction + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_describe_image.yml b/.github/workflows/samples_flows_standard_describe_image.yml index 21995788613..e23d0129db3 100644 --- a/.github/workflows/samples_flows_standard_describe_image.yml +++ b/.github/workflows/samples_flows_standard_describe_image.yml @@ -90,12 +90,12 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/describe-image - export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }} - export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/describe-image + $Env:aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 @@ -103,11 +103,12 @@ jobs: with: azPSVersion: "latest" inlineScript: | - export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }} - export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/describe-image + $Env:aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_flow_with_additional_includes.yml b/.github/workflows/samples_flows_standard_flow_with_additional_includes.yml index 7998833c047..648a1d8127d 100644 --- a/.github/workflows/samples_flows_standard_flow_with_additional_includes.yml +++ b/.github/workflows/samples_flows_standard_flow_with_additional_includes.yml @@ -91,28 +91,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/flow-with-additional-includes - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/flow-with-additional-includes + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/flow-with-additional-includes - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/flow-with-additional-includes + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_flow_with_symlinks.yml b/.github/workflows/samples_flows_standard_flow_with_symlinks.yml index 626f1e99acf..d6ee21d64a3 100644 --- a/.github/workflows/samples_flows_standard_flow_with_symlinks.yml +++ b/.github/workflows/samples_flows_standard_flow_with_symlinks.yml @@ -91,28 +91,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/flow-with-symlinks - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/flow-with-symlinks + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/flow-with-symlinks - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/flow-with-symlinks + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_gen_docstring.yml b/.github/workflows/samples_flows_standard_gen_docstring.yml index 2a1bf20b121..88e29f6b915 100644 --- a/.github/workflows/samples_flows_standard_gen_docstring.yml +++ b/.github/workflows/samples_flows_standard_gen_docstring.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/gen-docstring - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/gen-docstring + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/gen-docstring - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/gen-docstring + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_maths_to_code.yml b/.github/workflows/samples_flows_standard_maths_to_code.yml index 7cf05e0f8bb..d65f4277a70 100644 --- a/.github/workflows/samples_flows_standard_maths_to_code.yml +++ b/.github/workflows/samples_flows_standard_maths_to_code.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/maths-to-code - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/maths-to-code + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/maths-to-code - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/maths-to-code + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_named_entity_recognition.yml b/.github/workflows/samples_flows_standard_named_entity_recognition.yml index 947c5dc5e3d..e297ddcc9c2 100644 --- a/.github/workflows/samples_flows_standard_named_entity_recognition.yml +++ b/.github/workflows/samples_flows_standard_named_entity_recognition.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/named-entity-recognition - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/named-entity-recognition + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/named-entity-recognition - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/named-entity-recognition + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_flows_standard_web_classification.yml b/.github/workflows/samples_flows_standard_web_classification.yml index bdb7e54a0c7..28ea8ce840d 100644 --- a/.github/workflows/samples_flows_standard_web_classification.yml +++ b/.github/workflows/samples_flows_standard_web_classification.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/web-classification - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/web-classification + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/flows/standard/web-classification - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/flows/standard/web-classification + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_prompty_basic.yml b/.github/workflows/samples_prompty_basic.yml index 3219f092c34..6a548ae366f 100644 --- a/.github/workflows/samples_prompty_basic.yml +++ b/.github/workflows/samples_prompty_basic.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_prompty_chat_basic.yml b/.github/workflows/samples_prompty_chat_basic.yml index cc8ea5c9bad..a7663554919 100644 --- a/.github/workflows/samples_prompty_chat_basic.yml +++ b/.github/workflows/samples_prompty_chat_basic.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/chat-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/chat-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/chat-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/chat-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_prompty_eval_apology.yml b/.github/workflows/samples_prompty_eval_apology.yml index 8c3bf3b37dc..e6d8ea2a363 100644 --- a/.github/workflows/samples_prompty_eval_apology.yml +++ b/.github/workflows/samples_prompty_eval_apology.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/eval-apology - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/eval-apology + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/eval-apology - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/eval-apology + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_prompty_eval_basic.yml b/.github/workflows/samples_prompty_eval_basic.yml index e5d2c179047..a29c947688a 100644 --- a/.github/workflows/samples_prompty_eval_basic.yml +++ b/.github/workflows/samples_prompty_eval_basic.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/eval-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/eval-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/eval-basic - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/eval-basic + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_prompty_format_output.yml b/.github/workflows/samples_prompty_format_output.yml index 870ff29e2df..56dd0df9b36 100644 --- a/.github/workflows/samples_prompty_format_output.yml +++ b/.github/workflows/samples_prompty_format_output.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/format-output - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/format-output + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/prompty/format-output - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/prompty/format-output + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tools_use_cases_cascading_inputs_tool_showcase.yml b/.github/workflows/samples_tools_use_cases_cascading_inputs_tool_showcase.yml index bb6e6d91c6a..f591b2e903d 100644 --- a/.github/workflows/samples_tools_use_cases_cascading_inputs_tool_showcase.yml +++ b/.github/workflows/samples_tools_use_cases_cascading_inputs_tool_showcase.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/cascading-inputs-tool-showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/cascading-inputs-tool-showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/cascading-inputs-tool-showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/cascading-inputs-tool-showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tools_use_cases_custom_llm_tool_showcase.yml b/.github/workflows/samples_tools_use_cases_custom_llm_tool_showcase.yml index b0bcc1ed5b9..a376134994d 100644 --- a/.github/workflows/samples_tools_use_cases_custom_llm_tool_showcase.yml +++ b/.github/workflows/samples_tools_use_cases_custom_llm_tool_showcase.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/custom_llm_tool_showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/custom_llm_tool_showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/custom_llm_tool_showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/custom_llm_tool_showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase.yml b/.github/workflows/samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase.yml index 25d53cfbf14..6fd4a850589 100644 --- a/.github/workflows/samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase.yml +++ b/.github/workflows/samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase.yml b/.github/workflows/samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase.yml index 4030b29fb28..d3f8b1f265b 100644 --- a/.github/workflows/samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase.yml +++ b/.github/workflows/samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tools_use_cases_dynamic_list_input_tool_showcase.yml b/.github/workflows/samples_tools_use_cases_dynamic_list_input_tool_showcase.yml index a7004646356..b9001c491b1 100644 --- a/.github/workflows/samples_tools_use_cases_dynamic_list_input_tool_showcase.yml +++ b/.github/workflows/samples_tools_use_cases_dynamic_list_input_tool_showcase.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/dynamic-list-input-tool-showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/dynamic-list-input-tool-showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tools/use-cases/dynamic-list-input-tool-showcase - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tools/use-cases/dynamic-list-input-tool-showcase + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tutorials_e2e_development_chat_with_pdf.yml b/.github/workflows/samples_tutorials_e2e_development_chat_with_pdf.yml index 8db3452e1d4..25ded50ced3 100644 --- a/.github/workflows/samples_tutorials_e2e_development_chat_with_pdf.yml +++ b/.github/workflows/samples_tutorials_e2e_development_chat_with_pdf.yml @@ -104,28 +104,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/e2e-development - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/e2e-development + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/e2e-development - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/e2e-development + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tutorials_flow_deploy_azure_app_service.yml b/.github/workflows/samples_tutorials_flow_deploy_azure_app_service.yml index 74d11f782e8..b5bd5cf2f9d 100644 --- a/.github/workflows/samples_tutorials_flow_deploy_azure_app_service.yml +++ b/.github/workflows/samples_tutorials_flow_deploy_azure_app_service.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/azure-app-service - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/azure-app-service + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/azure-app-service - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/azure-app-service + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tutorials_flow_deploy_create_service_with_flow.yml b/.github/workflows/samples_tutorials_flow_deploy_create_service_with_flow.yml index 4cf1537ab3e..37b47de2b47 100644 --- a/.github/workflows/samples_tutorials_flow_deploy_create_service_with_flow.yml +++ b/.github/workflows/samples_tutorials_flow_deploy_create_service_with_flow.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/create-service-with-flow - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/create-service-with-flow + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/create-service-with-flow - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/create-service-with-flow + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tutorials_flow_deploy_distribute_flow_as_executable_app.yml b/.github/workflows/samples_tutorials_flow_deploy_distribute_flow_as_executable_app.yml index a30fc038e36..696af808fac 100644 --- a/.github/workflows/samples_tutorials_flow_deploy_distribute_flow_as_executable_app.yml +++ b/.github/workflows/samples_tutorials_flow_deploy_distribute_flow_as_executable_app.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/distribute-flow-as-executable-app - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/distribute-flow-as-executable-app + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/distribute-flow-as-executable-app - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/distribute-flow-as-executable-app + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tutorials_flow_deploy_docker.yml b/.github/workflows/samples_tutorials_flow_deploy_docker.yml index 07e8f955e71..e34a3383c0f 100644 --- a/.github/workflows/samples_tutorials_flow_deploy_docker.yml +++ b/.github/workflows/samples_tutorials_flow_deploy_docker.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/docker - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/docker + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/docker - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/docker + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tutorials_flow_deploy_kubernetes.yml b/.github/workflows/samples_tutorials_flow_deploy_kubernetes.yml index 5f4306f2536..cf55ad0c280 100644 --- a/.github/workflows/samples_tutorials_flow_deploy_kubernetes.yml +++ b/.github/workflows/samples_tutorials_flow_deploy_kubernetes.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/kubernetes - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/kubernetes + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-deploy/kubernetes - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-deploy/kubernetes + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement.yml b/.github/workflows/samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement.yml index ef37c5454b6..03c241e6e16 100644 --- a/.github/workflows/samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement.yml +++ b/.github/workflows/samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-fine-tuning-evaluation - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-fine-tuning-evaluation + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/flow-fine-tuning-evaluation - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/flow-fine-tuning-evaluation + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/.github/workflows/samples_tutorials_tracing.yml b/.github/workflows/samples_tutorials_tracing.yml index de12e25067d..0d9103bb698 100644 --- a/.github/workflows/samples_tutorials_tracing.yml +++ b/.github/workflows/samples_tutorials_tracing.yml @@ -88,28 +88,29 @@ jobs: with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/tracing - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/tracing + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/examples/tutorials/tracing - export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/examples/tutorials/tracing + $Env:aoai_api_key=${{secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ always() }} diff --git a/scripts/readme/ghactions_driver/workflow_steps/step_extract_steps_and_run.yml.jinja2 b/scripts/readme/ghactions_driver/workflow_steps/step_extract_steps_and_run.yml.jinja2 index 7e9f3fb908f..81ca23c62d0 100644 --- a/scripts/readme/ghactions_driver/workflow_steps/step_extract_steps_and_run.yml.jinja2 +++ b/scripts/readme/ghactions_driver/workflow_steps/step_extract_steps_and_run.yml.jinja2 @@ -12,28 +12,29 @@ with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/{{ working_dir }} - export aoai_api_key=${{ '{{' }}secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ '{{' }} secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{ '{{' }}secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ '{{' }} secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/{{ working_dir }} + $Env:aoai_api_key=${{ '{{' }}secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ '{{' }} secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{ '{{' }}secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ '{{' }} secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_CANARY }} + bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 if: github.event_name != 'schedule' with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/{{ working_dir }} - export aoai_api_key=${{ '{{' }}secrets.AOAI_API_KEY_TEST }} - export aoai_api_endpoint=${{ '{{' }} secrets.AOAI_API_ENDPOINT_TEST }} - export AZURE_OPENAI_API_KEY=${{ '{{' }}secrets.AOAI_API_KEY_TEST }} - export AZURE_OPENAI_ENDPOINT=${{ '{{' }} secrets.AOAI_API_ENDPOINT_TEST }} - export test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/{{ working_dir }} + $Env:aoai_api_key=${{ '{{' }}secrets.AOAI_API_KEY_TEST }} + $Env:aoai_api_endpoint=${{ '{{' }} secrets.AOAI_API_ENDPOINT_TEST }} + $Env:AZURE_OPENAI_API_KEY=${{ '{{' }}secrets.AOAI_API_KEY_TEST }} + $Env:AZURE_OPENAI_ENDPOINT=${{ '{{' }} secrets.AOAI_API_ENDPOINT_TEST }} + $Env:test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ '{{' }} always() }} diff --git a/scripts/readme/ghactions_driver/workflow_steps/step_extract_steps_and_run_gpt4.yml.jinja2 b/scripts/readme/ghactions_driver/workflow_steps/step_extract_steps_and_run_gpt4.yml.jinja2 index 2b727905d44..e3865f0dd8d 100644 --- a/scripts/readme/ghactions_driver/workflow_steps/step_extract_steps_and_run_gpt4.yml.jinja2 +++ b/scripts/readme/ghactions_driver/workflow_steps/step_extract_steps_and_run_gpt4.yml.jinja2 @@ -12,12 +12,12 @@ with: azPSVersion: "latest" inlineScript: | - cd $GITHUB_WORKSPACE/{{ working_dir }} - export aoai_api_key=${{ '{{' }}secrets.AOAI_GPT_4V_KEY }} - export aoai_api_endpoint=${{ '{{' }} secrets.AOAI_GPT_4V_ENDPOINT }} - export test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_CANARY }} + cd $Env:GITHUB_WORKSPACE/{{ working_dir }} + $Env:aoai_api_key=${{ '{{' }}secrets.AOAI_GPT_4V_KEY }} + $Env:aoai_api_endpoint=${{ '{{' }} secrets.AOAI_GPT_4V_ENDPOINT }} + $Env:test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_CANARY }} bash bash_script.sh - name: Run scripts against production workspace uses: azure/powershell@v1 @@ -25,11 +25,12 @@ with: azPSVersion: "latest" inlineScript: | - export aoai_api_key=${{ '{{' }}secrets.AOAI_GPT_4V_KEY }} - export aoai_api_endpoint=${{ '{{' }} secrets.AOAI_GPT_4V_ENDPOINT }} - export test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }} - export test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }} - export test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_PROD }} + cd $Env:GITHUB_WORKSPACE/{{ working_dir }} + $Env:aoai_api_key=${{ '{{' }}secrets.AOAI_GPT_4V_KEY }} + $Env:aoai_api_endpoint=${{ '{{' }} secrets.AOAI_GPT_4V_ENDPOINT }} + $Env:test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }} + $Env:test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }} + $Env:test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_PROD }} bash bash_script.sh - name: Pip List for Debug if : ${{ '{{' }} always() }}