I fed it the livecode reference manual ... i had a pdf of it, not sure where to find that now. Also the builder documentation from here
https://livecode.com/apidocs/docs/guide.html#livecode-builder-language-reference I think I might have missed the top section of builder related guides. and the httpd library. I also instructed it on how quotes work in livecode and to use & quote instead of escaping a quotation mark. (because I noticed that it gets that wrong, and so when I notice certain things, I then instruct on how to not make that mistake) Cheers Mike, I hope that help On Wed, Jul 24, 2024 at 1:04 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > what did you send to chatgpt to generate the LC expert model? > > On Wed, Jul 24, 2024 at 11:46 AM Tom Glod via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Hi Mike, > > > > I also asked it to check over each answer before i accepted it. > > so it is essentially 2-shot instead of the usual 1. > > The reason I added the script for httpd is so that it would not need to > > figure out correct syntax for socket connections, by having examples of > the > > correct syntax. > > Yes, I supplied the RFC instead of referencing it (This is for Calude > > "projects' feature, which is similar to OpenAIs GPT creation, where you > can > > also include files as part of knowledge base.) > > > > I think ChatGPT would have done OK on this, but I think Claude opus is a > > little better in this regard. > > > > See if you have better luck generating livecode with this > > > > https://chatgpt.com/g/g-AuN0YeBOr-livecode-expert-gpt > > > > Thanks, > > > > Tom > > > > > > > > On Wed, Jul 24, 2024 at 8:29 AM Mike Kerner via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > so, for you, the trick was: > > > * claude (opus) > > > * supply some lc source code in a similar universe (curious why you did > > > that) > > > * supply the rfc, not just referencing the rfc > > > anything else? > > > > > > On Tue, Jul 23, 2024 at 7:31 PM Tom Glod via use-livecode < > > > use-livecode@lists.runrev.com> wrote: > > > > > > > Hey Mike, > > > > > > > > I describe how I did it on the GitHub page. I find all llms work > better > > > > when they have a starting point if you ask them just to start from > > > nothing > > > > the performance will be significantly worse. > > > > > > > > Examples of correct responses are key so in this case I provided the > > > source > > > > code for the httpd library for livecode. I also provided the specs > for > > > the > > > > standard. > > > > > > > > And it was Claude opus. I'll get the client code in there soon thanks > > for > > > > letting me know about that ...duh! 😉 I would have found out I guess > > > when I > > > > got to testing it > > > > > > > > On Tue, Jul 23, 2024, 10:48 a.m. Mike Kerner via use-livecode < > > > > use-livecode@lists.runrev.com> wrote: > > > > > > > > > i'd like to learn more about how you did this. > > > > > i have had terrible luck getting any of the LLM's to generate > > > reasonable > > > > LC > > > > > code (including multiple attempts on this very topic). > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode@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@lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode@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@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode