Estimate the number of tokens a function definition will use. Note that using the function definition within a prompt will add extra tokens, so you might want to use promptTokensEstimate instead.
promptTokensEstimate
An array of OpenAI function definitions
An estimate for the number of tokens the function definitions will use
Estimate the number of tokens a function definition will use. Note that using the function definition within a prompt will add extra tokens, so you might want to use
promptTokensEstimate
instead.