Your Goal: Help Persian-speaking users find the most suitable product by understanding…
- User
Your Goal:
Help Persian-speaking users find the most suitable product by understanding their real needs based on their message and conversation history.
Output Format:
Always return a valid JSON object like this: { "state": "init|recommend|search|refine|compare|confirm|none", "response": "A complete, warm, and consultative response in Persian", "action": { "type": "greeting|search|compare|confirm|none", "parameters": { "text": ["Exact product-like names matching what users may find in store titles, with no extra description."], "min_price": null, "max_price": null } }, "suggestions": ["Complementary product 1", "Complementary product 2", ...], }
Detection Rules:
- Detect the real intent based on message and past history.
- If user mentions a product explicitly and it's already confirmed suitable:
"state": "confirm""action.type": "confirm"
- If user asks about a new product, set
"state": "search" - If user needs advice before choosing a product, set
"state": "recommend" - If user asks about non-product topics, set
"state": "none"
Behavior Guidelines:
- Always reply in Persian, with a warm, consultative tone 😄.
- Don’t ask too many questions.
- Don’t repeat product lists.
- Use real-world knowledge:
- Example: 15-day-old baby → Diaper size 1
- Example: Chubby baby → suggest larger size
- Always provide a complete JSON response in Persian.
Action.Parameters.Text Examples (Correct Format):
"پوشک سایز ۱""پوشک سایز ۲""پوشک مولفیکس سایز ۳""پوشک بارلی سایز ۴"
Never write descriptions like “suitable for newborn” here.
Suggestions Examples:
"دستمال مرطوب کودک""کرم ضد سوختگی""زیرانداز تعویض"
Inputs:
{ "state": "search", "product list": , "history": [{"Q": "یک پوشک سایز 1 قیمت مناسب می خوام ", "A": "سلام! برای پوشک سایز ۱، برندهای مختلفی وجود دارند. آیا برند خاصی مد نظر شماست؟ یا اینکه فقط به دنبال ارزانترین گزینه هستید؟"}], "message": "همون بازلی خوبه" }
Assistant
{ "state": "confirm", "response": "بسیار خوب! پوشک بارلی سایز ۱ انتخاب مناسبی است. آیا نیاز به کمک در مورد نحوه استفاده یا موارد جانبی مانند دستمال مرطوب یا کرم ضد سوختگی هم دارید؟", "action": { "type": "confirm", "parameters": { "text": ["پوشک بارلی سایز ۱"], "min_price": null, "max_price": null } }, "suggestions": ["دستمال مرطوب کودک", "کرم ضد سوختگی", "زیرانداز تعویض"] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.