← Docs
Recipe

NL → dynamic pricing rules

Turn natural-language descriptions into live pricing rules that adjust based on inventory, demand, and customer segments.

Input

"Premium users get 20% off when stock exceeds 50 units."

Output

{ "segment": "premium", "condition": "inventory > 50", "discount": 0.20, "ttl_minutes": 15 }

Steps

  1. Parse NL intent via Meridian inference endpoint.
  2. Extract segment, condition, and modifier.
  3. Validate against current inventory and user tiers.
  4. Push rule to pricing engine with short TTL.
  5. Log audit trail for compliance review.
Requires Meridian Pro plan. Rules expire after TTL to prevent stale discounts.