Skip to content

Commit

Permalink
add divider
Browse files Browse the repository at this point in the history
  • Loading branch information
Ying Chen committed Oct 30, 2023
1 parent 3682b74 commit 8aae36d
Show file tree
Hide file tree
Showing 168 changed files with 723 additions and 3,272 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/samples_configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/**, examples/*requirements.txt, .github/workflows/samples_configuration.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_connections.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/connections/**, examples/*requirements.txt, .github/workflows/samples_connections.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_connections_connection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/connections/**, examples/*requirements.txt, .github/workflows/samples_connections_connection.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flowinpipeline_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/**, .github/workflows/samples_flowinpipeline_pipeline.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flows_chat_basic_chat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/chat/basic-chat/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_basic_chat.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flows_chat_chat_with_pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/chat/chat-with-pdf/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chat_with_pdf.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flows_chat_chat_with_wikipedia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/chat/chat-with-wikipedia/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chat_with_wikipedia.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/chat/chat-with-pdf/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chatwithpdf_chatwithpdf.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/chat/chat-with-pdf/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chatwithpdf_chatwithpdfazure.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flows_evaluation_eval_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/evaluation/eval-basic/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_basic.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/evaluation/eval-classification-accuracy/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_classification_accuracy.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/evaluation/eval-entity-match-rate/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_entity_match_rate.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/evaluation/eval-groundedness/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_groundedness.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/evaluation/eval-perceived-intelligence/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_perceived_intelligence.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flows_standard_autonomous_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/autonomous-agent/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_autonomous_agent.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flows_standard_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/basic/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_basic.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/basic-with-builtin-llm/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_basic_with_builtin_llm.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/basic-with-connection/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_basic_with_connection.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/conditional-flow-for-if-else/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_conditional_flow_for_if_else.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/conditional-flow-for-switch/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_conditional_flow_for_switch.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/customer-intent-extraction/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_customer_intent_extraction.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/flow-with-additional-includes/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_flow_with_additional_includes.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# Any manual changes to this file may cause incorrect behavior.
# Any manual changes will be overwritten if the code is regenerated.

name: samples_tools_use_cases_custom_llm_tool_showcase
name: samples_flows_standard_flow_with_enabled_by_value
on:
schedule:
- cron: "40 21 * * *" # Every day starting at 5:40 BJT
- cron: "27 22 * * *" # Every day starting at 6:27 BJT
pull_request:
branches: [ main ]
paths: [ examples/tools/use-cases/custom_llm_tool_showcase/**, examples/*requirements.txt, .github/workflows/samples_tools_use_cases_custom_llm_tool_showcase.yml ]
paths: [ examples/flows/standard/flow-with-enabled-by-value/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_flow_with_enabled_by_value.yml ]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r dev_requirements.txt
- name: Refine .env file
working-directory: examples/tools/use-cases/custom_llm_tool_showcase
working-directory: examples/flows/standard/flow-with-enabled-by-value
run: |
AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}
AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}
Expand All @@ -48,7 +48,7 @@ jobs:
mv .env.example .env
fi
- name: Create run.yml
working-directory: examples/tools/use-cases/custom_llm_tool_showcase
working-directory: examples/flows/standard/flow-with-enabled-by-value
run: |
gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}
gpt_base=$(echo ${gpt_base//\//\\/})
Expand All @@ -59,16 +59,16 @@ jobs:
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Extract Steps examples/tools/use-cases/custom_llm_tool_showcase/README.md
- name: Extract Steps examples/flows/standard/flow-with-enabled-by-value/README.md
working-directory: ${{ github.workspace }}
run: |
python scripts/readme/extract_steps_from_readme.py -f examples/tools/use-cases/custom_llm_tool_showcase/README.md -o examples/tools/use-cases/custom_llm_tool_showcase
python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/flow-with-enabled-by-value/README.md -o examples/flows/standard/flow-with-enabled-by-value
- name: Cat script
working-directory: examples/tools/use-cases/custom_llm_tool_showcase
working-directory: examples/flows/standard/flow-with-enabled-by-value
run: |
cat bash_script.sh
- name: Run scripts
working-directory: examples/tools/use-cases/custom_llm_tool_showcase
working-directory: examples/flows/standard/flow-with-enabled-by-value
run: |
export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}
export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}
Expand All @@ -78,12 +78,12 @@ jobs:
bash bash_script.sh
- name: Pip List for Debug
if : ${{ always() }}
working-directory: examples/tools/use-cases/custom_llm_tool_showcase
working-directory: examples/flows/standard/flow-with-enabled-by-value
run: |
pip list
- name: Upload artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: artifact
path: examples/tools/use-cases/custom_llm_tool_showcase/bash_script.sh
path: examples/flows/standard/flow-with-enabled-by-value/bash_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/flow-with-symlinks/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_flow_with_symlinks.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flows_standard_gen_docstring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/gen-docstring/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_gen_docstring.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_flows_standard_maths_to_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/maths-to-code/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_maths_to_code.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/named-entity-recognition/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_named_entity_recognition.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/flows/standard/web-classification/**, examples/*requirements.txt, examples/flows/standard/flow-with-additional-includes/**, examples/flows/standard/flow-with-symlinks/** ,.github/workflows/samples_flows_standard_web_classification.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_readme_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_getstarted_quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/**, .github/workflows/samples_getstarted_quickstart.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_getstarted_quickstartazure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/**, .github/workflows/samples_getstarted_quickstartazure.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/**, .github/workflows/samples_runmanagement_cloudrunmanagement.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/samples_runmanagement_runmanagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
paths: [ examples/**, .github/workflows/samples_runmanagement_runmanagement.yml ]
workflow_dispatch:

env:
IS_IN_CI_PIPELINE: "true"

jobs:
samples_notebook_ci:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 8aae36d

Please sign in to comment.