Add parameter examples to login and navigation (#1320)

This commit is contained in:
Shuchang Zheng
2024-12-04 12:18:29 -08:00
committed by GitHub
parent e8906e2f98
commit 04d3a56257

View File

@@ -1,7 +1,7 @@
export const baseHelpTooltipContent = { export const baseHelpTooltipContent = {
url: "The URL Skyvern is navigating to. Leave this field blank to pick up from where the last block left off.", url: "The URL Skyvern is navigating to. Leave this field blank to pick up from where the last block left off.",
navigationGoal: navigationGoal:
"Give Skyvern an objective. Make sure to include when the block is complete, when it should self-terminate, and any guardrails.", "Give Skyvern an objective. Make sure to include when the block is complete, when it should self-terminate, and any guardrails. Use {{ parameter_name }} to reference a parameter value",
parameters: parameters:
"Define placeholder values using the “parameters” drop down that you predefine or redefine run-to-run.", "Define placeholder values using the “parameters” drop down that you predefine or redefine run-to-run.",
dataExtractionGoal: dataExtractionGoal:
@@ -98,7 +98,7 @@ export const placeholders = {
navigation: { navigation: {
...basePlaceholderContent, ...basePlaceholderContent,
navigationGoal: navigationGoal:
"Give Skyvern an objective. Make sure to include when the task is complete, when it should self-terminate, and any guardrails.", "Navigate to the product page for product with id {{ product_id }}",
}, },
extraction: { extraction: {
...basePlaceholderContent, ...basePlaceholderContent,
@@ -114,7 +114,10 @@ export const placeholders = {
}, },
validation: basePlaceholderContent, validation: basePlaceholderContent,
textPrompt: basePlaceholderContent, textPrompt: basePlaceholderContent,
login: basePlaceholderContent, login: {
...basePlaceholderContent,
navigationGoal: "Login to the website using the {{ credentials }}",
},
loop: basePlaceholderContent, loop: basePlaceholderContent,
sendEmail: basePlaceholderContent, sendEmail: basePlaceholderContent,
upload: basePlaceholderContent, upload: basePlaceholderContent,