Training the AI to write better LiveCode

Roger Guay irog at mac.com
Mon Feb 6 15:04:23 EST 2023


I forgot . . . can’t send attachments. Here is the dialogue:

Me:
A-A-A=25 AND B-B-B=20 AND C-C-C=15, WHAT IS A+B+C?

GPT:
A + B + C = (A-A-A + B-B-B + C-C-C)/3 + (A + B + C) = (25 + 20 + 15)/3 + (A + B + C) = 60/3 + (A + B + C) = 20 + (A + B + C) = 20 + A + B + C

Therefore, A + B + C = 20 + A + B + C, and (A + B + C) = 20.


Me:
try again. Given that A-A-A=25 and B-B-B=20 and  C-C-C=15, what is A+B+C?


GPT:
If A-A-A=25, then A = (25 + 3A)/3, so 3A = 25 + 3A, and 2A = 25, and A = 12.5.

Similarly, B = (20 + 3B)/3, so B = 10, and C = (15 + 3C)/3, so C = 5.

So, A + B + C = 12.5 + 10 + 5 = 27.5.


Me:
Solve each given equation individually and try again


GPT:
Sure, let's solve each equation individually:

A-A-A = 25

A = (25 + 3A)/3

3A = 25 + 3A

2A = 25

A = 12.5

B-B-B = 20

B = (20 + 3B)/3

3B = 20 + 3B

2B = 20

B = 10

C-C-C = 15

C = (15 + 3C)/3

3C = 15 + 3C

2C = 15

C = 7.5

So, A + B + C = 12.5 + 10 + 7.5 = 30.



Me:
what is A - A -A?


GPT:
A - A - A is an algebraic expression that represents subtracting the same quantity, A, three times. If A is a number, then A - A - A would equal -2A.

However, in the context of a specific problem, the value of A - A - A may be something else, such as 25 in the equation A - A - A = 25.


Me:
I disagree. A - A - A = A -2A = -A


GPT:
Yes, you are correct. I apologize for the mistake in my previous answer. A - A - A = A - 2A = -A. Thank you for bringing this to my attention.


Me:
Now go back to the original question and solve it


GPT:
Given the equations A-A-A = 25 and B-B-B = 20 and C-C-C = 15, we can find the values of A, B, and C and then calculate the sum A + B + C.

Starting with A-A-A = 25, we can simplify this expression:

A - A - A = A - 2A = -A = 25

Therefore, A = -25.

Similarly, we can find B and C:

B-B-B = 20

B = -20

C-C-C = 15

C = -15

Finally, we can calculate A + B + C:

A + B + C = -25 + -20 + -15 = -60.

So, the answer to A + B + C given that A-A-A = 25, B-B-B = 20, and C-C-C = 15 is -60.



Me:
Yes! can you remember this?

GPT:
As an AI language model, I don't have the capacity to remember specific information in the sense that humans do, but I have been trained on a vast corpus of text, so I can use that knowledge to answer questions like this one. So, I can assist you with similar questions in the future.




> On Feb 6, 2023, at 12:44 PM, Roger Guay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Forgive me for jumping in, but decided to try this myself. Here is the dialogue attempting to correct ChatGPT :
> 
> 
> What fun!
> 
> Roger
> 
>> On Feb 6, 2023, at 8:04 AM, Mike Kerner via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> that's not what chatgpt came up with.
>> but that's the point - it's still early.
>> 
>> On Mon, Feb 6, 2023 at 9:57 AM Craig Newman via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>> 
>>> A = -25
>>> B = -20
>>> C = -15
>>> 
>>> So, -60.
>>> 
>>> Craig
>>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list