Filter: classifai_azure_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. |
| $text | string | Text we are getting embeddings for. |
Since
- 3.1.0
Source
- Defined in
includes/Classifai/Providers/Azure/Embeddings.phpat line 994 - Defined in
includes/Classifai/Providers/Azure/Embeddings.phpat line 1078
Returns
Request body.