token_left
Parameters:
Returns:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
token_left(input: str | list[str] | dict[str, Any], model='gpt-3.5-turbo-0613') -> int
| Name | Description |
|---|---|
input | (str, list, dict): Input to the model. Type: str | list[str] | dict[str, typing.Any] |
model='gpt-3.5-turbo-0613' |
| Type | Description |
|---|---|
| int | int: Number of tokens left that the model can use for completion. |