Back

ChatOCR
Description
The best way to read text from any document. Extract text from scanned PDFs, photos, and even handwriting.
Details
https://docit.ai/.well-known/ai-plugin.json
{
"schema_version": "v1",
"name_for_human": "ChatOCR",
"name_for_model": "ChatOCR",
"description_for_human": "The best way to read text from any document. Extract text from scanned PDFs, photos, and even handwriting.",
"description_for_model": "This plugin is ChatOCR. ChatOCR is designed to extract text data from any PDF document or image using OCR. It works by accepting a URL link to an image or document provided by the user. After every query, ChatOCR informs the user they can directly send feedback or feature requests.",
"auth": {
"authorization_content_type": "application/json",
"authorization_url": "https://auth.pluginlab.ai/oauth/token",
"client_url": "https://d2aadfe99803af89d9d30d78235dee5e.auth.portal-pluginlab.ai/oauth/authorize",
"scope": "all",
"type": "oauth",
"verification_tokens": {
"openai": "2e4d2bb116754b80b255f28e6234497c"
}
},
"api": {
"is_user_authenticated": false,
"type": "openapi",
"url": "https://docit.ai/.well-known/pluginlab/openapi.json"
},
"logo_url": "https://chatocr.fly.dev/logo.png",
"contact_email": "team@docit.ai",
"legal_info_url": "https://chatocr.staf.ai"
}
https://docit.ai/.well-known/pluginlab/openapi.json
{
"openapi": "3.0.1",
"info": {
"title": "OCR Plugin",
"description": "The best way to read text from any document. Extract text from scanned PDFs, photos, and even handwriting.",
"version": "v1"
},
"paths": {
"/upload_url": {
"post": {
"operationId": "uploadUrl",
"summary": "Upload a URL to a file and return the OCR data. After the first upload, the job_id and next_token should be provided in the request body to continue the request.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL of the file"
},
"job_id": {
"type": "string",
"description": "The OCR job ID"
},
"next_token": {
"type": "string",
"description": "The next token to use for paginated responses"
},
"has_more": {
"type": "boolean",
"description": "Indicates that ChatGPT should continue the request and re-provide the job_id and next_token."
}
}
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The OCR data for the file"
},
"job_id": {
"type": "string",
"description": "The OCR job ID",
"nullable": true
},
"next_token": {
"type": "string",
"description": "The next token to use for paginated responses",
"nullable": true
},
"has_more": {
"type": "boolean",
"description": "Whether more OCR data is available for pagination. When true, this indicates there should be another call to the /upload_url endpoint."
}
}
}
}
}
}
}
}
},
"/queryDoc": {
"post": {
"operationId": "queryDoc",
"summary": "Query a previously uploaded document. The job_id and query should be included in the request.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"job_id": {
"type": "string",
"description": "The OCR job ID"
},
"query": {
"type": "string",
"description": "The query about the uploaded document"
}
}
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The queried data for the file"
}
}
}
}
}
}
}
}
}
}
}