Filter: classifai_ollama_embeddings_request_body
Filter the request body before sending to Ollama.
Parameters
| Name | Type | Description |
|---|---|---|
| $body | array | Request body that will be sent to Ollama. |
| $strings | array | Array of text we are getting embeddings for. |
Since
- 3.3.0
Source
Defined in includes/Classifai/Providers/Localhost/OllamaEmbeddings.php at line 1138
Returns
Request body.