Kimiyi Update Document Retrain icon

Kimiyi Update Document Retrain

Update an existing document in Kimiyi AI and retrain the model

Kimiyi Update Document Retrain

AI-generated

Summary

Update an existing document hosted on a supported cloud storage platform in the Kimiyi AI system and trigger a retraining of the AI model using that updated document.

Inputs

  • environment (required) — Select the Kimiyi API environment: Production or Development.
  • platform (required) — Choose the cloud storage platform where the document is hosted: Dropbox, Google Drive, or OneDrive.
  • doc_link (required) — Provide the shareable URL link to the document to be updated.
  • file_name (required) — Specify the name of the file including its extension (e.g., document.pdf).
  • file_type (required) — Provide the MIME type of the file (e.g., application/pdf).
  • file_size (required) — Enter the file size in bytes as a positive number.

Output shape

a list of JSON objects with the API response for each processed document input item

Requests are sent for each input item separately. The response includes the outcome of the update and retrain operation for the document. In case of failure, the error details are included if 'Continue On Fail' is enabled, otherwise an error is thrown.

Links

Discussion