Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve check user goal by doing zero prompt shot with 'step by step' thinking #992

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Oct 17, 2024

Important

Simplifies JSON response format and emphasizes step-by-step reasoning in check-user-goal.j2.

  • Prompt Template Update:
    • In check-user-goal.j2, renamed state to page_info and reasoning to thoughts.
    • Removed examples and redundant instructions, emphasizing step-by-step reasoning.
    • JSON response format simplified to include only page_info, thoughts, and user_goal_achieved.

This description was created by Ellipsis for 64d45a2. It will automatically update as commits are pushed.

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Simplifies JSON response format and emphasizes step-by-step reasoning in `check-user-goal.j2`.
>
>   - **Prompt Template Update**:
>     - In `check-user-goal.j2`, renamed `state` to `page_info` and `reasoning` to `thoughts`.
>     - Removed examples and redundant instructions, emphasizing step-by-step reasoning.
>     - JSON response format simplified to include only `page_info`, `thoughts`, and `user_goal_achieved`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 36323eb15f1274c216981d381e53d249367eed66. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Incremental review on 64d45a2 in 8 seconds

More details
  • Looked at 35 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/prompts/skyvern/check-user-goal.j2:1
  • Draft comment:
    Typo in the first line: "Your are here" should be "You are here".
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The prompt template has a typo in the first line that should be corrected for clarity.

Workflow ID: wflow_pj1umjTbs8e817y4


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to 64d45a2 in 8 seconds

More details
  • Looked at 35 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/prompts/skyvern/check-user-goal.j2:1
  • Draft comment:
    Typo in the first line: "Your are here" should be "You are here".
  • Reason this comment was not posted:
    Confidence changes required: 10%
    The PR description mentions renaming 'state' to 'page_info' and 'reasoning' to 'thoughts', which is correctly reflected in the code. However, there is a typo in the first line that should be corrected for clarity.

Workflow ID: wflow_eB8jXYsopijutyUL


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@wintonzheng wintonzheng merged commit de999c6 into main Oct 17, 2024
2 checks passed
@wintonzheng wintonzheng deleted the shu/step_by_step_thought_for_user_goal_check branch October 17, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant