Skip to content

Commit

Permalink
prompter refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
vyokky committed Mar 18, 2024
1 parent b3bb760 commit fa58ca8
Showing 1 changed file with 12 additions and 25 deletions.
37 changes: 12 additions & 25 deletions ufo/prompts/examples/visual/action_example_cp.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,18 @@
version: 1.0

example1:
Request: |-
My name is Zac. Please send a email to [email protected] to thanks his contribution on the open source.
example1: |-
User Request:
"My name is Zac. Please send a email to [email protected] to thanks his contribution on the open source."
Response:
Observation: |-
The screenshot shows that I am on the Main Page of Outlook. The Main Page has a list of control items and email received. The new email editing window is not opened. The last action took effect by opening the Outlook application.
Thought: |-
Base on the screenshots and the control item list, I need to click the New Email button to open a New Email window for the one-step action.
ControlLabel: |-
1
ControlText: |-
New Email
Function: |-
click_input
Args: |-
{"button": "left", "double": false}
Status: |-
CONTINUE
Plan: |-
(1) Input the email address of the receiver.
(2) Input the title of the email. I need to input 'Thanks for your contribution on the open source.'.
(3) Input the content of the email. I need to input 'Dear Jack,\\nI hope this message finds you well. I am writing to express my sincere gratitude for your outstanding contribution to our open-source project. Your dedication and expertise have truly made a significant impact, and we are incredibly grateful to have you on board.\\nYour commitment to the open-source community has not gone unnoticed, and your recent contributions have been instrumental in enhancing the functionality and quality of our project. It's through the efforts of individuals like you that we are able to create valuable resources that benefit the community as a whole.\\nYour code reviews, bug fixes, and innovative ideas have not only improved the project but have also inspired others to contribute their best. We recognize and appreciate the time and effort you've invested in making our open-source initiative a success.\\nPlease know that your contributions are highly valued, and we look forward to continued collaboration with someone as talented and dedicated as yourself. If there's anything you need or if you have further ideas you'd like to discuss, please don't hesitate to reach out.\\nOnce again, thank you for your exceptional contributions. We are fortunate to have you as part of our open-source community.\\nBest regards,\\nZac'.
(4) Click the Send button to send the email.
Comment: |-
After I click the New Email button, the New Email window will be opened and available for composing the email.
{"Observation": "The screenshot shows that I am on the Main Page of Outlook. The Main Page has a list of control items and email received. The new email editing window is not opened. The last action took effect by opening the Outlook application.",
"Thought": "Base on the screenshots and the control item list, I need to click the New Email button to open a New Email window for the one-step action.",
"ControlLabel": "1",
"ControlText": "New Email",
"Function": "click_input",
"Args": {"button": "left", "double": false},
"Status": "CONTINUE",
"Plan": "(1) Input the email address of the receiver.\\n(2) Input the title of the email. I need to input 'Thanks for your contribution on the open source.'.\\n(3) Input the content of the email. I need to input 'Dear Jack,\\nI hope this message finds you well. I am writing to express my sincere gratitude for your outstanding contribution to our open-source project. Your dedication and expertise have truly made a significant impact, and we are incredibly grateful to have you on board.\\nYour commitment to the open-source community has not gone unnoticed, and your recent contributions have been instrumental in enhancing the functionality and quality of our project. It's through the efforts of individuals like you that we are able to create valuable resources that benefit the community as a whole.\\nYour code reviews, bug fixes, and innovative ideas have not only improved the project but have also inspired others to contribute their best. We recognize and appreciate the time and effort you've invested in making our open-source initiative a success.\\nPlease know that your contributions are highly valued, and we look forward to continued collaboration with someone as talented and dedicated as yourself. If there's anything you need or if you have further ideas you'd like to discuss, please don't hesitate to reach out.\\nOnce again, thank you for your exceptional contributions. We are fortunate to have you as part of our open-source community.\\nBest regards,\\nZac'.\\n(4) Click the Send button to send the email.",
"Comment": "After I click the New Email button, the New Email window will be opened and available for composing the email."}
example2: |-
Expand Down

0 comments on commit fa58ca8

Please sign in to comment.