Registers or updates an AI model backend (segmentation, NLP de-identification, OCR, or embedding extraction) in the session registry.
Arguments
- name
Unique backend identifier (e.g.,
"totalsegmentator","medsam2","presidio").- task
Task category:
"segmentation","nlp_deid","ocr", or"embedding".- mode
Execution mode:
"offline"(deterministic local engine) or"rest"(HTTP endpoint viahttr2).- endpoint
Base URL or local URI for the backend.
- predict_fn
Optional custom
function(input, backend, ...)override.- headers
Optional named character vector of HTTP headers.
