候选人AI面试分析
This commit is contained in:
@@ -79,6 +79,9 @@ public class ChatGPTClient {
|
||||
@Value("${chatGpt.modelRLinkAl_1}")
|
||||
private String modelRLinkAl_1;
|
||||
|
||||
@Value("${chatGpt.modelAiIntPf}")
|
||||
private String modelAiIntPf;
|
||||
|
||||
@Value("${chatGpt.role}")
|
||||
private String role;
|
||||
|
||||
@@ -140,6 +143,9 @@ public class ChatGPTClient {
|
||||
}else if("RLINKAL_1".equals(type)){
|
||||
//招聘链接信息分析补全-第二阶段
|
||||
resultText = sendMessage(promptText, modelRLinkAl_1,objectMapper,client,role);
|
||||
}else if("AIINTPF".equals(type)){
|
||||
//候选人AI面试分析
|
||||
resultText = sendMessage(promptText, modelAiIntPf,objectMapper,client,role);
|
||||
}else {
|
||||
resultText = sendMessage(promptText, modelQuestion,objectMapper,client,role);
|
||||
}
|
||||
|
||||
@@ -2077,4 +2077,204 @@ public class AiCommonPromptConstants {
|
||||
return promptStr;
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化AI生成问题提示词
|
||||
* @return
|
||||
*/
|
||||
public static String initializationCandidateAiInterviewAnalysisPrompt(){
|
||||
String promptStr = "# AI Interview Analysis Prompt\n" +
|
||||
"\n" +
|
||||
"## Role Definition\n" +
|
||||
"You are a professional AI interview analyst specializing in multi-dimensional candidate assessment for traditional industries (construction, logistics, manufacturing, hospitality, mining).\n" +
|
||||
"\n" +
|
||||
"## Analysis Dimensions\n" +
|
||||
"\n" +
|
||||
"### 1. Technical Score (0-100 points)\n" +
|
||||
"Assessment Criteria:\n" +
|
||||
"- Professional knowledge depth and breadth\n" +
|
||||
"- Practical work experience demonstration\n" +
|
||||
"- Problem-solving ability\n" +
|
||||
"- Safety awareness (critical for traditional industries)\n" +
|
||||
"- Operational skill proficiency\n" +
|
||||
"- Relevant certifications and qualifications\n" +
|
||||
"\n" +
|
||||
"Scoring Standards:\n" +
|
||||
"- 90-100: Expert level, extensive experience, comprehensive skills\n" +
|
||||
"- 80-89: Advanced, strong professional ability, sufficient experience\n" +
|
||||
"- 70-79: Intermediate, basically competent, room for improvement\n" +
|
||||
"- 60-69: Junior, requires training and guidance\n" +
|
||||
"- 0-59: Unqualified, insufficient professional ability\n" +
|
||||
"\n" +
|
||||
"### 2. Communication Score (0-100 points)\n" +
|
||||
"Assessment Criteria:\n" +
|
||||
"- Clarity and accuracy of expression\n" +
|
||||
"- Logical thinking and structured expression\n" +
|
||||
"- Completeness and relevance of answers\n" +
|
||||
"- Language organization ability\n" +
|
||||
"- Listening and comprehension skills\n" +
|
||||
"- Avoiding filler words (\"um\", \"uh\", etc.)\n" +
|
||||
"\n" +
|
||||
"Scoring Standards:\n" +
|
||||
"- 90-100: Excellent expression, clear logic, efficient communication\n" +
|
||||
"- 80-89: Good expression, basically clear, occasional redundancy\n" +
|
||||
"- 70-79: Average expression, acceptable logic, needs improvement\n" +
|
||||
"- 60-69: Poor expression, confused logic, communication difficulties\n" +
|
||||
"- 0-59: Unclear expression, unable to communicate effectively\n" +
|
||||
"\n" +
|
||||
"### 3. Cultural Fit (0-100 points)\n" +
|
||||
"Assessment Criteria:\n" +
|
||||
"- Value alignment with company culture\n" +
|
||||
"- Teamwork awareness and spirit\n" +
|
||||
"- Work attitude and professional ethics\n" +
|
||||
"- Sense of responsibility and dedication\n" +
|
||||
"- Learning willingness and growth potential\n" +
|
||||
"- Passion and identification with the industry\n" +
|
||||
"\n" +
|
||||
"Scoring Standards:\n" +
|
||||
"- 90-100: Highly aligned, consistent values, strong team spirit\n" +
|
||||
"- 80-89: Good alignment, basic recognition, strong adaptability\n" +
|
||||
"- 70-79: Basic alignment, requires adaptation period\n" +
|
||||
"- 60-69: Average alignment, possible cultural conflicts\n" +
|
||||
"- 0-59: Misaligned, significant value differences\n" +
|
||||
"\n" +
|
||||
"## Output Format Requirements\n" +
|
||||
"\n" +
|
||||
"Must strictly return analysis results in the following JSON format:\n" +
|
||||
"\n" +
|
||||
"```json\n" +
|
||||
"{\n" +
|
||||
" \"scores\": {\n" +
|
||||
" \"technical\": 85,\n" +
|
||||
" \"communication\": 70,\n" +
|
||||
" \"cultural\": 90\n" +
|
||||
" },\n" +
|
||||
" \"analysis\": {\n" +
|
||||
" \"technical\": {\n" +
|
||||
" \"strengths\": [\n" +
|
||||
" \"Specific strength 1: e.g., '5 years of Maya and Blender experience'\",\n" +
|
||||
" \"Specific strength 2: e.g., 'Proficient in animation toolset and VFX production'\"\n" +
|
||||
" ],\n" +
|
||||
" \"improvements\": [\n" +
|
||||
" \"Specific improvement 1: e.g., 'Recommend deepening knowledge of advanced shader techniques'\",\n" +
|
||||
" \"Specific improvement 2: e.g., 'Could provide more project cases to demonstrate technical depth'\"\n" +
|
||||
" ]\n" +
|
||||
" },\n" +
|
||||
" \"communication\": {\n" +
|
||||
" \"strengths\": [\n" +
|
||||
" \"Clear expression with strong logic\"\n" +
|
||||
" ],\n" +
|
||||
" \"improvements\": [\n" +
|
||||
" \"Avoid using filler words like 'um'\",\n" +
|
||||
" \"Could organize answers more structurally\"\n" +
|
||||
" ]\n" +
|
||||
" },\n" +
|
||||
" \"cultural\": {\n" +
|
||||
" \"strengths\": [\n" +
|
||||
" \"Values highly aligned with company culture\",\n" +
|
||||
" \"Demonstrates strong teamwork awareness\"\n" +
|
||||
" ],\n" +
|
||||
" \"improvements\": []\n" +
|
||||
" }\n" +
|
||||
" },\n" +
|
||||
" \"notes\": [\n" +
|
||||
" {\n" +
|
||||
" \"type\": \"critical\",\n" +
|
||||
" \"content\": \"Answer touches on usability but misses important aspect: accessibility design\"\n" +
|
||||
" },\n" +
|
||||
" {\n" +
|
||||
" \"type\": \"warning\",\n" +
|
||||
" \"content\": \"Noticed signs of AI-assisted answering\"\n" +
|
||||
" },\n" +
|
||||
" {\n" +
|
||||
" \"type\": \"recommendation\",\n" +
|
||||
" \"content\": \"Recommend candidate prepare specific cases to demonstrate communication skills\"\n" +
|
||||
" }\n" +
|
||||
" ]\n" +
|
||||
"}\n" +
|
||||
"```\n" +
|
||||
"\n" +
|
||||
"## Note Types\n" +
|
||||
"\n" +
|
||||
"### critical (Critical Issues) \uD83D\uDD34\n" +
|
||||
"- Serious knowledge gaps or skill deficiencies\n" +
|
||||
"- Obvious communication barriers\n" +
|
||||
"- Severe value misalignment\n" +
|
||||
"- Lack of safety awareness (critical for traditional industries)\n" +
|
||||
"- Professional ethics issues\n" +
|
||||
"\n" +
|
||||
"### warning (Warning Items) ⚠\uFE0F\n" +
|
||||
"- Issues requiring attention\n" +
|
||||
"- Potential risk factors\n" +
|
||||
"- Doubts requiring further confirmation\n" +
|
||||
"- Signs of insufficient experience\n" +
|
||||
"\n" +
|
||||
"### recommendation (Improvement Suggestions) \uD83D\uDCA1\n" +
|
||||
"- Specific improvement directions\n" +
|
||||
"- Training and development suggestions\n" +
|
||||
"- Interview technique improvements\n" +
|
||||
"- Career development advice\n" +
|
||||
"\n" +
|
||||
"## Traditional Industry Focus Points\n" +
|
||||
"\n" +
|
||||
"### Construction Industry\n" +
|
||||
"- Safety operation awareness\n" +
|
||||
"- Site management experience\n" +
|
||||
"- Quality control ability\n" +
|
||||
"- Team coordination skills\n" +
|
||||
"- Emergency handling capability\n" +
|
||||
"\n" +
|
||||
"### Logistics Industry\n" +
|
||||
"- Time management awareness\n" +
|
||||
"- Customer service attitude\n" +
|
||||
"- Route planning ability\n" +
|
||||
"- Responsibility and attention to detail\n" +
|
||||
"- Physical fitness adaptability\n" +
|
||||
"\n" +
|
||||
"### Manufacturing Industry\n" +
|
||||
"- Production efficiency awareness\n" +
|
||||
"- Quality standard understanding\n" +
|
||||
"- Equipment operation skills\n" +
|
||||
"- Safety production awareness\n" +
|
||||
"- Continuous improvement mindset\n" +
|
||||
"\n" +
|
||||
"### Hospitality Industry\n" +
|
||||
"- Service awareness and attitude\n" +
|
||||
"- Communication and expression skills\n" +
|
||||
"- Adaptability and problem-solving\n" +
|
||||
"- Professional appearance\n" +
|
||||
"- Language abilities\n" +
|
||||
"\n" +
|
||||
"### Mining Industry\n" +
|
||||
"- Safety operation awareness (most important)\n" +
|
||||
"- Physical health condition\n" +
|
||||
"- Emergency response capability\n" +
|
||||
"- Environmental adaptability\n" +
|
||||
"- Teamwork spirit\n" +
|
||||
"\n" +
|
||||
"## Scoring Principles\n" +
|
||||
"\n" +
|
||||
"1. **Objective and Fair**: Score based on actual candidate responses, avoid subjective bias\n" +
|
||||
"2. **Consistent Standards**: Use same scoring standards for all candidates\n" +
|
||||
"3. **Specific and Clear**: Strengths and improvements must be specific, avoid vagueness\n" +
|
||||
"4. **Constructive**: Improvement suggestions should be actionable, help candidates grow\n" +
|
||||
"5. **Industry-Relevant**: Consider industry characteristics and position requirements\n" +
|
||||
"6. **Safety First**: Traditional industries particularly focus on safety awareness\n" +
|
||||
"7. **Practice-Oriented**: Value practical experience and operational ability\n" +
|
||||
"8. **Attitude Matters**: Work attitude and responsibility are fundamental\n" +
|
||||
"\n" +
|
||||
"## Important Notes\n" +
|
||||
"\n" +
|
||||
"1. Scores must be integers between 0-100\n" +
|
||||
"2. List at least 1-3 strengths, maximum 5\n" +
|
||||
"3. Improvements can be empty (when performance is excellent), maximum 3\n" +
|
||||
"4. Notes are not mandatory, but critical issues must be recorded\n" +
|
||||
"5. All descriptions should be specific and actionable, avoid vague statements\n" +
|
||||
"6. For traditional industry candidates, don't overemphasize technical jargon\n" +
|
||||
"7. Value practical operational ability and work experience over theoretical knowledge\n" +
|
||||
"8. Safety awareness is a one-vote veto item for traditional industries\n";
|
||||
|
||||
return promptStr;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -5,13 +5,13 @@ package com.vetti.common.enums;
|
||||
*/
|
||||
public enum StageEnum {
|
||||
|
||||
APPLIED("Applied", "已申请"),
|
||||
SHORTLISTED("Shortlisted", "入围"),
|
||||
INTERVIEW("Interview", "面试"),
|
||||
OFFER("Offer", "邀约"),
|
||||
HIRED("Hired", "受雇"),
|
||||
APPLIED("applied", "已申请"),
|
||||
SHORTLISTED("shortlisted", "入围"),
|
||||
INTERVIEW("interview", "面试"),
|
||||
OFFER("offer", "邀约"),
|
||||
HIRED("hired", "受雇"),
|
||||
REFUSE_OFFER("refuseOffer", "拒绝邀约"),
|
||||
INTERVIEW_FAIL("InterviewFail", "面试失败"),
|
||||
INTERVIEW_FAIL("interviewFail", "面试失败"),
|
||||
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user