Skip to content

Commit

Permalink
Added e2e tests GH action, with docker compose build - debugging action
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed Jul 1, 2024
1 parent 855e4cd commit 6d0fbe9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@ jobs:
python-version: "3.11.4"
- run: |
pip3 install promptflow==1.12.0
pip3 install promptflow-tools
pip3 install promptflow-tools==1.4.0
pip3 install chainlit==1.1.305
pip3 install keyrings.alt
pip3 list
- run: |
cd flows/chainlit-ui-evaluation/
pf connection create --file ./openai.yaml --set api_key=$OPENAI_API_KEY --name open_ai_connection
pf connection create --file ./azure_openai.yaml --set api_key=$OPENAI_API_KEY --set api_base=$OPENAI_API_ENDPOINT --name azure_openai
pf run create --flow . --data ./data.jsonl --stream --column-mapping query='${data.query}' context='${data.context}' chat_history='${data.chat_history}' --name base_run
pf run show-details -n base_run
pf run show-metrics -n base_run
#pf run visualize -n base_run
pf run create --flow . --data ./data.jsonl --stream --column-mapping query='${data.query}' context='${data.context}' chat_history='${data.chat_history}' --name base_run --stream
pf run show-details -n base_run2
pf run show-metrics -n base_run2
#pf run visualize -n base_run2
python3 check_evaluation_results.py

0 comments on commit 6d0fbe9

Please sign in to comment.