Skip to content

Commit

Permalink
Merge pull request #1 from helixml/fix/usdgbp
Browse files Browse the repository at this point in the history
improve currency pair responses
  • Loading branch information
lukemarsden authored Nov 10, 2024
2 parents d121303 + f08a98a commit a2b3909
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/helix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install helix CLI
run: curl -sL -O https://get.helix.ml/install.sh && bash install.sh --cli -y --helix-version 1.4.0-rc11
run: curl -sL -O https://get.helix.ml/install.sh && bash install.sh --cli -y --helix-version 1.4.0-rc12

- name: Test the helix app
run: helix test -f aispecs/exchangerates.yaml
run: helix test -f aispecs/exchangerates.yaml --evaluation-model meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo

- name: PR comment with file
if: always()
Expand All @@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install helix CLI
run: curl -sL -O https://get.helix.ml/install.sh && bash install.sh --cli -y --helix-version 1.4.0-rc11
run: curl -sL -O https://get.helix.ml/install.sh && bash install.sh --cli -y --helix-version 1.4.0-rc12

- name: Test the helix app
run: helix test -f aispecs/exchangerates.yaml
run: helix test -f aispecs/exchangerates.yaml --evaluation-model meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo
4 changes: 4 additions & 0 deletions aispecs/exchangerates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ spec:
steps:
- prompt: what is the usd to gbp exchange rate?
expected_output: the usd to gbp exchange rate
- name: usdgbp
steps:
- prompt: usdgbp
expected_output: the usd to gbp exchange rate only. it should specifically mention both usd and gbp and not other currencies. if it mentions other currencies, FAIL the test
apis:
- name: Exchange Rates API
description: Get latest currency exchange rates
Expand Down

0 comments on commit a2b3909

Please sign in to comment.