Filter: classifai_openai_tokens_per_word
How many tokens a word will take (roughly)
Parameters
| Name | Type | Description |
|---|---|---|
| $this->tokens_per_word | float | How many tokens a word will take (roughly) |
| $max_tokens | int | Maximum tokens the model supports. |
Since
- 2.4.0
Source
Defined in includes/Classifai/Providers/OpenAI/Tokenizer.php at line 63
Returns
Filtered number of tokens per word.