Skip to content

lightwastak3n/chatgpt-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT examples

Some prompts and ChatGPT responses that I found interesting.

If you just want to see text prompts and respones here's a makeshift Gallery

Development

Pong in Python

Prompt: Write pong in Python

Result: 2 player pong game written using turtle library

Output: pong.py

It had a small error but it might be due to the fact that I had to write continue multiple times and ChatGPT returned code formatted as code along with code formatted as regular text. Github Copilot fixed the error so in the end I got a working version while writing 0 lines of code.

Video face replace

Prompt: Write program that finds faces in a video and replaces them and replaces them with a given picture

Result: Python script that uses cv2 and dlib.

Output: face_image_replace.py

This worked out of the box but it produced output file that is many times larger than the input file. I don't use these libraries so I'm not sure if this is normal behavior.

Blur faces in video

write python code that recognizes and blurs faces in a video file

Result: This is very similar to the example above so the code is basically the same blur_face_video.py

Text (articles) manipulation

It's a text model so logically it does really good on this.

Analyze text

Prompt: Calculate price per minute of these 2 plans ...

Output: Midjourney plans pricing

Summarizing text

Prompt: Summarize this text...

Output: Summary of article

Text editing

Prompt: Write similar article but for iPhone

This produced basically the same article but it realized that iPhone means switching from Google to Apple. It still kept some Google stuff.

So I adjusted the prompt to: Write it for iPhone but introduce a different feature and don't mention google lens

And now we get a different article completely adjusted for iPhone.

Explaining scientific articles

This is for newer articles so it definitely didn't train on them.

Prompt: ...Explain in simpler terms

Not sure about this physics article. It looks simplified but it also reads like a summary.

Issues

It seems like it can easily get confused about facts and change its answer if questioned - minecraft release year

It often fails simple math but it corrects itself if I ask to do it step by step.

About

Example of some stuff that ChatGPT can and can't do

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages