Update extraction node placeholder (#1294)

This commit is contained in:
Shuchang Zheng
2024-11-29 08:19:17 -08:00
committed by GitHub
parent b043a4f9ca
commit 110a11c6b5
2 changed files with 5 additions and 4 deletions

View File

@@ -29,9 +29,9 @@ import {
const urlTooltip =
"The URL Skyvern is navigating to. Leave this field blank to pick up from where the last block left off.";
const navigationGoalTooltip =
"Specify a single step or action you'd like Skyvern to complete. Actions are one-off tasks like filling a field or interacting with a specific element on the page.\n\nCurrently supported actions are click, input text, upload file, and select.";
"Specify a single step or action you'd like Skyvern to complete. Actions are one-off tasks like filling a field or interacting with a specific element on the page.\n\nCurrently supported actions are click, input text, upload file, and select. Use {{ parameter_name }} to specify parameters to use.";
const navigationGoalPlaceholder = 'Input text into "Name" field.';
const navigationGoalPlaceholder = 'Input {{ name }} into "Name" field.';
function ActionNode({ id, data }: NodeProps<ActionNode>) {
const { updateNodeData } = useReactFlow();

View File

@@ -27,9 +27,10 @@ import {
import { ExtractIcon } from "@/components/icons/ExtractIcon";
const dataExtractionGoalTooltip =
"Tell Skyvern what data you would like to scrape.";
"Tell Skyvern what data you would like to scrape. Use {{ parameter_name }} to specify parameters to use.";
const dataSchemaTooltip = "Specify a format for extracted data in JSON.";
const dataExtractionGoalPlaceholder = "What data do you need to extract?";
const dataExtractionGoalPlaceholder =
"Extract the price of the product with id {{ product_id }}";
function ExtractionNode({ id, data }: NodeProps<ExtractionNode>) {
const { updateNodeData } = useReactFlow();