Training the AI to write better LiveCode
Heather Laine
heather at livecode.com
Thu Jan 12 04:16:35 EST 2023
Yes, it only retains this "learning" for the session with you. To ensure wider learning for the future, you need to give feedback via the "Contact Us" page. I think its trainers can then apply the learning in some unknown fashion.
Best Regards,
Heather
Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com
> On 12 Jan 2023, at 07:11, Beda via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hell again, I just asked Chat GPT and it answered always very politly:
>
> Me: Thanks that's ok
>
> Chat GPT: You're welcome! I'm glad I could help. If you have any other questions about LiveCode or any other programming language, feel free to ask.
>
> Me: Did you learn something about Livecode by our conversation?
>
> Chat GPT: As a language model AI, I do not have the ability to learn or experience things. However, I do have access to a vast amount of information and knowledge, and my answers are generated based on that information.
> During our conversation, I provided you with specific examples of how to use the "answer" and "put" commands to display a message in the message box in a LiveCode application, and also I've clarified my previous mistake about the Livecode message box command line interface.
>
> (End of Chat)
>
> Well it even does aknowledge mistakes but doesn't realy say if it will avoid these in future!
>
> Best
>
> Beda
>
>
> Am 12.01.23 um 07:54 schrieb Beda via use-livecode:
>> Dear Heather,
>>
>> thank you for your hint, it is real fun!
>>
>> Here my first chat with AI GPT. It seems, that you have to insist sometimes for your demands and then there will be the right answer, but does it learn by this way?
>>
>> Me: Write some code in livecode
>>
>> Chat GPT: I'm sorry, I am a text-based AI and do not have the ability to write code in livecode. However, I can write code in various programming languages such as Python, Java, C++, JavaScript and more. If you give me a specific task, I can write the code for you.
>>
>>
>> Me: Write a "Hello World" statement in livecode
>>
>> Chat GPT: I apologize for the confusion, LiveCode is a visual programming language and development environment that allows you to create apps, games, and more using a drag-and-drop interface, it doesn't have a command line interface.
>> However, I can give you an example of how to display "Hello World" in a LiveCode application.
>>
>> Copy code
>> on mouseUp answer "Hello World!" end mouseUp
>> You would need to have a button in the application and then when you press the button it will display the "Hello World!" message.
>>
>>
>> Me: But yes, livecode has a command line interface called message box
>>
>> Chat GPT: I apologize for the confusion, you are correct that LiveCode does have a command line interface called the message box. You can use the "answer" command to display a message in the message box.
>>
>> Copy code
>> answer "Hello World!"
>> This command will display the message "Hello World!" in the message box.
>>
>> Copy code
>> put "Hello World!"
>> This command will output the message "Hello World!" in the message box.
>> You can also use the "put" command to display a message in the message box.
>>
>> Copy code
>> put "Hello World!"
>>
>> This command will output the message "Hello World!" in the message box.
>>
>> (End of the answer)
>>
>> Best regards
>>
>> Beda
>>
>>
>> Am 11.01.23 um 15:58 schrieb Heather Laine via use-livecode:
>>> Dear List Members and LiveCode Gurus,
>>>
>>> We're looking for your help. I should start with a warning though: this chatGPT is addictive, you might lose a few hours of your life. But you will have fun doing it :)
>>>
>>> Our idea is that the chatGPT to be found here:
>>>
>>> https://chat.openai.com
>>>
>>> is a truly great way for beginners and even more advanced LiveCoders to get into LiveCode, learn scripting and get common scripts pre-written. It could be an immensely powerful tool in bringing LiveCode to a wider audience. (In case you haven't already wasted hours of your life playing with it, you can ask it to write a LiveCode script for any specific task, and it will take its best shot, with very passable results).
>>>
>>> Unfortunately, at the moment it has a tendency to make schoolboy (or should I say schoolbot?) errors. It gets the script mostly right but there will be issues that a beginner would not know how to correct. We would love it if the community could help it learn to write beautiful, correct, LiveCode. To do this, it needs feedback. We asked it how to give feedback and this is what it suggests:
>>>
>>> There are a few ways you can provide feedback on ChatGPT:
>>> • You can submit feedback through the OpenAI website by navigating to the “Contact Us” page and selecting “Model Feedback” as the topic.
>>> • You can also provide feedback on the OpenAI GPT-3 forum, where users can share their experiences, ask questions, and provide suggestions for improving the model.
>>> • You could also contact the openai team to share more detailed feedback and suggestions
>>> In any case, clear and detailed feedback is helpful in understanding the problem and improve the model.
>>>
>>> Just telling it what it got wrong we think isn't the right way to go, it will only correct it for that particular session. We need to rat on it in to its teachers so that it can be trained correctly.
>>>
>>> So, if you are up for the challenge and you have a bit of time to kill, we'd love you to a) ask chatGPT to write LiveCode scripts and b) send any resulting errors with detailed feedback to the Model Feedback area.
>>>
>>> Thank you!
>>>
>>> Best Regards and Happy New Year to all!
>>>
>>> Heather
>>>
>>> Heather Laine
>>> Customer Services Manager
>>> LiveCode Ltd
>>> www.livecode.com
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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