num_tokens_from_functions

num_tokens_from_functions(functions, model='gpt-3.5-turbo-0613') -> int

Return the number of tokens used by a list of functions.

Parameters:
NameDescription
functions(list): List of function descriptions that will be passed in model.

model='gpt-3.5-turbo-0613'
Returns:
TypeDescription
intint: Number of tokens from the function descriptions.