Files
invoice-master-poc-v2/packages/inference/inference/web/schemas/labeling.py
2026-01-27 23:58:17 +01:00

14 lines
311 B
Python

"""
Labeling API Schemas
Pydantic models for pre-labeling and label validation endpoints.
"""
from pydantic import BaseModel, Field
class PreLabelResponse(BaseModel):
"""API response for pre-label endpoint."""
document_id: str = Field(..., description="Document identifier for retrieving results")