Forum > Other

Using chatgpt to bring the pascal/lazarus platform up to date more quickly.

<< < (2/10) > >>

Bogen85:

--- Quote from: PascalDragon on January 11, 2023, 10:36:24 pm ---
--- Quote from: Webdrifter on January 10, 2023, 12:59:44 pm ---But what interests me most is how we can use it as a tool to upgrade the Freepascal/Lazarus-platform on all the items it is lagging behind compared to other more popular platforms.

--- End quote ---

Contributions based on AI systems for Free Pascal and Lazarus will have to be rejected, because it is not clear what these AI systems used as source for their models and thus they might infringe licenses or copyright.

--- End quote ---

Somewhat agreed... In theory... But that theory would need to be proven...

This is a "new world".... of sorts...
As things currently stand, there is little case history on this.

However, from my experiments with openai and text-davinci-3, it "appears" pretty obvious to me that much (if not all) of the code being generated is not coming from examples.

Don't get me wrong, some could be coming from examples.... But I have no proof of that yet for what I've done.

The code generated seems generally to be based on what I specify, and I've been able to specify very detailed/specific requirements and have it give me working examples that match what I submitted in my prompt.

So specific that I highly doubt it is finding examples to fit my very specific prompts.

Of course, there is the possibility I'm being deceived...
And yes, the code does not always work. But most (if not all) the time it is because I failed to adequately specify my requirements, or because my requirements were too complex.


--- Quote from: Thaddy on January 10, 2023, 01:31:06 pm ---The wrong code comes mostly from asking a wrong or not complete question. The more precise the question, the better the answer. And scraping the internet is just a - small - part of the models.

--- End quote ---

I completely agree with this. From the playing around I've done I have serious doubts it is scraping the Internet for examples.
The code in question is always too unique to what I have specified.

Fred vS:

--- Quote from: Bogen85 on January 11, 2023, 11:04:51 pm ---...

The code generated seems generally to be based on what I specify, and I've been able to specify very detailed/specific requirements and have it give me working examples that match what I submitted in my prompt.

So specific that I highly doubt it is finding examples to fit my very specific prompts
--- End quote ---

Hum, I have the same feeling.
Mainly because the AI at first shot dont give the right answer-code.
After some remarks from my part, the AI apologizes and corrects his errors.
When the code is perfectly ok and I ask him something totally different but using the same library or widget, the answer is incredibly good.

But, and that is the key, after closing the chat and re-load it with a new session, AI has lost all his previous knowledge.

I dont know what are the plan of OpenAI, would they integrate some log-chats into their "main-memory" ?
And if yes, what chats will they add, under what condition?

  :-\

440bx:

--- Quote from: Bogen85 on January 11, 2023, 11:04:51 pm ---And yes, the code does not always work. But most (if not all) the time it is because I failed to adequately specify my requirements, or because my requirements were too complex.

--- End quote ---
Which really showcases the shortcomings of AI in the context of writing a program.  A reasonably competent programmer would have found the holes in the requirements/specification and inquired about what the "user" wanted in each case.

if an AI system can't even do that, it is difficult to believe it will be an effective problem solver and solutions provider.

Fred vS:

--- Quote from: Fred vS on January 11, 2023, 11:25:14 pm ---But, and that is the key, after closing the chat and re-load it with a new session, AI has lost all his previous knowledge.

--- End quote ---

Note that, using https://chat.openai.com/chat
On the left side of the site there are all the previous chats that you have done.

If you load one of the chats were AI became a guru, all his knowledge is still there, ask him something about the subject that he knows because of previous remarks, he will remember all.

So each chat is a kind of "par of intelligence" that could be added in his main brain.

nanobit:

--- Quote from: 440bx on January 11, 2023, 11:28:47 pm ---if an AI system can't even do that, it is difficult to believe it will be an effective problem solver and solutions provider.

--- End quote ---

Don't underestimate the AI. Much can be solved by further training (data), without new methods.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version