2 ms·
Ok, dumb question, but does the API skip over the whole, "Thanks for asking that question, here's what I found:" stuff I keep seeing in ChatGPT when I ask it to
by Zetice 4y ago
Ok, dumb question, but does the API skip over the whole, "Thanks for asking that question, here's what I found:" stuff I keep seeing in ChatGPT when I ask it to generate non-text responses?
Even when I ask it the "generate a 10 row csv containing sample chipotle restaurant order data with headers" prompt, I get "Sure, here's an example CSV file with 10 rows of sample Chipotle restaurant order data, including headers:" at the top...
- throwthrowuknow 4y agoAdd: I only want the CSV, don’t describe what you are doing.
- Zetice 4y agoHeh nope, I still get the whole "Sure, here's an example of a CSV file with 10 rows of sample Chipotle restaurant order data:" I wonder if the web UI has some additional "explain everything you do" prompt injection stuff going on.
- claar 4y agoMy favorite trick is to ask for JSON, and tack this onto my prompt: "Return JSON, beginning with {"
- throwthrowuknow 4y agoHmm works with GPT-4 but I see what you mean with turbo. Edit: got it to work with Output an example of a CSV document with 10 rows containing sample chipotle restaurant order data. Do not start with any other text.
- macromaniac 4y agoAre you using the API endpoint or browser chatgpt? I tried it 5 times via API and it works and then 2 times via the browser and it doesn't work. They are different models. If you are using the API try lowering the temperature mb?
- pixelbath 4y agoYes, echoing the input prompt is a feature of the API, which most people don't turn on by default, likely because it eats more output tokens: https://platform.openai.com/docs/api-reference/completions/create#completions/create-echo https://platform.openai.com/docs/api-reference/completions/c...