Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/evaluate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Evaluate RAG answer flow
on:
issue_comment:
types: [created]
workflow_dispatch:

# Set up permissions for deploying with secretless Azure federated credentials
# https://learn.microsoft.com/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
Expand Down Expand Up @@ -114,7 +115,7 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "Starting evaluation. Check the Actions tab for progress, or wait for a comment with the results."
body: "Starting evaluation! Check the Actions tab for progress, or wait for a comment with the results."
})

- name: Checkout pull request
Expand Down Expand Up @@ -178,6 +179,10 @@ jobs:
run: |
uv pip install -r evals/requirements.txt

- name: Run azd env get values command
run: |
azd env get-values

- name: Evaluate local RAG flow
run: |
python evals/evaluate.py --targeturl=http://127.0.0.1:8000/chat --resultsdir=evals/results/pr${{ github.event.issue.number }}
Expand Down