Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
penguine-ip committed Aug 26, 2024
1 parent 3f3d97d commit d335712
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions deepeval/test_run/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,16 +600,18 @@ def post_test_run(self, test_run: TestRun):
raise Exception(message) from e

console.print(
"✅ Tests finished! View results on "
f"[link={link}]{link}[/link]"
"🎉 Tests finished ✅! View results on "
f"[link={link}]{link}[/link]."
"‼️ NOTE: You can also run evaluations on ALL of deepeval's metrics directly on Confident AI instead."
)

if is_in_ci_env() == False:
webbrowser.open(link)

else:
console.print(
"✅ Tests finished! Run 'deepeval login' to view evaluation results on Confident AI. You can also run all of deepeval's metrics directly on Confident AI instead."
"🎉 Tests finished ✅! Run 'deepeval login' to view evaluation results on Confident AI. "
"‼️ NOTE: You can also run evaluations on ALL of deepeval's metrics directly on Confident AI instead."
)

def save_test_run_locally(self):
Expand Down
6 changes: 3 additions & 3 deletions tests/test_everything.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
"""

strict_mode = False
verbose_mode = False
verbose_mode = True


@pytest.mark.skip(reason="openai is expensive")
# @pytest.mark.skip(reason="openai is expensive")
def test_everything():
metric1 = AnswerRelevancyMetric(
threshold=0.1,
Expand Down Expand Up @@ -159,7 +159,7 @@ def test_everything():
]
)
assert_test(
c_test_case,
test_case,
[
metric1,
metric2,
Expand Down

0 comments on commit d335712

Please sign in to comment.