Add context tree to extract information (#253)

This commit is contained in:
Kerem Yilmaz
2024-05-03 00:47:32 -07:00
committed by GitHub
parent 4459ca7d09
commit 6f4e896025

View File

@@ -15,6 +15,11 @@ User Data Extraction Goal: {{ data_extraction_goal }}
Use the error codes and their descriptions to return errors in the output, do not return any error that's not defined by the user. Don't return any outputs if the schema doesn't specify an error related field. Here are the descriptions defined by the user: {{ error_code_mapping_str }}
{% endif %}
Clickable elements from `{{ current_url }}`:
```
{{ elements }}
```
Current URL: {{ current_url }}
Text extracted from the webpage: {{ extracted_text }}