14 lines
311 B
Python
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")
|