SocResponse

data_models.response_model.SocResponse()

Represents a response model for SOC code assignment.

Attributes

Name Type Description
codable bool True if enough information is provided to decide SOC code, False otherwise.
followup Optional[str] Question to ask the user in order to collect additional information to enable reliable SOC assignment. Empty if codable=True.
soc_code Optional[str] Full four-digit SOC code assigned based on provided job title, description, etc. Empty if codable=False.
soc_descriptive Optional[str] Descriptive label of the SOC category associated with soc_code if provided. Empty if codable=False.
soc_candidates List[SocCandidate] List of possible or alternative SOC codes that may be applicable with their descriptive label and estimated likelihood.
soc_code_2digits Optional[str] First two digits of the hierarchical SOC code assigned. This field should be non-empty if the larger (two-digit) group of SOC codes can be determined even in cases where additional information is needed to code to four digits (for example when all SOC candidates share the same first two digits).
reasoning str Step by step reasoning behind classification selected. Specifies the information used to assign the SOC code or any additional information required to assign a SOC code.