Note that AI technical prompts fetch product page URLs.
Clarify category and product technical AI prompts so users know pasted links are opened for grounding. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
61d145d92e
commit
0bbc5bbc12
@@ -38,7 +38,7 @@ ${fieldLines || '—'}
|
||||
- برای select / multi_select فقط از مقادیر مجاز گزینهها استفاده کن.
|
||||
- متنها را به فارسی و کوتاه و فنی بنویس.
|
||||
- مشخصات غیرواقعی اختراع نکن؛ اگر مطمئن نیستی آن فیلد را خالی بگذار.
|
||||
- در صورت نیاز، مرجع یا لینک صفحه محصول / مدل را در ادامه همین پرامپت اضافه کن.`
|
||||
- در صورت نیاز، لینک صفحه محصول را در ادامه همین پرامپت اضافه کن (سیستم صفحه را باز میکند و از متن آن استفاده میکند).`
|
||||
}
|
||||
|
||||
return `Fill the technical data form values for this product.
|
||||
@@ -53,7 +53,7 @@ Requirements:
|
||||
- For select / multi_select use only allowed option values.
|
||||
- Keep text values short, factual, and in the same language as the field labels (usually Persian).
|
||||
- Do not invent unrealistic specs; leave a field empty if unsure.
|
||||
- Optionally add a product page URL / model reference below this prompt.`
|
||||
- Optionally paste a product page URL below this prompt (the system will open the page and use its text).`
|
||||
}
|
||||
|
||||
interface ProductTechnicalValuesAiPromptModalProps {
|
||||
|
||||
@@ -21,7 +21,8 @@ export function buildTechnicalFormAiPrompt(
|
||||
- برای select / multi_select: فهرست گزینهها به فارسی
|
||||
|
||||
روی مشخصات و ویژگیهایی تمرکز کن که خریداران معمولاً هنگام مقایسه این نوع محصول بررسی میکنند.
|
||||
برچسبها و گزینهها را به فارسی بنویس.`
|
||||
برچسبها و گزینهها را به فارسی بنویس.
|
||||
در صورت نیاز، لینک یک صفحه محصول نمونه را در ادامه اضافه کن (سیستم صفحه را باز میکند و فرم را بر اساس مشخصات واقعی آن میسازد).`
|
||||
}
|
||||
|
||||
return `Suggest technical data form fields for the "${categoryName}" product category.
|
||||
@@ -32,7 +33,8 @@ For each field include:
|
||||
- Whether it is required
|
||||
- For select / multi_select: the list of options
|
||||
|
||||
Focus on specs and attributes that shoppers typically compare when buying this type of product.`
|
||||
Focus on specs and attributes that shoppers typically compare when buying this type of product.
|
||||
Optionally paste a sample product page URL below (the system will open the page and build the form from its real specs).`
|
||||
}
|
||||
|
||||
interface TechnicalFormAiPromptModalProps {
|
||||
|
||||
Reference in New Issue
Block a user