Filter: classifai_openai_embeddings_request_body
Filter the request body before sending to OpenAI.
Parameters
Name | Type | Description |
---|---|---|
$body | array | Request body that will be sent to OpenAI. |
$strings | array | Array of text we are getting embeddings for. |
Since
- 2.2.0
Source
Defined in includes/Classifai/Providers/OpenAI/Embeddings.php
at line 1554
Returns
Request body.