DOC (Qoqon) icon

DOC (Qoqon)

Work with DOC: files, folders, semantic search, embeddings

Document Chat

AI-generated

Summary

Send a message to a document for asynchronous chat

Inputs

  • fileId (required) — Identifier of the document file to which the message is sent.
  • content (required) — Message text to send to the document chat endpoint.

Output shape

array of item objects containing the chat response JSON

If an error occurs and continueOnFail is disabled, an error object may be thrown; otherwise errors are returned as a JSON object with an 'error' field.

Examples

Example 1: Add a comment to a PDF file

Operation set to Document Chat with required fileId and content parameters.

Links

Discussion