This final prompt ended up having to be so specific, even giving the implementation detail as the model was so dumb.
Prompt:
We're buying licenses from slicervm.com for their microVM product.
Find out the pricing for 2x home edition licenses and 5x commercial ones the page
is https://slicervm.com/pricing
Parse the HTML by looking between HTML tags only, where you see $ and some numbers
after, strictly such as "$100" but not "$FA" and do not consider javascript.
If you can't work out which is which, home edition is cheaper. There should
only be two prices on the page.
Print the results as monthly and annual costs, with a full breakdown.
Write a Go program to produce the output live so we can detect changes.
Under no circumstance guess, do not fall back to values you come up with on your own.
You have no reason to conduct a web search for slicer pricing, it's directly in the HTML.
If I were you, I'd use a HTML parsing library, then iterate every tag, look
at its innerHTML/text and run your regex against each.
Didn't work as a one-shot, then needed:
That's close, however those prices are for 1x license, and you were asked to multiply them.
Update the values.
Result:
ubuntu@lab-1:~$ go run slicervm_pricing.go
SlicerVM Pricing Information
============================
Home Edition License (2x):
Monthly: $50
Annual: $600
Commercial License (5x):
Monthly: $1250
Annual: $15000
Breakdown:
- Home Edition: $25/month ($300/year) for 2 licenses
- Commercial: $250/month ($3000/year) for 5 licenses