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
AgentEmailDecision
Bases: StrEnum
Semantic decisions allowed from EmailClassifier.
EmailClassifierResult
Bases: BaseModel
Semantically admitted result assembled from validated agent 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.