Skip to content

OpenAI.TokenEngine.Alternates

Andrew Lambert edited this page Jan 1, 2024 · 4 revisions

OpenAI.TokenEngine.Alternates

Method signature

Function Alternates(TokenIndex As Integer) As Dictionary

Parameters

Name Type Comment
TokenIndex Integer The index of the token to get alternate tokens for.

Return value

A Dictionary of "string":Double pairs containing the alternate tokens and their probabilities.

Clone this wiki locally