Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

Removed OCR from public_tools.json

Chandrasekharan Mb7a3ed6302e6
diff --git a/unstract/tool-registry/src/unstract/tool_registry/public_tools.json b/unstract/tool-registry/src/unstract/tool_registry/public_tools.json
index 0e9a215dc..2a8fde7fa 100644
--- a/unstract/tool-registry/src/unstract/tool_registry/public_tools.json
+++ b/unstract/tool-registry/src/unstract/tool_registry/public_tools.json
@@ -337,106 +337,5 @@
"image_url": "docker:unstract/tool-text-extractor:0.0.2",
"image_name": "unstract/tool-text-extractor",
"image_tag": "0.0.2"
- },
- "ocr": {
- "tool_uid": "ocr",
- "properties": {
- "schemaVersion": "0.0.1",
- "displayName": "OCR",
- "functionName": "ocr",
- "toolVersion": "0.0.1",
- "description": "This is tool which can be used to extract text from images. Perform OCR operations on images.",
- "input": {
- "description": "The file on which OCR operation is to be performed"
- },
- "output": {
- "description": "Places the file into a folder (bin) that its OCR operation performed into."
- },
- "result": {
- "type": "JSON",
- "description": "JSON response containing the bin to which the file was classified into",
- "schema": {}
- },
- "adapter": {
- "ocrs": [
- {
- "isEnabled": true,
- "adapterId": "ocrAdapterId",
- "title": "OCR to use",
- "isRequired": true,
- "description": "OCR used to extract text from images"
- }
- ]
- },
- "ioCompatibility": {
- "api": {
- "sourceSupport": true,
- "destinationSupport": true,
- "additionalArgs": {
- "sync": true
- }
- },
- "file": {
- "sourceSupport": true,
- "destinationSupport": true,
- "additionalArgs": {}
- },
- "db": {
- "destinationSupport": true,
- "additionalArgs": {}
- }
- },
- "restrictions": {
- "maxFileSize": "10MB",
- "allowedFileTypes": [
- "jpeg",
- "png",
- "tiff",
- "bmp",
- "gif",
- "webp",
- "pdf"
- ]
- }
- },
- "spec": {
- "title": "OCR Tool",
- "description": "Setup the OCR tool",
- "type": "object",
- "required": [],
- "properties": {
- "useCache": {
- "type": "boolean",
- "title": "Cache and use cached results",
- "default": true,
- "description": "Use cached results"
- }
- }
- },
- "variables": {
- "title": "Runtime Variables",
- "description": "Runtime Variables for ocr",
- "type": "object",
- "required": [
- "GOOGLE_SERVICE_ACCOUNT",
- "GOOGLE_DOCUMENT_AI_ENDPOINT"
- ],
- "properties": {
- "GOOGLE_SERVICE_ACCOUNT": {
- "type": "string",
- "title": "Google Service Account",
- "description": "Google Service account"
- },
- "GOOGLE_DOCUMENT_AI_ENDPOINT": {
- "type": "string",
- "title": "Google Document API Base URL",
- "description": "The base URL for the Google Document service"
- }
- }
- },
- "icon": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<svg\n enable-background=\"new 0 0 20 20\"\n height=\"48\"\n viewBox=\"0 0 20 20\"\n width=\"48\"\n fill=\"#000000\"\n version=\"1.1\"\n id=\"svg8109\"\n sodipodi:docname=\"folder_copy_black_48dp.svg\"\n xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:svg=\"http://www.w3.org/2000/svg\">\n <defs\n id=\"defs8113\" />\n <sodipodi:namedview\n id=\"namedview8111\"\n pagecolor=\"#ffffff\"\n bordercolor=\"#000000\"\n borderopacity=\"0.25\"\n inkscape:showpageshadow=\"2\"\n inkscape:pageopacity=\"0.0\"\n inkscape:pagecheckerboard=\"0\"\n inkscape:deskcolor=\"#d1d1d1\"\n showgrid=\"false\" />\n <g\n id=\"g8099\">\n <rect\n fill=\"none\"\n height=\"20\"\n width=\"20\"\n x=\"0\"\n id=\"rect8097\"\n y=\"0\" />\n </g>\n <g\n id=\"g8107\"\n style=\"fill:#ff4d6d;fill-opacity:1\">\n <g\n id=\"g8105\"\n style=\"fill:#ff4d6d;fill-opacity:1\">\n <path\n d=\"M 2.5,5 H 1 V 15.5 C 1,16.33 1.67,17 2.5,17 H 15.68 V 15.5 H 2.5 Z\"\n id=\"path8101\"\n style=\"fill:#ff4d6d;fill-opacity:1\" />\n <path\n d=\"M 16.5,4 H 11 L 9,2 H 5.5 C 4.67,2 4,2.67 4,3.5 v 9 C 4,13.33 4.67,14 5.5,14 h 11 c 0.83,0 1.5,-0.67 1.5,-1.5 v -7 C 18,4.67 17.33,4 16.5,4 Z m 0,8.5 h -11 v -9 h 2.88 l 2,2 h 6.12 z\"\n id=\"path8103\"\n style=\"fill:#ff4d6d;fill-opacity:1\" />\n </g>\n </g>\n</svg>\n",
- "image_url": "docker:unstract/tool-ocr:0.0.1",
- "image_name": "unstract/tool-ocr",
- "image_tag": "0.0.1"
}
}