Closed eddybrando closed 1 year ago
I'm using the completions method like this:
completions
use OpenAI\Laravel\Facades\OpenAI; ... $result = OpenAI::completions()->create([ 'model' => 'text-davinci-003', 'prompt' => $prompt, 'max_tokens' => 250, 'temperature' => 0.2, ]);
For some reason, moderation requests are also being send:
This is the only call that I've done in the past 30 minutes to the OpenAI API, so it shouldn't be merging various usages.
Could it be that we're automatically making moderation requests when making completion requests?
Interestingly, for each completion request, twice as many moderation requests are send.
I believe I confused the request I indeed did in the playground with the ones I did to the API with this package. Sorry...
I'm using the
completions
method like this:For some reason, moderation requests are also being send:
This is the only call that I've done in the past 30 minutes to the OpenAI API, so it shouldn't be merging various usages.
Could it be that we're automatically making moderation requests when making completion requests?