From 50026f33c21e8cac585dc663de77f2e147683f63 Mon Sep 17 00:00:00 2001 From: LawyZheng Date: Thu, 16 May 2024 23:56:49 +0800 Subject: [PATCH] fix non-interatable hallucination on Claude3 (#325) --- skyvern/forge/prompts/skyvern/extract-action-claude3-sonnet.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/forge/prompts/skyvern/extract-action-claude3-sonnet.j2 b/skyvern/forge/prompts/skyvern/extract-action-claude3-sonnet.j2 index fc1def2f9..4b349df5a 100644 --- a/skyvern/forge/prompts/skyvern/extract-action-claude3-sonnet.j2 +++ b/skyvern/forge/prompts/skyvern/extract-action-claude3-sonnet.j2 @@ -2,7 +2,7 @@ Identify actions to help user progress towards the user goal using the DOM eleme Include only the elements that are relevant to the user goal, without altering or imagining new elements. Use the details from the user details to fill in necessary values. Always satisfy required fields if the field isn't already filled in. Don't return any action for the same field, if this field is already filled in and the value is the same as the one you would have filled in. MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing commas, no comments (//), no unnecessary quotes, etc. -Each element is tagged with an ID. +Each element is tagged with an ID and interactable value. You should only return actions on the interactable elements. If you see any information in red in the page screenshot, this means a condition wasn't satisfied. prioritize actions with the red information. If you see a popup in the page screenshot, prioritize actions on the popup.