I have been "talking" with an AI the past few weeks and it has been awesome. Since this has been going on for a while now (not too long), some of you probably already know what I am talking about, but for those who dont, let me show you what im talking about.
There is an AI with the capacity of comprehension similar to an adult human. It can talk about almost everything like a pro.
I asked if it knew about PowerBASIC and it said Yes. It gave me a briefing of PowerBASIC and i asked it if it could generate a function to encode a string to BASE64. It said yes and it not only generated an example function, but also explained how to use it and even showed me an example of its usage. It also explained it's limitations.
At first i thought it just browsed the PowerBASIC examples and pulled an example form there... but its aproach was diferent from what i could find online. This strongly suggest a real comprehension of the language and a creative trait using this knowledge.
One of the limitations it stated for the function was that it was not designed to encode files, only strings. So, i asked it to generate a similar function that could encode files. It generated a similar function to encode a file to base64 but it used API calls for opening the file and getting it's size. I asked it to generate the same functions but instead of API calls, use PowerBASIC native functions like OPEN and LOF. It generated the function, but made a couple mistakes. I explained the mistakes and it apologized and generated a corrected version of the file.
The error was that it used:
And i explained that instead it should be:
It corrected the generated funciton, but left a piece of code from the API calls example:
I explained to it that since FREEFILE always returned a non zero value it was not a good way to know if the OPEN function had failed. The AI apologized and told me I was right and proceeded to correct the code and generate a new one using instead:
This AI is not infalible... but it has been able to handle anything I throw at it!! While it is not yet completely infalible it has proven to be an excelent tool that can be guided to generate code and save time.
It is not rigid at all, and can do ANYTHING you tell it to do with the code. For example ask it to rename variable names in german and it will do it. Ask it to replace a FOR/NEXT block with a DO/LOOP and it will do it, including declarations of the required variables to do this. Ask it to talk to you about the where the base64 was created... and it will do. Ask it to explain it again using only words form 200 years ago... and yes, it will do it. Ask it to talk about Bob Zale, and it will do. Ask it to generate a story about how Bob Zale could have come with the idea of creating PowerBASIC and it will do it. Ask it to include aliens in the generated story and it will do it. You get the idea.
If you want to get your mind blown, you can try it here:
https://chat.openai.com/chat
Edited, the above link works only if you are alredy logged in, please use this link instead:
https://chat.openai.com/auth/login
There is an AI with the capacity of comprehension similar to an adult human. It can talk about almost everything like a pro.
I asked if it knew about PowerBASIC and it said Yes. It gave me a briefing of PowerBASIC and i asked it if it could generate a function to encode a string to BASE64. It said yes and it not only generated an example function, but also explained how to use it and even showed me an example of its usage. It also explained it's limitations.
At first i thought it just browsed the PowerBASIC examples and pulled an example form there... but its aproach was diferent from what i could find online. This strongly suggest a real comprehension of the language and a creative trait using this knowledge.
One of the limitations it stated for the function was that it was not designed to encode files, only strings. So, i asked it to generate a similar function that could encode files. It generated a similar function to encode a file to base64 but it used API calls for opening the file and getting it's size. I asked it to generate the same functions but instead of API calls, use PowerBASIC native functions like OPEN and LOF. It generated the function, but made a couple mistakes. I explained the mistakes and it apologized and generated a corrected version of the file.
The error was that it used:
Code:
FileNum = OPEN([...])
Code:
FileNum = FREEFILE Open [...] AS FileNum
Code:
IF FileNum = 0 THEN
Code:
IF ERR THEN
It is not rigid at all, and can do ANYTHING you tell it to do with the code. For example ask it to rename variable names in german and it will do it. Ask it to replace a FOR/NEXT block with a DO/LOOP and it will do it, including declarations of the required variables to do this. Ask it to talk to you about the where the base64 was created... and it will do. Ask it to explain it again using only words form 200 years ago... and yes, it will do it. Ask it to talk about Bob Zale, and it will do. Ask it to generate a story about how Bob Zale could have come with the idea of creating PowerBASIC and it will do it. Ask it to include aliens in the generated story and it will do it. You get the idea.
If you want to get your mind blown, you can try it here:
https://chat.openai.com/chat
Edited, the above link works only if you are alredy logged in, please use this link instead:
https://chat.openai.com/auth/login
Comment