solutions_agents.workflows.classification.schemas
Agents-private classification artifacts and shared Core re-exports.
Solutions Core owns the exact Backend/Agents request, context, and terminal result. This module owns only the semantic hypotheses and admitted output that exist inside EmailClassifier and re-exports the shared types for compatibility.
Classes
AgentSemanticDecision
Bases: StrEnum
Semantic decisions allowed from source specialist classifiers.
EmailClassifierResult
Bases: BaseModel
Semantically admitted result assembled from validated agent artifacts.
PlatformClassifierResult
Bases: BaseModel
Semantically admitted result assembled from validated Platform artifacts.
RelationshipHypothesis
Bases: StrEnum
Non-authoritative relationship proposed before identity resolution.
Functions
agent_score
agent_score(percent: int) -> DecimalConvert a validated integer percent to an exact Core-compatible score.
core_facts
core_facts(classification: EmailClassification, operational: bool) -> ClassificationFactsBuild admitted facts from one deterministic Core classification.
platform_facts
platform_facts(classification: PlatformClassification) -> ClassificationFactsBuild admitted facts from one deterministic Platform classification.