token_count_utils
autogen.token_count_utils.num_tokens_from_functions
num_tokens_from_functions
Return the number of tokens used by a list of functions.
Parameters:Name | Description |
---|---|
functions | (list): List of function descriptions that will be passed in model. |
model='gpt-3.5-turbo-0613' |
Type | Description |
---|---|
int | int: Number of tokens from the function descriptions. |