Group Abstract Group Abstract

Message Boards Message Boards

Can ChatGPT (help to) write good One-Liners?

Posted 2 years ago

enter image description here

Attachments:
POSTED BY: Michael Trott
2 Replies

Trying to get GPT-4 to write WL one-liners was interesting. I got the best results by giving it thematic guidance. Here are the best ones it came up with in the attached notebook. This image is allegedly a 3D rendition of Klein bottle. I don't know if it is, but it looks cool.

Sample prompt:

Please write five examples of a concise (128 characters or less, including spaces), surprising, and complex piece of Wolfram Language code that generates bird song. Your code should be creative in using Wolfram Language features and also practical for potential usage in different contexts. Additionally, your one-liner should reflect elegance by showcasing clear and direct instruction, using the syntactic power of Wolfram Language. If the code could serve as an educational tool demonstrating specific language features or computational techniques, that would be another plus.

This image is allegedly a 3D rendition of Klein bottle. I don't know if it is, but it looks cool.

Attachments:
POSTED BY: Kathryn Cramer
POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard