AnnoLab SDK
Python SDK to interact with AnnoLab
AnnoLab has a python SDK to improve the experience of performing certain AnnoLab actions. We highly recommend using this SDK for things like uploading files, as it greatly speeds uploads and simplifies the experience.
Installing via pip
Using the sdk
To get started, ensure you have an annolab account at https://app.annolab.ai/signup and have created an API Key. Instructions for creating an API Key may be found at https://docs.annolab.ai/.
Create an instance of the SDK passing your api_key.
Using the sdk to upload pdf source
For pdf uploads to work, the user associated with your api key must have permissions to edit sources on your project. Permissions can be modified by admins on the appropriate project details page found under https://app.annolab.ai/projects
Obtain the project
Upload from a local file system to a specific directory in your project. OCR the pdf using annolab OCR
Using the sdk to upload pdf source and trigger an AI workflow
For pdf uploads invoking workflows to work, the user associated with your api key must have permissions to edit sources on your project and must have the ability to "run" machine learning models on your project.
Obtain the project
Upload from a local file system to a specific directory in your project. Use the OCR provider and suite of ML models specified by a workflow
Last updated