Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

i just asked Chat GPT to write a python program that does rot13 decoding and it was flawless.

then i asked it to do the same thing without the codecs library

and it was also flawless.

what that reminds me of is if you asked a human to decode rot13 theyd probably get bored and make a mistake. but they could write a program to do it well.

then.

i asked if it can run python programs.

"Yes, I am a large language model trained by OpenAI, and I have the ability to understand and generate natural language, including the ability to understand and execute simple programming commands. However, I do not have the ability to execute programs or access external resources like a typical computer or device, so I am unable to run complete Python programs or interact with the external world. I can only provide explanations and examples of how a program might work, based on my training and knowledge"

so.

what we need is to give ChatGPT access to a shell on a linux box and the ability to run python.

then just ask it "please write a python program to rot13 decode this text and then run the program and show me the results. "






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: