Skip to main content

AI Generation

What the AI Receives

The AI gets full listing context:

Listing: Nimishka Villa
Location: Chattyan, Kasauli, Himachal Pradesh
Max guests: 6 adults, 4 children
Brand: privé
Price: ₹14,000 - ₹18,000/night
Properties:
- Deluxe Room (Villa), ₹14,000/night, 4 beds, 2 units
Amenities: Pvt Pool, Garden Area, Scenic Views, Game Room

What the AI Returns

{
"agentPitch": "Perfect for families seeking beachfront luxury. Private pool, included chef, and flexible cancellation make this a safe, high-value choice.",
"conversionSignals": [
{ "type": "POSITIVE", "icon": "trend_up", "text": "High Conversion Probability" },
{ "type": "POSITIVE", "icon": "price_tag", "text": "15% cheaper than similar beachfront villas" },
{ "type": "NEGATIVE", "icon": "warning", "text": "Last 200m rough road" }
],
"salesTips": [
"Highlight the Full kitchen",
"Emphasize free cancellation",
"Distance from an already added property"
]
}

Trigger Options

TriggerEndpointBehavior
Auto (on GET)GET /{listingId}Generates if missing or stale (>7 days), skips if human-reviewed
SinglePOST /generate/{listingId}Force regenerate, skips if human-reviewed
BulkPOST /generate/bulk["lst_a", "lst_b"]
AllPOST /generate/allAll active listings

Staleness

AI content is considered stale after 7 days (STALE_THRESHOLD). On the next GET request, it auto-regenerates unless human-reviewed.

Caching

Generated intelligence is stored in listing_sales_intelligence table — it's a DB cache, not ephemeral. Survives app restarts.