AnnoLab SDK
Python SDK to interact with AnnoLab
Installing via pip
pip install annolabUsing the sdk
from annolab import Annolab
lab = AnnoLab(api_key='YOUR_API_KEY')Using the sdk to upload pdf source
project = lab.find_project('My Project')project.create_pdf_source(
file='/path/to/file',
name='custom_name.pdf',
directory='Uploads',
ocr=True,
ocrProvider='textract_plus', # textract_plus is the same as "Annolab" OCR
)Using the sdk to upload pdf source and trigger an AI workflow
Last updated
Was this helpful?