From fe8c081fc6ec3921860c63d07e12c0dd0ab51208 Mon Sep 17 00:00:00 2001 From: Alvia Naqvi Date: Tue, 17 Jun 2025 12:14:32 -0400 Subject: [PATCH] Refine shape descriptions in CSS and SVG prompt templates (#2726) --- skyvern/forge/prompts/skyvern/css-shape-convert.j2 | 2 +- skyvern/forge/prompts/skyvern/svg-convert.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skyvern/forge/prompts/skyvern/css-shape-convert.j2 b/skyvern/forge/prompts/skyvern/css-shape-convert.j2 index 62aae012..1032a0ac 100644 --- a/skyvern/forge/prompts/skyvern/css-shape-convert.j2 +++ b/skyvern/forge/prompts/skyvern/css-shape-convert.j2 @@ -4,6 +4,6 @@ MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing comma Reply in JSON format with the following keys: { "confidence_float": float, // The confidence of the action. Pick a number between 0.0 and 1.0. 0.0 means no confidence, 1.0 means full confidence - "shape": string, // A short description of the shape of element and its meaning + "shape": string, // Concise keywords describing the shape and its primary meaning "recognized": bool, // False if you can't recognize the shape or you don't understand the meaning, otherwise true. } \ No newline at end of file diff --git a/skyvern/forge/prompts/skyvern/svg-convert.j2 b/skyvern/forge/prompts/skyvern/svg-convert.j2 index 26625e0c..b5d1ed41 100644 --- a/skyvern/forge/prompts/skyvern/svg-convert.j2 +++ b/skyvern/forge/prompts/skyvern/svg-convert.j2 @@ -8,6 +8,6 @@ MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing comma Reply in JSON format with the following keys: { "confidence_float": float, // The confidence of the action. Pick a number between 0.0 and 1.0. 0.0 means no confidence, 1.0 means full confidence - "shape": string, // A short description of the shape of SVG and its meaning + "shape": string, // Concise keywords describing the shape of SVG and its meaning "recognized": bool, // False if you can't recognize the shape or you don't understand the meaning, otherwise true. } \ No newline at end of file