Skip to content

Commit

Permalink
updated prompt for image diff command
Browse files Browse the repository at this point in the history
  • Loading branch information
gitrey committed Sep 23, 2024
1 parent 9959245 commit d4b4b5b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions devai-cli/src/devai/commands/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,20 +779,21 @@ def imgdiff(current, target):
"""

before_state='''
BEFORE UPGRADE STATE:
IMAGE 1:
'''
after_state='''
AFTER UPGRADE STATE:
IMAGE 2:
'''
qry = get_prompt('review_query')

if qry is None:
qry='''
INSTRUCTIONS:
Analyze images of the Web page and write the report about what UI elements are missing between the two images.
Explain how you reached this decision.
Meticulously examine the two provided images. Generate a comprehensive report detailing the specific
elements absent from each image in comparison to the other. Clearly articulate the reasoning and
methodology employed to arrive at your conclusions.
'''

contents = [qry, after_state, load_image_from_path(current),
Expand Down

0 comments on commit d4b4b5b

Please sign in to comment.