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

Use trimmed element tree for info extraction #641

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Jul 25, 2024

🚀 This description was created by Ellipsis for commit afe3c23

Summary:

Updated extract_information_for_navigation_goal in skyvern/webeye/actions/handler.py to use a trimmed element tree for information extraction.

Key points:

  • Updated skyvern/webeye/actions/handler.py to use a trimmed element tree for information extraction.
  • Imported ElementTreeFormat from skyvern/webeye/scraper/scraper.
  • Modified extract_information_for_navigation_goal to build the element tree using ElementTreeFormat.HTML.
  • Added logging for the element tree building process with task and workflow run IDs.

Generated with ❤️ by ellipsis.dev

ykeremy added 3 commits July 25, 2024 00:16
<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit e55da266047d517fdc758959e16b60c2e0618262  |
|--------|--------|

### Summary:
Updated `extract_information_for_navigation_goal` in `skyvern/webeye/actions/handler.py` to use a trimmed element tree for information extraction.

**Key points**:
- Updated `skyvern/webeye/actions/handler.py` to use a trimmed element tree for information extraction.
- Imported `ElementTreeFormat` from `skyvern/webeye/scraper/scraper`.
- Modified `extract_information_for_navigation_goal` to build the element tree using `ElementTreeFormat.HTML`.
- Logged the element tree building process with task and workflow run IDs.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit e55da266047d517fdc758959e16b60c2e0618262  |
|--------|--------|

### Summary:
Updated `extract_information_for_navigation_goal` in `skyvern/webeye/actions/handler.py` to use a trimmed element tree for information extraction.

**Key points**:
- Updated `skyvern/webeye/actions/handler.py` to use a trimmed element tree for information extraction.
- Imported `ElementTreeFormat` from `skyvern/webeye/scraper/scraper`.
- Modified `extract_information_for_navigation_goal` to build the element tree using `ElementTreeFormat.HTML`.
- Logged the element tree building process with task and workflow run IDs.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit e55da266047d517fdc758959e16b60c2e0618262  |
|--------|--------|

### Summary:
Updated `extract_information_for_navigation_goal` in `skyvern/webeye/actions/handler.py` to use a trimmed element tree for information extraction.

**Key points**:
- Updated `skyvern/webeye/actions/handler.py` to use a trimmed element tree for information extraction.
- Imported `ElementTreeFormat` from `skyvern/webeye/scraper/scraper`.
- Modified `extract_information_for_navigation_goal` to build the element tree using `ElementTreeFormat.HTML`.
- Logged the element tree building process with task and workflow run IDs.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Jul 25, 2024
Copy link
Contributor

ellipsis-dev bot commented Jul 25, 2024

Skipped PR review on afe3c23 because no changed files had a supported extension. If you think this was in error, please contact us and we'll fix it right away.


Generated with ❤️ by ellipsis.dev

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 afe3c23 in 46.548823 seconds

More details
  • Looked at 52 lines of code in 2 files
  • Skipped 1 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/webeye/actions/handler.py:1060
  • Draft comment:
    Ensure that the use of ElementTreeFormat.HTML does not negatively impact the accuracy of data extraction. Consider adding tests to verify that the trimmed element tree still captures all necessary data for accurate extraction.
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_tnDoHP44daZ1LABl


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

@ykeremy ykeremy merged commit 479a918 into main Jul 25, 2024
2 checks passed
@ykeremy ykeremy deleted the ykeremy/fix-element-tree-in-info-extraction branch July 25, 2024 00:23
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