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 {
|
||||
|
||||
@@ -655,7 +655,7 @@ const en = {
|
||||
'products.technical.generateAi': 'Fill with AI',
|
||||
'products.technical.ai.title': 'Fill Technical Data with AI',
|
||||
'products.technical.ai.subtitle':
|
||||
'Edit the prefilled prompt if you want to add a reference, then run it to fill the fields.',
|
||||
'Edit the prefilled prompt if you want. Paste a product page URL and the system will open it and fill from that page.',
|
||||
'products.technical.ai.error': 'Unable to fill technical data with AI.',
|
||||
'products.technical.ai.filled': 'Technical fields filled with AI. Review and save.',
|
||||
'products.form.images': 'Product Images',
|
||||
@@ -829,7 +829,7 @@ const en = {
|
||||
'categories.technical.type.multi_select': 'Multi',
|
||||
'categories.technical.ai.title': 'Generate Technical Form with AI',
|
||||
'categories.technical.ai.subtitle':
|
||||
'Edit the prompt below, then run it to fill the form fields.',
|
||||
'Edit the prompt below. If you paste a product page URL, the system opens it and builds fields from that page.',
|
||||
'categories.technical.ai.error': 'Unable to generate technical form with AI.',
|
||||
|
||||
'brands.page.subtitle': 'Manage product brands for your store catalog.',
|
||||
@@ -3245,7 +3245,7 @@ const fa: Record<MessageKey, string> = {
|
||||
'products.technical.generateAi': 'پر کردن با هوش مصنوعی',
|
||||
'products.technical.ai.title': 'پر کردن اطلاعات فنی با هوش مصنوعی',
|
||||
'products.technical.ai.subtitle':
|
||||
'در صورت نیاز پرامپت پیشفرض را ویرایش کنید یا مرجع اضافه کنید، سپس اجرا کنید تا فیلدها پر شوند.',
|
||||
'در صورت نیاز پرامپت را ویرایش کنید. لینک صفحه محصول را اضافه کنید تا سیستم صفحه را باز کند و فیلدها را از آن پر کند.',
|
||||
'products.technical.ai.error': 'پر کردن اطلاعات فنی با هوش مصنوعی ممکن نشد.',
|
||||
'products.technical.ai.filled': 'فیلدهای فنی با هوش مصنوعی پر شد. بررسی کنید و ذخیره کنید.',
|
||||
'products.form.images': 'تصاویر محصول',
|
||||
@@ -3419,7 +3419,7 @@ const fa: Record<MessageKey, string> = {
|
||||
'categories.technical.type.multi_select': 'چندانتخابی',
|
||||
'categories.technical.ai.title': 'تولید فرم فنی با هوش مصنوعی',
|
||||
'categories.technical.ai.subtitle':
|
||||
'پرامپت زیر را ویرایش کنید، سپس اجرا کنید تا فیلدهای فرم پر شوند.',
|
||||
'پرامپت را ویرایش کنید. اگر لینک صفحه محصول بگذارید، سیستم صفحه را باز میکند و فیلدها را بر اساس آن میسازد.',
|
||||
'categories.technical.ai.error': 'تولید فرم فنی با هوش مصنوعی ممکن نشد.',
|
||||
|
||||
'brands.page.subtitle': 'برندهای محصول فروشگاه خود را مدیریت کنید.',
|
||||
|
||||
Reference in New Issue
Block a user