Filter: classifai_ollama_ocr_processing_request_body

apply_filters( 'classifai_ollama_ocr_processing_request_body', $body, $attachment_id ) → {array}

Filter the request body before sending to Ollama.

Parameters:
Name Type Description
$body array

Request body that will be sent to Ollama.

$attachment_id int

ID of attachment.

Since:
  • 3.3.0
Source:
Returns:

Request body.

Type
array