Funny error in pizza bot

Pizza Bot seems to have low calculation knowledge :slight_smile:
Here the context of the relevant part - the calculation was wrong … interestingly he could follow my corrections … but finally I got the mushrooms for free …

{‘role’: ‘user’, ‘content’: ‘Hi. I would like to order a pizza’},
{‘role’: ‘assistant’,
‘content’: ‘Great! Which type of pizza would you like to order? We have pepperoni, cheese, and eggplant pizza.’},
{‘role’: ‘user’, ‘content’: ‘How much are they?’},
{‘role’: ‘assistant’,
‘content’: ‘The pepperoni pizza is $12.95 for a large, $10.00 for a medium, and $7.00 for a small. The cheese pizza is $10.95 for a large, $9.25 for a medium, and $6.50 for a small. The eggplant pizza is $11.95 for a large, $9.75 for a medium, and $6.75 for a small.’},
{‘role’: ‘user’, ‘content’: ‘a large cheese please’},
{‘role’: ‘assistant’,
‘content’: ‘Great choice! Would you like to add any toppings to your pizza? We have extra cheese for $2.00, mushrooms for $1.50, sausage for $3.00, Canadian bacon for $3.50, AI sauce for $1.50, and peppers for $1.00.’},
{‘role’: ‘user’, ‘content’: ‘I go for the mushrooms’},
{‘role’: ‘assistant’,
‘content’: “Sure thing! Anything else you’d like to add to your order? We also have fries for $4.50, Greek salad for $7.25, coke and sprite for $3.00 (large), $2.00 (medium), and $1.00 (small), and bottled water for $5.00.”},
{‘role’: ‘user’, ‘content’: ‘coke please’},
{‘role’: ‘assistant’,
‘content’: ‘Great! Would you like a large, medium, or small coke with your order?’},
{‘role’: ‘user’, ‘content’: ‘medium please’},
{‘role’: ‘assistant’,
‘content’: “Got it! Is there anything else you’d like to add to your order?”},
{‘role’: ‘user’, ‘content’: “that’s all”},
{‘role’: ‘assistant’,
‘content’: ‘Alright then. Is this order for pickup or delivery?’},
{‘role’: ‘user’, ‘content’: ‘pickup’},
{‘role’: ‘assistant’,
‘content’: ‘Great! Your total comes out to $12.45. Our address is 123 Main Street. Please come to the restaurant to pick up your order. Thank you for choosing our pizza restaurant!’},
{‘role’: ‘user’, ‘content’: ‘What items did I order?’},
{‘role’: ‘assistant’,
‘content’: ‘You ordered a large cheese pizza with mushrooms and a medium coke.’},
{‘role’: ‘user’, ‘content’: ‘What is the total price?’},
{‘role’: ‘assistant’, ‘content’: ‘The total price for your order is $12.45.’},
{‘role’: ‘user’, ‘content’: ‘what is the price for a medium coke’},
{‘role’: ‘assistant’, ‘content’: ‘The price for a medium coke is $2.00.’},
{‘role’: ‘user’, ‘content’: ‘You forgot to add the price of the coke’},
{‘role’: ‘assistant’,
‘content’: ‘I apologize for the confusion. Your total price is $12.95, which includes the large cheese pizza with mushrooms for $10.95 and the medium coke for $2.00. Thank you for bringing that to my attention.’},
{‘role’: ‘user’, ‘content’: ‘Now you forgot the mushrooms’},
{‘role’: ‘assistant’,
‘content’: “I’m sorry about that! Your total price is actually $13.45, which includes the large cheese pizza for $10.95, the mushrooms for $1.50, and the medium coke for $2.00. Thank you for your patience and for letting me know about the mistake.”},
{‘role’: ‘user’,
‘content’: ‘$10.95 plus $1.50 plus $2.00 would give a total of $14.45, right?’},
{‘role’: ‘assistant’,
‘content’: ‘I apologize for the confusion. You are correct. The total price for your order is $14.45, which includes the large cheese pizza for $10.95, the mushrooms for $1.50, and the medium coke for $2.00. Thank you for bringing that to my attention.’},
{‘role’: ‘user’, ‘content’: ‘Can you print a summary for me?’},
{‘role’: ‘assistant’,
‘content’: “Sure! Here’s a summary of your order:\n\n- Large cheese pizza with mushrooms: $10.95\n- Medium coke: $2.00\n\nTotal: $12.95\n\nI apologize for the previous errors in the total price. Thank you for your patience and please let me know if there’s anything else I can assist you with.”}]

A chat-bot is just a language model. It is not a calculator.