Skip to contents

Tries the JSON text endpoint (POST /api/v1/comparisons/text, available on the upstream RegCheck server); if the server does not have it (the local ollama fork), falls back to the multipart endpoint (POST /api/v1/comparisons) with the texts uploaded as .txt files.

Usage

.regcheck_submit(
  url,
  api_token,
  paper_text,
  prereg_text = NULL,
  registration_id = NULL,
  client = "ollama",
  dimensions = NULL,
  reasoning_effort = "medium"
)

Arguments

url

base URL (no trailing slash)

api_token

the RegCheck API token

paper_text, prereg_text, registration_id, client, dimensions, reasoning_effort

see regcheck_compare()

Value

the parsed creation response (list with task_id, status_url)