joelouthan / Theologicus

The Complete Works of Theologicus. Still no pen, no words, no image can express to you the loveliness of my only, only Lord Jesus. - Samuel Rutherford
https://theologic.us
Creative Commons Attribution 4.0 International
1 stars 0 forks source link

ChatGPT: force in responding with code only #163

Open joelouthan opened 1 year ago

joelouthan commented 1 year ago

Is there any way to force with 100% certainty for ChatGPT/Open AI API to ONLY return code? No explanations.

I've tried every direction I can think of to get this robot to shut his trap and just give me code but this blabbermouth can't help himself. The best I've gotten so far is about a 80% success rate but even then if you say something unexpected or that the AI can't generate code for it will issue some long winded apology instead of just saying nothing or returning the current code without changes.

https://www.reddit.com/r/OpenAI/comments/15h2t7p/is_there_any_way_to_force_with_100_certainty_for/?utm_source=share&utm_medium=ios_app&utm_name=ioscss&utm_content=2&utm_term=1