05:53
OK, Chat GPT is scary. I asked it a code question, and said to use "Cicero, Caesar, and Catullus" as options. It appropriately named the variable "authors".... Then I had it create additional sub-fields, and it offered "On", "The", and "Commonwealth" as sample sub-options for selecting "Cicero."
For Catullus, it only had 1 option: Poems!
Caesar was, you might have guessed, "Gallic" and "War".
It did all that without my prompting, without my inputting of any information about those authors, without ever calling them authors.
The code isn't anything you could use in production (by a long stretch), but that it could guess the subject matter in a completely different topic is very, very impressive.
Oh, and when I examined the actual code it gave, it actually gave the correct titles:
So it messed up somewhere, since the code options for Caesar were "Gallic War" and "Civil War", but somehow it's reading the first as two items.
Update: I asked it to debug the code, and it did, and it fixed it! The dropdown menu for Caesar now says "Gallic War" and "Civil War"! It made other errors, but damn, it fixed my immediate problem.