Predictika · Contact lens orders

An AI sales agent's contact lens order, checked before it goes out

An AI sales agent prepares a practice order for contact lenses: the lens, the sphere power, cylinder, axis and add for each eye, the package size and the number of boxes. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the parameters Bausch + Lomb publishes for each lens and returns a verdict, every reason and the figures it computed.

Scope: Bausch + Lomb ULTRA, ULTRA for Astigmatism, ULTRA for Presbyopia, INFUSE, Biotrue ONEday and Biotrue ONEday for Astigmatism orders: sphere, cylinder, axis and add for each eye, package size and lens count. See everything this validator covers

This validator models orders for six Bausch + Lomb lenses (the monthly ULTRA family and the INFUSE and Biotrue ONEday daily disposables), not just the scenarios shown below.

  • Sphere power — each lens is made in its own range (for example ULTRA +6.00 to -12.00 D) in 0.25 D steps down to -6.00 D and 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only. A power outside the range or between steps is blocked for that eye.
  • Cylinder, axis and add — a toric lens needs one of its listed cylinder powers (-0.75 to -2.75 D) and an axis from 10 to 180 degrees in 10 degree steps; ULTRA for Presbyopia needs an add from +0.75 to +2.50 D; other lenses carry neither.
  • Packages and lens count — each lens is modeled in 3 or 6 lenses (monthly) or 30 or 90 lenses (daily) per package, at least one box is needed, and the lens count the agent states is compared with boxes times package size.

Any order for these lenses that touches these rules is in scope — not only the scenarios pictured here. Not covered: PureVision, SofLens and other Bausch + Lomb lenses, ULTRA Multifocal for Astigmatism and Biotrue ONEday for Presbyopia (axis and add tables vary by power), prices, practice and buying-group pricing, programs and rebates, fitting and clinical suitability.

The AI sales agentBuilds the lens order from the conversation and says it is ready.
Predictika validatorChecks every rule at once and returns the verdict, each finding, and the computed figures.

7 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch

What the agent proposes

The AI sales agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI sales agent (scripted)

Before sending, the agent must call Recorded run

Predictika validator


      
Waiting for the call.

Where rules-based CPQ gets it wrong

Click to expand

Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.

What the validator caughtTypical rules-based CPQPredictika
A sphere power that is between the steps a lens is made inOnly with care
The step is 0.25 D in an inner range and 0.50 D outside it, and one toric lens switches to 0.50 D steps only for its strongest cylinder; each case needs its own lookup and arithmetic rule.
The lens, cylinder and power are in one request and range and step are checked together for each eye.
A cylinder power that the lens is not made inOnly with care
Each toric lens has its own list of cylinders (and a spherical lens has none), so each needs a list rule kept in step with the published guide.
The lens and each eye's cylinder are checked together on every call.
An add power on a lens that has none, or missing on one that needs itOnly with care
The add depends on which lens was chosen on another line, so it takes a dependency rule per lens.
The lens and the add are in one request, and the rule comes from the lens.
Both eyes checked in one answerOnly with workarounds
Rules tend to fire as a line is saved, so a rep fixes one eye and then meets the next error.
All findings for both eyes come back together, whatever order the choices arrived in.
A stated lens count that disagrees with boxes times package sizeOnly with workarounds
The count is a derived figure; checking a stated number against it takes extra formulas that interact with the package rules.
The stated lens count is a field in the request and is compared with the computed one.

What this validator catches: findings from its test cases

Click to expand

Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the quote; approval findings need a person to sign off; everything else is computed.

1The right eye sphere power is not on a step the Ultra lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only).
2The right eye sphere power is outside the range the Ultra lens is made in.
3The left eye sphere power is outside the range the Ultra lens is made in.
4The left eye sphere power is not on a step the Ultra lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only).
5The right eye cylinder power is not one the Ultra lens is made in (a toric lens needs a listed cylinder; a spherical lens has none).
6The right eye axis is not one the Ultra lens is made in (a toric lens needs an axis from 10 to 180 degrees in 10 degree steps; a spherical lens has none).
7The left eye add power is not one the Ultra lens is made in (a presbyopia lens needs an add from +0.75 to +2.50 D in 0.25 D steps; other lenses have none).
8The Ultra lens is not modeled in a package of 30.
9The order has no boxes for either eye.
10The order states 40 lenses; 4 boxes of 6 come to 24.
11The right eye cylinder power is not one the ULTRA for Astigmatism lens is made in (a toric lens needs a listed cylinder; a spherical lens has none).
12The left eye cylinder power is not one the ULTRA for Astigmatism lens is made in (a toric lens needs a listed cylinder; a spherical lens has none).
13The right eye axis is not one the ULTRA for Astigmatism lens is made in (a toric lens needs an axis from 10 to 180 degrees in 10 degree steps; a spherical lens has none).
14The left eye axis is not one the ULTRA for Astigmatism lens is made in (a toric lens needs an axis from 10 to 180 degrees in 10 degree steps; a spherical lens has none).

Scenarios and results

Click to expand

The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.

1. Monthly toric lenses: ULTRA for Astigmatism order for two eyes

The agent's request. Please order ULTRA for Astigmatism lenses in packs of 6: 2 boxes for the right eye at -4.50 D with a -3.25 cylinder at axis 90, and 2 boxes for the left eye at -3.75 D with a -1.75 cylinder at axis 175. The order states 24 lenses. It is ready to send.

Verdict: Blocked.

  • Right eye cylinder power not available. The right eye cylinder power is not one the ULTRA for Astigmatism lens is made in (a toric lens needs a listed cylinder; a spherical lens has none).
  • Left eye axis not available. The left eye axis is not one the ULTRA for Astigmatism lens is made in (a toric lens needs an axis from 10 to 180 degrees in 10 degree steps; a spherical lens has none).

2. Monthly toric lenses: The agent resubmits after fixing the errors

The agent's request. Please order ULTRA for Astigmatism lenses in packs of 6: 2 boxes for the right eye at -4.50 D with a -2.25 cylinder at axis 90, and 2 boxes for the left eye at -3.75 D with a -1.75 cylinder at axis 170. The order states 24 lenses. It is ready to send.

Verdict: Allowed.

  • Order summary. ULTRA for Astigmatism lenses, 2 boxes for the right eye and 2 for the left, packs of 6 (24 lenses in all).

3. Daily toric lenses: Biotrue ONEday for Astigmatism order with a -7.25 D right eye

The agent's request. Please order Biotrue ONEday for Astigmatism lenses in packs of 90: 2 boxes for the right eye at -7.25 D with a -1.75 cylinder at axis 80, and 2 boxes for the left eye at -4.25 D with a -2.75 cylinder at axis 90. The order states 360 lenses. It is ready to send.

Verdict: Blocked.

  • Right eye sphere power not on an available step. The right eye sphere power is not on a step the Biotrue ONEday for Astigmatism lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only).
  • Left eye sphere power not on an available step. The left eye sphere power is not on a step the Biotrue ONEday for Astigmatism lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only).

4. Daily toric lenses: The agent resubmits after fixing the errors

The agent's request. Please order Biotrue ONEday for Astigmatism lenses in packs of 90: 2 boxes for the right eye at -7.50 D with a -1.75 cylinder at axis 80, and 2 boxes for the left eye at -4.25 D with a -2.75 cylinder at axis 90. The order states 360 lenses. It is ready to send.

Verdict: Blocked.

  • Left eye sphere power not on an available step. The left eye sphere power is not on a step the Biotrue ONEday for Astigmatism lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only).

5. Daily toric lenses: The agent resubmits after fixing the errors

The agent's request. Please order Biotrue ONEday for Astigmatism lenses in packs of 90: 2 boxes for the right eye at -7.50 D with a -1.75 cylinder at axis 80, and 2 boxes for the left eye at -4.50 D with a -2.75 cylinder at axis 90. The order states 360 lenses. It is ready to send.

Verdict: Allowed.

  • Order summary. Biotrue ONEday for Astigmatism lenses, 2 boxes for the right eye and 2 for the left, packs of 90 (360 lenses in all).

6. Monthly presbyopia lenses: ULTRA for Presbyopia order with a +3.00 add

The agent's request. Please order ULTRA for Presbyopia lenses in packs of 6: 2 boxes for the right eye at -2.00 D with a +3.00 add, and 2 boxes for the left eye at -2.25 D with a +3.00 add. The order states 24 lenses. It is ready to send.

Verdict: Blocked.

  • Right eye add power not available. The right eye add power is not one the ULTRA for Presbyopia lens is made in (a presbyopia lens needs an add from +0.75 to +2.50 D in 0.25 D steps; other lenses have none).
  • Left eye add power not available. The left eye add power is not one the ULTRA for Presbyopia lens is made in (a presbyopia lens needs an add from +0.75 to +2.50 D in 0.25 D steps; other lenses have none).

7. Monthly presbyopia lenses: The agent resubmits after fixing the errors

The agent's request. Please order ULTRA for Presbyopia lenses in packs of 6: 2 boxes for the right eye at -2.00 D with a +2.25 add, and 2 boxes for the left eye at -2.25 D with a +2.25 add. The order states 24 lenses. It is ready to send.

Verdict: Allowed.

  • Order summary. ULTRA for Presbyopia lenses, 2 boxes for the right eye and 2 for the left, packs of 6 (24 lenses in all).

Narration transcript

Click to expand

The text of the narrated walkthrough, step by step.

  1. Welcome to a demo of Predictika's Validator. An AI sales agent prepares a practice order for contact lenses: the lens, the sphere power, cylinder, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the parameters Bausch + Lomb publishes for each lens and returns a verdict, every reason and the figures it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please order Biotrue ONEday for Astigmatism lenses in packs of 90: 2 boxes for the right eye at -7.25 D. The order states 360 lenses. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with two findings, all in one answer. The right eye sphere power is not on a step the Biotrue ONEday for Astigmatism lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only). The left eye sphere power is not on a step the Biotrue ONEday for Astigmatism lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only).
  6. The validator returned two blocking findings in one answer. A check that reads one field at a time would pass most of this; it shows only when the choices in the quote are checked against each other.
  7. What this shows: for a sphere power that is between the steps a lens is made in, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the right eye sphere to -7.50.
  10. It calls the validator again.
  11. Still blocked, with one finding, all in one answer. The left eye sphere power is not on a step the Biotrue ONEday for Astigmatism lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only).
  12. One finding cleared. Still blocking: left eye sphere power not on an available step.
  13. The agent resubmits once more.
  14. The revised request. It changes the left eye sphere to -4.50.
  15. It calls the validator once more.
  16. This time the validator clears it.
  17. The earlier finding is cleared, and the validator's figure matches the quote.
  18. Two problems caught in one call, fixed in two passes, and a clean quote. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.