Skip to content

Commit

Permalink
Revise gpt prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
macnult committed Oct 8, 2024
1 parent 1c93982 commit 5c6f39b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_gpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_simple_gpt():
"gpt works". If anything else is outputted, we can
assume an error has occured
"""
surf_summary = "Please only output: 'gpt works!' "
surf_summary = "Please respond with the exact phrase 'gpt works'. Do not include any additional text or context."
gpt_prompt = "This is for testing purposes"
gpt_response = gpt.simple_gpt(surf_summary, gpt_prompt)
assert "gpt works" in gpt_response
assert "gpt works" in gpt_response, f"Expected 'gpt works', but got: {gpt_response}"

0 comments on commit 5c6f39b

Please sign in to comment.