token_count_utils
autogen.token_count_utils.token_left
token_left
Count number of tokens left for an OpenAI model.
Parameters:Name | Description |
---|---|
input | (str, list, dict): Input to the model. Type: str | list | dict |
model='gpt-3.5-turbo-0613' |
Type | Description |
---|---|
int | int: Number of tokens left that the model can use for completion. |