apply_filters( 'classifai_azure_openai_embeddings_request_body', $body, $text ) → {array}
Filter the request body before sending to OpenAI.
Parameters:
Name | Type | Description |
---|---|---|
$body |
array | Request body that will be sent to OpenAI. |
$text |
string | Text we are getting embeddings for. |
- Since:
- 3.1.0
- Source:
Returns:
Request body.
- Type
- array