Spaces:
Sleeping
Sleeping
| """Text responses model""" | |
| from typing import List, Dict | |
| from dataclasses import dataclass | |
| class TextResponses: | |
| student_id: str | |
| text_q1: str # Strengths | |
| text_q2: str # Career interests | |
| text_q3: str # Extracurriculars + leadership | |
| def to_dict(self): | |
| return { | |
| 'student_id': self.student_id, | |
| 'text_q1': self.text_q1, | |
| 'text_q2': self.text_q2, | |
| 'text_q3': self.text_q3 | |
| } | |
| def get_questions() -> List[Dict[str, str]]: | |
| """Return the 3 textual questions""" | |
| return [ | |
| { | |
| "id": "text_q1", | |
| "text": "What are your key strengths and technical skills? (150-300 words)", | |
| "placeholder": "Describe your technical skills, soft skills, and what makes you stand out..." | |
| }, | |
| { | |
| "id": "text_q2", | |
| "text": "What are your career interests and goals? (150-300 words)", | |
| "placeholder": "Describe your ideal career path, industries of interest, and long-term goals..." | |
| }, | |
| { | |
| "id": "text_q3", | |
| "text": "Describe your extracurricular activities and leadership experiences. (150-300 words)", | |
| "placeholder": "Share your involvement in clubs, projects, leadership roles, and impact..." | |
| } | |
| ] | |