We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to ChatGPT, you should be able to add personas, like this:
$opts = [ 'prompt' => $prompt, 'temperature' => 0.5, "max_tokens" => 2048, 'persona' => [ 'name' => 'Zumm', 'emotions' => [ 'friendly', 'helpful', 'witty' ], 'voice' => 'gravelly' ], "frequency_penalty" => 0, "presence_penalty" => 0.6, "stream" => true, "top_p" => 1, "stop" => [" Human:", " AI:"] ];
But when I do that, I stop getting responses. Any ideas why?
The text was updated successfully, but these errors were encountered:
persona is not a correct API reference;
persona
orhan@PC MINGW64 ~/Documents/ChatGPT (main) $ php a.php string(160) "{ "error": { "message": "Unrecognized request argument supplied: persona", "type": "invalid_request_error", "param": null, "code": null } } "
Sorry, something went wrong.
No branches or pull requests
According to ChatGPT, you should be able to add personas, like this:
But when I do that, I stop getting responses. Any ideas why?
The text was updated successfully, but these errors were encountered: