Upload Document
Upload a document to Nanonets OCR for processing
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPLOAD_DOCUMENT])
Get OCR Results
Retrieve the results of a completed OCR process
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_OCR_RESULTS])
Create Model
Create a new OCR model in Nanonets
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_MODEL])
Train Model
Train an existing OCR model with new data
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRAIN_MODEL])
Delete Model
Remove an OCR model from Nanonets
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_MODEL])
List Models
Get a list of all OCR models in your Nanonets account
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_MODELS])
Update Model
Modify an existing OCR model's parameters or settings
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_MODEL])
Predict Using Model
Use a specific model to perform OCR on a document
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PREDICT_USING_MODEL])
Batch Process
Process multiple documents in a single OCR request
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BATCH_PROCESS])
Get Processing Status
Check the status of an ongoing OCR processing task
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_PROCESSING_STATUS])
Export Results
Export OCR results in various formats (CSV, JSON, etc.)
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXPORT_RESULTS])
Set API Key
Configure the API key for accessing Nanonets OCR services
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_API_KEY])
OCR Completed
Triggered when an OCR process is finished
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.OCR_COMPLETED])
Model Training Completed
Triggered when a model finishes training
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MODEL_TRAINING_COMPLETED])
New Model Created
Triggered when a new OCR model is created
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MODEL_CREATED])
Model Deleted
Triggered when an OCR model is deleted
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MODEL_DELETED])
Processing Error
Triggered when an error occurs during OCR processing
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PROCESSING_ERROR])
Quota Exceeded
Triggered when the OCR usage quota is exceeded
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.QUOTA_EXCEEDED])
New Document Uploaded
Triggered when a new document is uploaded for OCR
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_DOCUMENT_UPLOADED])
Batch Processing Completed
Triggered when a batch OCR process is finished
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BATCH_PROCESSING_COMPLETED])
API Key Changed
Triggered when the API key for Nanonets OCR is updated
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.API_KEY_CHANGED])
Low Confidence Results
Triggered when OCR results have low confidence scores
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LOW_CONFIDENCE_RESULTS])
New Feature Available
Triggered when Nanonets adds a new OCR feature
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_FEATURE_AVAILABLE])
Account Status Change
Triggered when there's a change in the account status
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ACCOUNT_STATUS_CHANGE])
Scheduled Maintenance
Triggered when scheduled maintenance is announced
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULED_MAINTENANCE])
Data Export Completed
Triggered when an export of OCR results is completed
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DATA_EXPORT_COMPLETED])