Spaces:
Running
Running
| from pydantic import BaseModel, Field, conint | |
| from typing import Literal, List | |
| #===================== Duplicate concepts ===================== | |
| class InnovationClassify(BaseModel): | |
| classification: Literal["INSUFFICIENT INFO","NOT INNOVATIVE", "MODERATELY INNOVATIVE", "VERY INNOVATIVE"] = Field( | |
| description="Overall innovation level using the rubric." | |
| ) | |
| rationale: str = Field( | |
| description="1–2 sentences that justify the classification." | |
| ) | |
| confidence: int = Field( | |
| description="0–100 confidence in the classification given the detail level in the concept." | |
| ) | |