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. |
| $text | string | Text we are getting embeddings for. |
Since
- 3.3.0
Source
- Defined in
includes/Classifai/Providers/Localhost/OllamaEmbeddings.phpat line 1068 - Defined in
includes/Classifai/Providers/Localhost/OllamaEmbeddings.phpat line 1142
Returns
Request body.