Skip to content

OpenAI.Request.BestOf

Andrew Lambert edited this page Jun 16, 2023 · 5 revisions

OpenAI.Request.BestOf

Property declaration

 Dim BestOf As Integer

Remarks

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.

Clone this wiki locally