分析时间:2026-05-09
样本范围:技术部 45 人
| 维度 | 评分 | 趋势 |
|---|---|---|
| 薪酬竞争力 | 72/100 | ↓ -5 |
| 晋升通道清晰度 | 58/100 | ↓ -12 |
| 工作负荷 | 81/100 | → 0 |
// 流失风险预测模型
function predictRisk(employee) {
const factors = {
performance: employee.recentPerf,
tenure: employee.years,
satisfaction: employee.surveyScore,
marketComp: employee.salaryRatio
};
const weights = {
performance: 0.35,
satisfaction: 0.30,
marketComp: 0.25,
tenure: 0.10
};
let risk = 0;
for (const key in factors) {
risk += (1 - factors[key]) * weights[key];
}
return {
score: Math.round(risk * 100),
level: risk > 0.7 ? 'high' : risk > 0.4 ? 'medium' : 'low'
};
}
from aihr import AgentClient
client = AgentClient(api_key="your-api-key")
agent = client.get_agent("hr-assistant-v1")
response = agent.chat(
message="帮我生成一份技术岗位的JD",
context={"department": "技术部", "level": "P6"}
)
print(response.content)
<script src="https://aihr.example.com/widget.js"></script>
<script>
AIHRWidget.init({
agentId: 'hr-assistant-v1',
position: 'right',
theme: 'light',
welcomeMessage: '你好,我是HR助手'
});
</script>
| 模型名称 | 提供商 | 状态 | API 配额 | 操作 |
|---|