restructure project
This commit is contained in:
13
packages/inference/inference/web/schemas/labeling.py
Normal file
13
packages/inference/inference/web/schemas/labeling.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
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")
|
||||
Reference in New Issue
Block a user