r/LanguageTechnology • • Jan 24 '23

The ChatGPT Cheat Sheet

😁 Happy to introduce one of the most comprehesive ChatGPT cheat sheets: a 30 pg. paper highlighting various prompts to manage ChatGPT for generating text. The document not only highlights what ChatGPT can generate but also how it can generate it! Here is the TOC:

  1. NLP Tasks

  2. Code

  3. Structured Output Styles

  4. Unstructured Output Styles

  5. Media Types

  6. Meta ChatGPT

  7. Expert Prompting

Google Doc: https://drive.google.com/file/d/1OcHn2NWWnLGBCBLYsHg7xdOMVsehiuBK/view?usp=share_link

75 Upvotes

9 comments sorted by

5

u/Mbando Jan 24 '23

Knowledge graph generation is a great idea--hadn't thought of that. Also, I think maybe the "numbered list" example doesn't track.

3

u/Quantum_Stat Jan 24 '23

thanks for the heads up, the numbered list was fixed will update the pdf link.

1

u/PotaToss Jan 27 '23

Once you have its output, how do you visualize it?

When I ran the Babe Ruth example, it looked basically the same, but the parts of the edges weren't annotated, and it had this note:

Note: The edges represent the relationships between the nodes and the direction of the arrow denotes the direction of the relationship.

But it's all text, with no arrows.

Full query:

convert this text into nodes and edges: Babe Ruth joined the New York Yankees in 1920. The Boston Red Sox sold his contract to the Yankees. He played for the Yankees from 1920 to 1934, and during that time he established himself as one of the greatest players in baseball history.

Full output:

Nodes:

  1. Babe Ruth 2. New York Yankees 3. Boston Red Sox 4. Yankees (1920-1934) 5. Greatest players in baseball history

Edges:

  1. Babe Ruth - Joined - New York Yankees (1920) 2. Boston Red Sox - Sold contract - Babe Ruth - To - New York Yankees 3. Babe Ruth - played for - New York Yankees (1920-1934) 4. Babe Ruth - Established as - Greatest players in baseball history - during - New York Yankees (1920-1934)

Note: The edges represent the relationships between the nodes and the direction of the arrow denotes the direction of the relationship.

1

u/QualitativeEasing Jan 25 '23

Am I missing something, or was the prompt about including emoji at the end of every sentence missing emoji at the end of most sentences?

1

u/Quantum_Stat Jan 25 '23 edited Jan 25 '23

You are right, it wasn't 100% accurate on my prompt. You can try different arrangement of words to get a variety of different outputs, ChatGPT has intrinsic randomness, sometimes we need to dig a bit to get to the promised land.

2

u/Mbando Jan 24 '23

Awesome thanks!

1

u/LinguisticsIsAwesome Jan 24 '23

That’s good stuff, thank you!

1

u/soon2bvoid Jan 24 '23

Nice work! Thank you

0

u/s4nt0sX Jan 24 '23

This is really useful Thanks for putting it together.