Page Internal
AI Pedant Document Service API (proto file)
This document describes the gRPC API defined in the document_service.proto file for document-related internal communication functionalities.
Dependencies
google/protobuf/empty.proto: Used for empty response messages.common.proto: Defines shared message types used across other services.
Services
The PageInternalService offers gRPC methods for managing document pages and line items.
Functions:
SubmitPages: Submits multiple pages.
SubmitLineItems: Submits line items.
Messages
SubmitOnePage:
uuid: Unique identifier of the page.status: Status of the page.width: Width of the page.height: Height of the page.data: Data of the page.
SubmitPagesRequest:
type: Type of document.pages: List of pages to be submitted.
SubmitLineItemsRequest:
uuid: Unique identifier.table_list: List of tables.
TableList:
cells: List of cells in the table.
Cell:
box: Bounding box coordinates.text: Text content of the cell.start_row: Start row index.end_row: End row index.start_column: Start column index.end_column: End column index.column_type: Type of column.