Files
xiaoxia-saas/apps/api/app/schemas/classification_job.py
T
Xiaoxia AI c7d4f21f3d
Deploy / Deploy Staging (push) Failing after 7s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 17s
Tests / lint (push) Failing after 16s
feat(phase7): add asset classification workflow
2026-06-17 18:29:48 +08:00

19 lines
433 B
Python

from pydantic import BaseModel, Field
class SubmitClassificationJobRequest(BaseModel):
workspace_id: str = Field(..., min_length=1)
project_id: str = Field(..., min_length=1)
asset_id: str = Field(..., min_length=1)
class ClassificationJobResponse(BaseModel):
id: str
workspace_id: str
project_id: str
asset_id: str
status: str
classification: str
confidence: float
error_message: str