Spaces:
Sleeping
Sleeping
File size: 621 Bytes
4fbb7a3 bc92a1b 4fbb7a3 bc92a1b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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."
)
|