Document Parsing - quickstart
Document Parsing - quickstart
About the Parse API
Cohere’s Parse model converts unstructured enterprise documents (PDFs, images, slides) into structured Markdown output. It extracts text, tables, lists, forms, images, captions, and bounding box coordinates.
This quickstart guide shows you how to parse a document image with the Parse endpoint.
Setup
First, install the Cohere Python SDK with the following command.
Next, import the library and create a client.
Cohere Platform
Private Deployment
SageMaker
PYTHON
Prepare the Document
Parse accepts documents as base64-encoded data URIs. Convert your image to a data URI.
PYTHON