Building a University Career Guidance Platform: Architecture, Knowledge Graphs, and LLM Integration
A technical guide for university IT leaders and engineering teams designing an integrated career guidance platform. Learn how to structure its four architectural layers, build and govern a career knowledge graph, calculate skill-to-role fit, and combine validated assessments with LLM-generated advice while managing quality, reliability, and student privacy.
1. Introduction: What This Guide Covers
University career guidance must serve large student populations with widely varying needs. Traditional approaches often depend on an advisor’s experience or a single questionnaire, producing a static report with limited follow-up.
This guide explains how to design an integrated platform, build a career knowledge graph, generate advice with large language models (LLMs), and identify key checks before deployment. It is intended for university IT leaders and technical teams.
By the end, readers should understand:
- What each platform layer is responsible for.
- Where knowledge graph data comes from and how to validate it.
- How to control the quality and privacy risks of LLM-generated advice.
2. Platform Architecture
The platform typically has four layers: infrastructure, data platform, algorithm services, and business applications. Well-defined interfaces between layers keep model implementations separate from business logic.
2.1 Infrastructure Layer
Infrastructure can run on a cloud provider’s container services or in a university-operated data center. Container platforms and virtual machines have different operational trade-offs.
| Dimension | Container platforms | Virtual machines |
|---|---|---|
| Scaling speed | Faster; suitable for short traffic spikes | Slower; requires booting a complete operating system |
| Resource utilization | Generally higher | Generally lower |
| Operational requirements | Requires container and orchestration expertise | Established operating model with a lower entry barrier |
| Suitable workloads | Microservices and elastic workloads | Legacy systems and workloads requiring strong isolation |
Capacity planning should account for peaks during course registration or institution-wide assessments.
For example, consider a university with 30,000 students. If 12,000 students submit assessments within 30 minutes, and each generates an average of 20 requests, the estimated request rate is:
12,000 × 20 ÷ 1,800 ≈ 133 QPS
Allowing roughly three times that capacity gives a planning target of approximately 400 queries per second (QPS).
The core assessment service could target 99.9% availability, equivalent to approximately 43 minutes of permitted downtime per month.
Object storage holds unstructured data such as assessment questionnaires and student resume attachments. A relational database combined with a distributed cache supports core business data consistency and read/write performance.
2.2 Data Platform Layer
The data platform consolidates, cleans, and standardizes data. Instrumentation events and behavioral data are written asynchronously through a message queue to avoid slowing online services.
Data from multiple sources is integrated in a data lakehouse to provide model features.
Data quality checks should use measurable indicators, including:
- Field completeness.
- Duplicate-record rates.
- Outlier rates.
Generate daily quality reports and trigger alerts when metrics fall outside expected ranges.
2.3 Algorithm Services Layer
This layer exposes career assessment models and deep learning inference engines as services through RESTful APIs or gRPC interfaces.
Business applications depend on these interfaces rather than internal model implementations. Models can therefore be upgraded without changing business code.
Each model service should have:
- Timeouts to prevent slow inference from blocking the system.
- Rate limits to keep one service from overwhelming the platform.
- Version identifiers to support rollback.
2.4 Business Application Layer
Applications serve three user groups:
- Students: Self-service assessments, intelligent question answering, and career path planning.
- Advisors and faculty: Report interpretation and support for individual advising.
- Administrators: Dashboards and trend analysis to inform resource allocation.
3. Building and Governing a Career Knowledge Graph
A career knowledge graph organizes fragmented occupational information into a structured network. It provides background knowledge for more targeted recommendations.
3.1 Entities and Relationships
Core entities include academic majors, skills, job roles, industries, and competencies.
Key relationships describe:
- The skills required for a role.
- The competencies developed by an academic major.
- Transitions between job roles.
The following simplified schema illustrates node and edge properties:
Node Job: {id, name, industry_code, update_time}Node Skill: {id, name, category, aliases[]}Edge REQUIRES:(Job)-[REQUIRES {weight, required_level}]->(Skill)Edge DEVELOPS:(Major)-[DEVELOPS {weight}]->(Competency)Edge CAREER_PATH:(Job)-[CAREER_PATH {transition_prob}]->(Job)
3.2 Data Collection and Integration
Prefer licensed recruitment data or official APIs. If collecting data from web pages is necessary, comply with the target website’s robots.txt directives and terms of service, control request frequency, and record the source and authorization basis.
Collect only necessary fields, such as job descriptions and skill requirements. Do not collect personal information from recruitment sources.
Internal curriculum and graduate employment data should be integrated only after university data security approval and used according to the minimum-necessary principle.
Entity resolution is a common governance challenge. For example, “Java developer” and “Java engineer” may refer to the same category of role.
A practical workflow is to:
- Perform exact matching against an alias table.
- Use text embedding similarity to identify additional candidates.
- Send candidates above a defined similarity threshold for human review.
- Feed confirmed results back into the alias table.
3.3 Graph Queries and Fit Scoring
Shortest-path distance and fit score are different measures.
A shortest path indicates how many steps connect a student’s current capabilities to a target role. A fit score measures how closely the student’s current skills meet that role’s requirements and must be calculated separately.
A weighted formula is:
Fit score = Σ(wᵢ × min(sᵢ / rᵢ, 1)) ÷ Σwᵢ
Where:
rᵢis the required proficiency level for skilli.sᵢis the student’s current proficiency.wᵢis the importance weight of that skill.
Meeting a requirement earns full credit for that skill. Exceeding it does not earn additional credit.
For example, suppose a role requires:
| Skill | Required proficiency | Weight | Student proficiency |
|---|---|---|---|
| Python | 0.9 | 0.5 | 0.8 |
| Front-end frameworks | 0.8 | 0.3 | No record |
| Communication | 0.6 | 0.2 | 0.4 |
The calculation is:
- Python:
min(0.8 / 0.9, 1) ≈ 0.889; weighted contribution ≈0.444. - Front-end frameworks: No recorded proficiency is scored as
0; weighted contribution =0. - Communication:
min(0.4 / 0.6, 1) ≈ 0.667; weighted contribution ≈0.133.
The total fit score is approximately 0.58. Under this scoring approach, front-end frameworks represent the largest recorded gap and should be prioritized for development.
4. Combining Assessment Models with LLMs
The platform starts with established career assessment models, then combines them with LLMs and deep neural networks to turn assessment scores into understandable guidance.
4.1 Quantifying Student Profiles with Assessment Models
Career assessments use psychometric scales to quantify interests, personality traits, and work values. The results can be displayed as multidimensional radar charts and form the foundation of a student profile.
Before using a scale:
- Confirm that it is licensed for the intended use.
- Report its reliability and validity.
- Verify that normative data is available for the relevant population.
Cronbach’s alpha of at least 0.7 is commonly used as a basic reference for internal consistency. Relevant population norms are also necessary to interpret scores.
Reports must explain the limits of interpretation. A high interest score does not establish that a student is suited to a particular major; it is only one input to a broader decision.
4.2 LLM-Assisted Interpretation and Recommendations
Traditional assessment systems often produce fixed text interpretations. An LLM can combine assessment results, academic background, and career paths from the knowledge graph to generate personalized advice.
LLMs are useful for processing unstructured text and expressing complex findings as accessible development recommendations. However, they can also generate unsupported or incorrect statements, commonly called hallucinations.
Three controls are important:
- Ground responses in graph data. Supply relevant knowledge graph content as context and instruct the model to answer only from the provided information.
- Validate outputs with rules. Check whether details such as job titles and salary ranges agree with the graph.
- Retain human review. Provide an advisor review workflow and require human confirmation for high-risk recommendations.
An example acceptance target is at least 95% consistency between generated advice and the knowledge graph. The actual threshold should be determined through testing on real samples. Advisor satisfaction and adoption rates from sampled reviews should also be tracked regularly.
Student profiles contain personal information. Before sending data to an external model, transmit only necessary fields and de-identify the data. A data processing agreement with the provider should specify that student data will not be used for model training unless the student separately consents.
4.3 Example API Call
The following example calls an LLM to generate career advice. Credentials are loaded from environment variables rather than embedded in source code or committed to a repository.
Any student data used with this demonstration should be fictional and de-identified.
import osimport jsonimport requestsAPI_URL = os.environ["LLM_API_URL"]API_KEY = os.environ["LLM_API_KEY"] # Load from environment variables or a secrets manager; never commit credentials.def generate_career_advice(student_profile: dict, career_graph_data: dict) -> str:prompt = ("You are an experienced university career advisor.\n""Using only the data below, write at least 300 words of career development advice, ""covering strengths, gaps, and a development path. ""If the data does not support a conclusion, explicitly state that it cannot be determined.\n"f"Student profile (fictional, de-identified data): {json.dumps(student_profile, ensure_ascii=False)}\n"f"Target career graph data: {json.dumps(career_graph_data, ensure_ascii=False)}")headers = {"Content-Type": "application/json","Authorization": f"Bearer {API_KEY}",}payload = {"prompt": prompt, "max_tokens": 800, "temperature": 0.7}body = json.dumps(payload, ensure_ascii=False).encode("utf-8")for attempt in range(2): # Retry once for rate limits and selected server errors.try:resp = requests.post(API_URL, headers=headers, data=body, timeout=10)if resp.status_code in (429, 500, 502, 503):continueresp.raise_for_status()# Response formats vary by provider; follow the relevant API documentation.return resp.json()["choices"][0]["text"].strip()except (requests.RequestException, KeyError, IndexError, ValueError):breakreturn "Unable to generate advice. Please try again later."# Any example student data must be fictional and de-identified.
