This "best of" warning results from using the OpenAI API on a PC running Win10.
The Context:
Using the OpenAI API in Jupyter Lab with the ir kernel, with having only the rgpt3 library installed in this Notebook.
The API successfully performs a test code completion. And it does not matter whether the API is making a single or multiple API request, both return the same warning.
The following results when using 3 queries:
[1] "Request: 1/3" To avoid an
invalid_request_error
,best_of
was set to equaln
[1] "Request: 2/3" To avoid an
invalid_request_error
,best_of
was set to equaln
[1] "Request: 3/3" To avoid an
invalid_request_error
,best_of
was set to equaln
After performing multiple unsuccessful web searches - including a search at Stack Overflow for information about these warnings, I found there exists almost no information about this warning anywhere. It's probably too early in the process because the OpenAI API is relatively new to most people.
Therefore, it was decided to post both the question and the answer regarding this warning because otherwise finding such information is very difficult and time consuming. And for those users who are boldly going where few have gone before, errors and warning messages do not inspire confidence.