RagResponse
data_models.response_model.RagResponse()
Represents a response model for classification code assignment.
Attributes
Name | Type | Description |
---|---|---|
codable | bool | True if enough information is provided to decide classification code, False otherwise. |
followup | Optional[str] | Question to ask user in order to collect additional information to enable reliable classification assignment. Empty if codable=True. |
class_code | Optional[str] | Full classification code (to the required number of digits) assigned based on provided respondent’s data. Empty if codable=False. |
class_descriptive | Optional[str] | Descriptive label of the classification category associated with class_code if provided. Empty if codable=False. |
alt_candidates | List[RagCandidate] | Short list of less than ten possible or alternative classification codes that may be applicable with their descriptive label and estimated likelihood. |
reasoning | str | Step by step reasoning behind the classification selected. Specifies the information used to assign the SIC code or any additional information required to assign a SIC code. |