Skip to content

Commit

Permalink
fix CI deprecation warning, fix failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ancalita committed Aug 21, 2024
1 parent e3856a2 commit d346b12
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
path: models/${{steps.upload_model.outputs.model}}.tar.gz

run_e2e_tests:
name: Run e2e Tests
name: Run e2e tests
runs-on: ubuntu-22.04
needs: [train-model]

Expand Down
2 changes: 1 addition & 1 deletion config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pipeline:
- name: NLUCommandAdapter
- name: SingleStepLLMCommandGenerator
llm:
model_name: gpt-4
model: gpt-4
request_timeout: 7
temperature: 0.0
top_p: 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,12 @@ test_cases:
assertions:
- slot_was_set:
- name: replacement_reason
value: some other reason
# we cannot specify the original user value because the LLM can extract variable values
# however the slot should be reset as part of running the slot rejections, which
# is why we set the value to null
- slot_was_set:
- name: replacement_reason
value: null
- bot_uttered:
utter_name: utter_categorical_slot_rejection
- bot_uttered:
Expand Down

0 comments on commit d346b12

Please sign in to comment.