-
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.Request.BestOf
Andrew Lambert edited this page Jun 16, 2023
·
5 revisions
Dim BestOf As Integer
When set, this property tells the AI to generate the specified number of candidate results, and then return the "best" one (the one with the highest log probability per token). If NumberOfResults is also set then it controls the number of results that are returned, and must be less-than or equal-to BestOf
.
For example, if NumberOfResults=5
and BestOf=10
, the AI would generate 10 candidate results and then select the "best" 5 to be returned.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2023-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.