Filter: classifai_ollama_embeddings_max_tokens
Filter the max number of tokens.
Useful if you want to change to a different model that uses a different number of tokens, or be more strict on the amount of tokens that can be used.
Parameters
Name | Type | Description |
---|---|---|
$model | int | The default maximum tokens. |
Since
- 3.3.0
Source
Defined in includes/Classifai/Providers/Localhost/OllamaEmbeddings.php
at line 178
Returns
The maximum tokens.