Skip to content

Commit d7cc6fa

Browse files
authored
Merge pull request #3 from pamelafox/evalsci
New PR for eval
2 parents 49b66e5 + 9916bfc commit d7cc6fa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/evaluate.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Evaluate RAG answer flow
33
on:
44
issue_comment:
55
types: [created]
6+
workflow_dispatch:
67

78
# Set up permissions for deploying with secretless Azure federated credentials
89
# https://learn.microsoft.com/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
@@ -114,7 +115,7 @@ jobs:
114115
issue_number: context.issue.number,
115116
owner: context.repo.owner,
116117
repo: context.repo.repo,
117-
body: "Starting evaluation. Check the Actions tab for progress, or wait for a comment with the results."
118+
body: "Starting evaluation! Check the Actions tab for progress, or wait for a comment with the results."
118119
})
119120
120121
- name: Checkout pull request
@@ -178,6 +179,10 @@ jobs:
178179
run: |
179180
uv pip install -r evals/requirements.txt
180181
182+
- name: Run azd env get values command
183+
run: |
184+
azd env get-values
185+
181186
- name: Evaluate local RAG flow
182187
run: |
183188
python evals/evaluate.py --targeturl=http://127.0.0.1:8000/chat --resultsdir=evals/results/pr${{ github.event.issue.number }}

0 commit comments

Comments
 (0)