Parameters:
'model' => 'text-davinci-003',
'prompt' => $Prompt,
"top_p" => 1.0,
'max_tokens' => 450,
'frequency_penalty' => 0,
'presence_penalty' => 0,
I'm playing around with using GPT to detect form spam. I tested my idea in the chatgpt browser version and it worked great, but I can't replicate the results via OpenAI API. For example some obvious spam pasted as a prompt into browser gives me:
"Spam
This form submission appears to be spam as it includes multiple suspicious links promoting pharmaceutical products. The links are unrelated to the form submission and are likely an attempt to advertise or sell products."
But the response to the identical prompt from API is stuff like "Not Spam.\nThe form fields appear to be genuine and relevant"
I have tried to vary the top_p and temperature parameters without much success (it changes the reason for it not being spam, but still claims it's not spam).
Is the model we get via API not the same as the browser version? Is there any way to set the parameters to match the browser?