Improved datamodel and deterministic generation
This commit is contained in:
parent
973d4bbe7c
commit
26e87ab52c
14 changed files with 848 additions and 39 deletions
|
|
@ -495,6 +495,8 @@ class CandidateFeatureResponse(BaseModel):
|
|||
id: int
|
||||
name: str
|
||||
type: str
|
||||
primary_class: str
|
||||
attributes: list[str]
|
||||
location: str
|
||||
confidence: float
|
||||
status: str
|
||||
|
|
@ -508,6 +510,8 @@ class CandidateCapabilityResponse(BaseModel):
|
|||
description: str
|
||||
inputs: list[str]
|
||||
outputs: list[str]
|
||||
primary_class: str
|
||||
attributes: list[str]
|
||||
confidence: float
|
||||
status: str
|
||||
source_refs: list[SourceReferenceResponse]
|
||||
|
|
@ -520,6 +524,8 @@ class CandidateAbilityResponse(BaseModel):
|
|||
id: int
|
||||
name: str
|
||||
description: str
|
||||
primary_class: str
|
||||
attributes: list[str]
|
||||
confidence: float
|
||||
status: str
|
||||
source_refs: list[SourceReferenceResponse]
|
||||
|
|
@ -689,6 +695,8 @@ class FeatureResponse(BaseModel):
|
|||
id: int
|
||||
name: str
|
||||
type: str
|
||||
primary_class: str
|
||||
attributes: list[str]
|
||||
location: str
|
||||
confidence: float
|
||||
confidence_label: str
|
||||
|
|
@ -701,6 +709,8 @@ class CapabilityResponse(BaseModel):
|
|||
description: str
|
||||
inputs: list[str]
|
||||
outputs: list[str]
|
||||
primary_class: str
|
||||
attributes: list[str]
|
||||
confidence: float
|
||||
confidence_label: str
|
||||
features: list[FeatureResponse]
|
||||
|
|
@ -711,6 +721,8 @@ class AbilityResponse(BaseModel):
|
|||
id: int
|
||||
name: str
|
||||
description: str
|
||||
primary_class: str
|
||||
attributes: list[str]
|
||||
confidence: float
|
||||
confidence_label: str
|
||||
capabilities: list[CapabilityResponse]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue