Filter: classifai_openai_embeddings_max_posts
Filter the max number of posts.
Default for this is 5000 but this filter can be used to change this, either decreasing to help with performance or increasing to ensure we consider more.
Parameters
Name | Type | Description |
---|---|---|
$this->max_posts | int | The default maximum posts. |
Since
- 3.4.0
Source
Defined in includes/Classifai/Providers/OpenAI/Embeddings.php
at line 240
Returns
The maximum posts.