apply_filters( 'classifai_openai_characters_in_token', $characters_in_token, $max_tokens ) → {int}
How many characters in one token (roughly)
Parameters:
Name | Type | Description |
---|---|---|
$characters_in_token |
int | How many characters in one token (roughly) |
$max_tokens |
int | Maximum tokens the model supports. |
- Since:
- 2.4..0
- Source:
Returns:
- Type
- int