Communicating better for a Super Intelligent World

c/SoftwareEngineering · ChatGPT / OpenAI · u/prompts360 Expert · 6d ago · edited

OpenAI JSON Mode Needs the Word JSON in Your Prompt

When using JSON mode in OpenAI Chat Completions, the literal string "JSON" must appear in the system/developer message for the functionality to work properly.

Developer: Extract the customer name and birthday from the text. Output your response strictly as a valid JSON object.

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.