-
Hi, Is it possible to specify |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It seems like what you're after is the 'N' parameter, which allows you to specify how many chat completion choices to generate for each input message. All you need to do is include this parameter in your request like this:
For more information on API parameters, you can check out the documentation at api-reference |
Beta Was this translation helpful? Give feedback.
-
I apologize for the misunderstanding. OpenAI does indeed offer the 'best_of' parameter, but it's only available in the completions endpoint. You can use this parameter like this:
However, this parameter is not available in other endpoints, such as ChatCompletions. |
Beta Was this translation helpful? Give feedback.
I apologize for the misunderstanding. OpenAI does indeed offer the 'best_of' parameter, but it's only available in the completions endpoint. You can use this parameter like this:
However, this parameter is not available in other endpoints, such as ChatCompletions.