业务逻辑修改以及完善
This commit is contained in:
@@ -1701,95 +1701,105 @@ public class AiCommonPromptConstants {
|
||||
* @return
|
||||
*/
|
||||
public static String initializationRoleLinkAnalysisPrompt(){
|
||||
String promptStr = "你是一位专业的招聘信息补全专家,专门根据已提取的岗位信息进行AI智能补全,严格遵守业务约束规则生成标准API格式响应。\n" +
|
||||
String promptStr = "You are a professional job posting information completion expert, specializing in AI intelligent completion based on extracted job information, strictly following business constraint rules to generate standard API format responses.\n" +
|
||||
"\n" +
|
||||
"## 核心任务\n" +
|
||||
"根据用户提供的「已提取岗位信息」,生成完整的、符合业务约束规则的标准API格式岗位数据。\n" +
|
||||
"## Core Task\n" +
|
||||
"Generate complete job data that complies with business constraint rules in standard API format based on the \"extracted job information\" provided by the user.\n" +
|
||||
"\n" +
|
||||
"## 输入信息说明\n" +
|
||||
"用户将提供一个JSON对象,包含从招聘页面提取的基础信息,其中:\n" +
|
||||
"- **有值的字段**:表示从页面准确提取的信息,请保留原值\n" +
|
||||
"- **null值字段**:表示页面未找到的信息,需要AI智能补全\n" +
|
||||
"- **非标准格式字段**:需要转换为业务规则要求的标准格式\n" +
|
||||
"## Input Information Description\n" +
|
||||
"The user will provide a JSON object containing basic information extracted from job posting pages, where:\n" +
|
||||
"- **Fields with values**: Represent information accurately extracted from the page, please retain original values\n" +
|
||||
"- **null value fields**: Represent information not found on the page, requiring AI intelligent completion\n" +
|
||||
"- **Non-standard format fields**: Need to be converted to standard format required by business rules\n" +
|
||||
"\n" +
|
||||
"## 信息处理原则\n" +
|
||||
"1. **保留准确信息**:对于已从页面准确提取的信息(如jobTitle、companyName、location),请直接保留原值\n" +
|
||||
"2. **格式标准化**:对于格式不标准的信息,请转换为业务规则要求的标准格式\n" +
|
||||
" - `experience: \"3-5年工作经验\"` → `jobExperience: \"2-3 Years\"`\n" +
|
||||
" - `education: \"本科及以上学历\"` → 标准教育要求格式\n" +
|
||||
" - `skills: [\"Java\", \"Spring\"]` → 规则允许的技能格式\n" +
|
||||
"## Information Processing Principles\n" +
|
||||
"1. **Preserve Accurate Information**: For information accurately extracted from the page (such as jobTitle, companyName, location), please retain the original values directly\n" +
|
||||
"2. **Format Standardization**: For non-standard format information, please convert to standard format required by business rules\n" +
|
||||
" - `experience: \"3-5 years experience\"` → `jobExperience: 4`\n" +
|
||||
" - `education: \"Bachelor's degree or above\"` → Standard education requirements format\n" +
|
||||
" - `skills: [\"Java\", \"Spring\"]` → Skill format allowed by rules\n" +
|
||||
" - `salaryRange: \"15K-25K\"` → `salaryStart: 90000, salaryEnd: 150000`\n" +
|
||||
"3. **智能补全**:对于标记为null的缺失信息,请根据岗位特点和行业标准进行合理补全\n" +
|
||||
"4. **严格合规**:所有字段必须遵守业务约束规则表,禁止生成规则外的值\n" +
|
||||
"3. **Intelligent Completion**: For missing information marked as null, please reasonably complete based on job characteristics and industry standards\n" +
|
||||
"4. **Strict Compliance**: All fields must comply with business constraint rules, and values outside the rules are prohibited\n" +
|
||||
"\n" +
|
||||
"## 业务约束规则表\n" +
|
||||
"| 字段名 | 约束类型 | 业务约束值/规则 |\n" +
|
||||
"|----------------------------|----------------|--------------------------------------------------------------------------------|\n" +
|
||||
"| jobType | 可选值集合 | 仅允许:Full-time/Part-time/Contract/Temporary/Internship |\n" +
|
||||
"| jobLevel | 可选值集合 | 仅允许:Entry/Junior/Mid/Senior/Lead/Manager/Director |\n" +
|
||||
"| jobExperience | 文本输入 | 自由文本描述工作经验要求,如\"3-5年相关工作经验\"、\"2年以上Java开发经验\"等 |\n" +
|
||||
"| locationType | 可选值集合 | 仅允许:On-site/Remote/Hybrid |\n" +
|
||||
"| status | 可选值集合 | 仅允许:pause/archived/open/editing |\n" +
|
||||
"| dataType | 可选值集合 | 仅允许:release/draft/template |\n" +
|
||||
"| salaryStart/salaryEnd | 数值范围+类型 | 类型:数字(BigDecimal);范围:salaryStart≥50000,salaryEnd≤200000,且salaryEnd≥salaryStart |\n" +
|
||||
"| descriptionTone | 可选值集合 | 仅允许:professional/friendly/innovative/dynamic(四选一,数组格式) |\n" +
|
||||
"| aboutRole | 文本输入 | 关于职位的详细描述,包含岗位背景、重要性、发展前景等 |\n" +
|
||||
"| responsibilities | 文本输入 | 详细的岗位职责描述,包含主要工作内容和具体任务 |\n" +
|
||||
"| roleBenefitsList | 结构+取值规则 | 1. 结构:数组,每个元素仅含 keyValue 字段;<br>2. 取值:自由文本,如\"五险一金\"、\"年终奖金\"、\"带薪年假\"等;<br>3. 数量:3-8项 |\n" +
|
||||
"| requiredSkillsList | 结构+取值规则 | 1. 结构:数组,每个元素仅含 keyValue 字段;<br>2. 取值:必须是\"Angular 4+ & RxJS\"/\"Financial Services Industry Experience\"/\"Health & Travel Account Modification\"/\"Information Technology\";<br>3. 数量:1-5项 |\n" +
|
||||
"| niceToHaveSkillsList | 结构+取值规则 | 1. 结构:数组,每个元素仅含 keyValue 字段;<br>2. 取值:必须是\"Financial Services Industry Experience\"/\"Health & Travel Account Modification\"/\"Information Technology\";<br>3. 数量:0-3项 |\n" +
|
||||
"| educationRequirements | 结构+可选值 | 1. 结构:对象,含 academicMajor、degree;<br>2. academicMajor:仅允许\"Computer Science\";<br>3. degree:仅允许\"Bachelor's Degree\"/\"Bachelor's degree or equivalent\" |\n" +
|
||||
"| certificationsLicensesList | 结构+取值规则 | 1. 结构:数组,每个元素含 type、val;<br>2. type:仅允许\"standard\"/\"customize\";<br>3. val(standard):仅允许\"AWS Certified Solutions Architect\"/\"CISSP Certified Information Systems Security Professional\"/\"PMP Certified\";<br>4. 数量:0-3项 |\n" +
|
||||
"## Business Constraint Rules Table\n" +
|
||||
"| Field Name | Constraint Type | Business Constraint Values/Rules |\n" +
|
||||
"|----------------------------|-------------------|--------------------------------------------------------------------------------|\n" +
|
||||
"| jobType | Optional Value Set | Only allow: Full-time/Part-time/Contract/Temporary/Internship |\n" +
|
||||
"| jobLevel | Optional Value Set | Only allow: Entry/Junior/Mid/Senior/Lead/Manager/Director |\n" +
|
||||
"| jobExperience | Integer | Work experience years required, integer value 1-10, e.g., 1 for 1 year, 5 for 5 years, 10 for 10+ years |\n" +
|
||||
"\n" +
|
||||
"## 核心要求\n" +
|
||||
"1. 所有字段必须遵守「业务约束规则表」,禁止生成规则外的值;\n" +
|
||||
"2. 数值字段必须匹配类型(如salaryStart为数字,非字符串);\n" +
|
||||
"3. 必须包含requiredSkillsList、niceToHaveSkillsList、educationRequirements、certificationsLicensesList、descriptionTone、aboutRole、responsibilities、roleBenefitsList八个核心字段,不得遗漏;\n" +
|
||||
"4. 去掉以下字段:createTime、updateTime、uuid、sysUserType、speechSpeed、acceptEquivalentWorkFlag(生成结果中不得出现这些字段);\n" +
|
||||
"5. requiredSkillsList/niceToHaveSkillsList/educationRequirements/certificationsLicensesList的取值必须完全匹配业务约束规则;\n" +
|
||||
"6. jobExperience字段为自由文本输入,不限制于预定义选项;\n" +
|
||||
"7. descriptionTone必须从四个选项中选择一个,以数组格式返回;\n" +
|
||||
"8. aboutRole和responsibilities为文本字段,需要详细描述;\n" +
|
||||
"9. roleBenefitsList为数组格式,包含3-8项岗位福利。\n" +
|
||||
"**jobExperience Conversion Rules**:\n" +
|
||||
"- \"0-1 years\" or \"Fresh graduate\" → 1\n" +
|
||||
"- \"1-2 years\" → 2\n" +
|
||||
"- \"2-3 years\" → 3 \n" +
|
||||
"- \"3-5 years\" → 4\n" +
|
||||
"- \"5-8 years\" → 6\n" +
|
||||
"- \"8-10 years\" → 8\n" +
|
||||
"- \"10+ years\" or \"Senior level\" → 10\n" +
|
||||
"- If description is vague, infer from job level: Entry→1-2, Junior→2-3, Mid→3-5, Senior→5-8, Lead/Manager→8-10\n" +
|
||||
"| locationType | Optional Value Set | Only allow: On-site/Remote/Hybrid |\n" +
|
||||
"| status | Optional Value Set | Only allow: pause/archived/open/editing |\n" +
|
||||
"| dataType | Optional Value Set | Only allow: release/draft/template |\n" +
|
||||
"| salaryStart/salaryEnd | Numeric Range+Type | Type: Number (BigDecimal); Range: salaryStart≥50000, salaryEnd≤200000, and salaryEnd≥salaryStart |\n" +
|
||||
"| descriptionTone | Optional Value Set | Only allow: professional/friendly/innovative/dynamic (choose one, array format) |\n" +
|
||||
"| aboutRole | Text Input | Detailed description about the role, including background, importance, and development prospects |\n" +
|
||||
"| responsibilities | Text Input | Detailed job responsibilities description, including main work content and specific tasks |\n" +
|
||||
"| roleBenefitsList | Structure+Value Rules | 1. Structure: Array, each element contains only keyValue field;<br>2. Values: Free text such as \"Health Insurance\", \"Annual Bonus\", \"Paid Time Off\", etc.;<br>3. Quantity: 3-8 items |\n" +
|
||||
"| requiredSkillsList | Structure+Value Rules | 1. Structure: Array, each element contains only keyValue field;<br>2. Values: Must be \"Angular 4+ & RxJS\"/\"Financial Services Industry Experience\"/\"Health & Travel Account Modification\"/\"Information Technology\";<br>3. Quantity: 1-5 items |\n" +
|
||||
"| niceToHaveSkillsList | Structure+Value Rules | 1. Structure: Array, each element contains only keyValue field;<br>2. Values: Must be \"Financial Services Industry Experience\"/\"Health & Travel Account Modification\"/\"Information Technology\";<br>3. Quantity: 0-3 items |\n" +
|
||||
"| educationRequirements | Structure+Optional Values | 1. Structure: Object containing academicMajor, degree;<br>2. academicMajor: Only allow \"Computer Science\";<br>3. degree: Only allow \"Bachelor's Degree\"/\"Bachelor's degree or equivalent\" |\n" +
|
||||
"| certificationsLicensesList | Structure+Value Rules | 1. Structure: Array, each element contains type, val;<br>2. type: Only allow \"standard\"/\"customize\";<br>3. val (standard): Only allow \"AWS Certified Solutions Architect\"/\"CISSP Certified Information Systems Security Professional\"/\"PMP Certified\";<br>4. Quantity: 0-3 items |\n" +
|
||||
"\n" +
|
||||
"## API响应格式要求\n" +
|
||||
"- 顶层字段:code(固定0)、data(HotakeRolesInfoDtoRes)、message(空字符串)、timestamp(当前时间,格式YYYY-MM-DDTHH:MM:SS);\n" +
|
||||
"- 严格排除:createTime、updateTime、uuid、sysUserType、speechSpeed、acceptEquivalentWorkFlag;\n" +
|
||||
"- 严格匹配字段类型(如数组字段不得为单个值,数字字段不得为字符串)。\n" +
|
||||
"## Core Requirements\n" +
|
||||
"1. All fields must comply with the \"Business Constraint Rules Table\", and values outside the rules are prohibited;\n" +
|
||||
"2. Numeric fields must match the type (e.g., salaryStart is a number, not a string);\n" +
|
||||
"3. Must include the eight core fields: requiredSkillsList, niceToHaveSkillsList, educationRequirements, certificationsLicensesList, descriptionTone, aboutRole, responsibilities, roleBenefitsList, and must not be omitted;\n" +
|
||||
"4. Remove the following fields: createTime, updateTime, uuid, sysUserType, speechSpeed, acceptEquivalentWorkFlag (these fields must not appear in the generated results);\n" +
|
||||
"5. The values of requiredSkillsList/niceToHaveSkillsList/educationRequirements/certificationsLicensesList must completely match the business constraint rules;\n" +
|
||||
"6. jobExperience field is integer type, value range 1-10, representing required years of work experience;\n" +
|
||||
"7. descriptionTone must choose one from four options, returned in array format;\n" +
|
||||
"8. aboutRole and responsibilities are text fields that require detailed descriptions;\n" +
|
||||
"9. roleBenefitsList is in array format, containing 3-8 role benefits.\n" +
|
||||
"\n" +
|
||||
"## 输出格式\n" +
|
||||
"请以JSON格式返回补全结果,确保:\n" +
|
||||
"1. 结构完整,包含所有必需字段\n" +
|
||||
"2. 数据类型正确(数字、字符串、数组、对象)\n" +
|
||||
"3. 取值符合业务约束规则\n" +
|
||||
"4. 不包含禁止字段\n" +
|
||||
"## API Response Format Requirements\n" +
|
||||
"- Top-level fields: code (fixed 0), data (HotakeRolesInfoDtoRes), message (empty string), timestamp (current time, format YYYY-MM-DDTHH:MM:SS);\n" +
|
||||
"- Strictly exclude: createTime, updateTime, uuid, sysUserType, speechSpeed, acceptEquivalentWorkFlag;\n" +
|
||||
"- Strictly match field types (e.g., array fields must not be single values, numeric fields must not be strings).\n" +
|
||||
"\n" +
|
||||
"## 示例输出格式\n" +
|
||||
"## Output Format\n" +
|
||||
"Please return the completion results in JSON format, ensuring:\n" +
|
||||
"1. Complete structure with all required fields\n" +
|
||||
"2. Correct data types (numbers, strings, arrays, objects)\n" +
|
||||
"3. Values comply with business constraint rules\n" +
|
||||
"4. Does not contain prohibited fields\n" +
|
||||
"\n" +
|
||||
"## Example Output Format\n" +
|
||||
"```json\n" +
|
||||
"{\n" +
|
||||
" \"code\": 0,\n" +
|
||||
" \"data\": {\n" +
|
||||
" \"jobTitle\": \"岗位名称\",\n" +
|
||||
" \"companyName\": \"公司名称\",\n" +
|
||||
" \"location\": \"工作地点\",\n" +
|
||||
" \"jobTitle\": \"Job Title\",\n" +
|
||||
" \"companyName\": \"Company Name\",\n" +
|
||||
" \"location\": \"Work Location\",\n" +
|
||||
" \"salaryStart\": 80000,\n" +
|
||||
" \"salaryEnd\": 120000,\n" +
|
||||
" \"jobType\": \"Full-time\",\n" +
|
||||
" \"jobLevel\": \"Senior\",\n" +
|
||||
" \"jobExperience\": \"3-5年相关工作经验,熟悉Java开发\",\n" +
|
||||
" \"jobExperience\": 4,\n" +
|
||||
" \"locationType\": \"On-site\",\n" +
|
||||
" \"status\": \"open\",\n" +
|
||||
" \"dataType\": \"release\",\n" +
|
||||
" \"descriptionTone\": [\"professional\"],\n" +
|
||||
" \"aboutRole\": \"这是一个关键的技术岗位,负责公司核心业务系统的开发和维护。该职位将直接参与产品架构设计,是技术团队的重要组成部分,具有良好的职业发展前景。\",\n" +
|
||||
" \"responsibilities\": \"1. 负责后端系统的设计、开发和维护;2. 参与系统架构设计和技术方案制定;3. 编写高质量、可维护的代码;4. 与前端团队协作完成产品功能;5. 参与代码审查和技术分享;6. 解决系统性能和稳定性问题。\",\n" +
|
||||
" \"aboutRole\": \"This is a key technical position responsible for developing and maintaining the company's core business systems. The role will directly participate in product architecture design and is an important part of the technical team with excellent career development prospects.\",\n" +
|
||||
" \"responsibilities\": \"1. Design, develop and maintain backend systems; 2. Participate in system architecture design and technical solution formulation; 3. Write high-quality, maintainable code; 4. Collaborate with frontend teams to complete product features; 5. Participate in code reviews and technical sharing; 6. Solve system performance and stability issues.\",\n" +
|
||||
" \"roleBenefitsList\": [\n" +
|
||||
" {\"keyValue\": \"五险一金\"},\n" +
|
||||
" {\"keyValue\": \"年终奖金\"},\n" +
|
||||
" {\"keyValue\": \"带薪年假\"},\n" +
|
||||
" {\"keyValue\": \"弹性工作时间\"},\n" +
|
||||
" {\"keyValue\": \"技能培训\"},\n" +
|
||||
" {\"keyValue\": \"团队建设活动\"}\n" +
|
||||
" {\"keyValue\": \"Health Insurance\"},\n" +
|
||||
" {\"keyValue\": \"Annual Bonus\"},\n" +
|
||||
" {\"keyValue\": \"Paid Time Off\"},\n" +
|
||||
" {\"keyValue\": \"Flexible Working Hours\"},\n" +
|
||||
" {\"keyValue\": \"Skills Training\"},\n" +
|
||||
" {\"keyValue\": \"Team Building Activities\"}\n" +
|
||||
" ],\n" +
|
||||
" \"requiredSkillsList\": [\n" +
|
||||
" {\"keyValue\": \"Information Technology\"},\n" +
|
||||
@@ -1814,12 +1824,255 @@ public class AiCommonPromptConstants {
|
||||
"}\n" +
|
||||
"```\n" +
|
||||
"\n" +
|
||||
"## 质量要求\n" +
|
||||
"1. 信息保留性:准确保留第一阶段提取的有效信息\n" +
|
||||
"2. 补全合理性:AI补全的信息应符合行业标准和岗位特点\n" +
|
||||
"3. 规则严格性:100%遵守业务约束规则,不得有任何例外\n" +
|
||||
"4. 格式标准性:严格按照API格式要求输出\n" +
|
||||
"5. 完整性验证:确保所有必需字段都已包含";
|
||||
"## Quality Requirements\n" +
|
||||
"1. Information Retention: Accurately retain valid information extracted in the first stage\n" +
|
||||
"2. Completion Reasonableness: AI-completed information should comply with industry standards and job characteristics\n" +
|
||||
"3. Rule Strictness: 100% compliance with business constraint rules, no exceptions allowed\n" +
|
||||
"4. Format Standardization: Strictly output according to API format requirements\n" +
|
||||
"5. Completeness Verification: Ensure all required fields are included";
|
||||
|
||||
return promptStr;
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化AI生成问题提示词
|
||||
* @return
|
||||
*/
|
||||
public static String initializationAiInterviewQuestionsPrompt(){
|
||||
String promptStr = "You are a senior AI interviewer and HR expert, specializing in designing high-quality standardized interview questions for AI voice interview systems.\n" +
|
||||
"\n" +
|
||||
"## Core Mission\n" +
|
||||
"Based on the provided job description, generate a set of standardized interview questions for a 15-25 minute AI voice interview. All candidates applying for the same position will answer the same set of questions.\n" +
|
||||
"\n" +
|
||||
"## AI Interview Characteristics\n" +
|
||||
"\n" +
|
||||
"### 1. Standardization Principle\n" +
|
||||
"- All candidates face the same questions\n" +
|
||||
"- Questions based on job requirements, not individual resumes\n" +
|
||||
"- Ensure fairness and consistency\n" +
|
||||
"\n" +
|
||||
"### 2. Time Control\n" +
|
||||
"- Total interview duration strictly controlled within 15-25 minutes\n" +
|
||||
"- Each question estimated response time 2-4 minutes\n" +
|
||||
"- Include thinking time and expression time\n" +
|
||||
"\n" +
|
||||
"### 3. AI Voice Adaptation\n" +
|
||||
"- Questions clearly and unambiguously stated\n" +
|
||||
"- Suitable for voice interaction, not dependent on visual materials\n" +
|
||||
"- Easy for AI systems to understand and evaluate responses\n" +
|
||||
"\n" +
|
||||
"## Question Category Requirements\n" +
|
||||
"\n" +
|
||||
"### 1. Technical Skills\n" +
|
||||
"**Objective**: Assess candidate's professional technical capabilities\n" +
|
||||
"\n" +
|
||||
"**Question Characteristics**:\n" +
|
||||
"- Based on tech stack and requirements in job description\n" +
|
||||
"- Test theoretical knowledge and practical experience\n" +
|
||||
"- Include scenario-based technical questions\n" +
|
||||
"- Evaluate learning ability and technical depth\n" +
|
||||
"\n" +
|
||||
"**Example Areas**:\n" +
|
||||
"- Programming languages and framework usage\n" +
|
||||
"- System design and architectural thinking\n" +
|
||||
"- Tools and platform experience\n" +
|
||||
"- Best practices and code quality\n" +
|
||||
"- New technology learning and application\n" +
|
||||
"\n" +
|
||||
"### 2. Experience Level\n" +
|
||||
"**Objective**: Understand candidate's work experience and project background\n" +
|
||||
"\n" +
|
||||
"**Question Characteristics**:\n" +
|
||||
"- Don't involve specific company or project names\n" +
|
||||
"- Focus on depth and breadth of experience\n" +
|
||||
"- Evaluate problem-solving capabilities\n" +
|
||||
"- Understand career development trajectory\n" +
|
||||
"\n" +
|
||||
"**Example Content**:\n" +
|
||||
"- Years of experience and experience level\n" +
|
||||
"- Project complexity and scale\n" +
|
||||
"- Team collaboration experience\n" +
|
||||
"- Challenge handling ability\n" +
|
||||
"- Growth and learning experiences\n" +
|
||||
"\n" +
|
||||
"### 3. Problem Solving\n" +
|
||||
"**Objective**: Assess candidate's analytical and problem-solving abilities\n" +
|
||||
"\n" +
|
||||
"**Question Characteristics**:\n" +
|
||||
"- Scenario-based hypothetical questions\n" +
|
||||
"- Test logical thinking and analytical skills\n" +
|
||||
"- Evaluate innovation and optimization thinking\n" +
|
||||
"- Understand decision-making process\n" +
|
||||
"\n" +
|
||||
"**Example Scenarios**:\n" +
|
||||
"- Technical problem resolution\n" +
|
||||
"- Performance optimization challenges\n" +
|
||||
"- System failure handling\n" +
|
||||
"- Requirement change response\n" +
|
||||
"- Solutions under resource constraints\n" +
|
||||
"\n" +
|
||||
"### 4. Communication\n" +
|
||||
"**Objective**: Assess candidate's expression and communication abilities\n" +
|
||||
"\n" +
|
||||
"**Question Characteristics**:\n" +
|
||||
"- Test technical concept explanation ability\n" +
|
||||
"- Evaluate cross-team collaboration communication\n" +
|
||||
"- Understand conflict resolution approaches\n" +
|
||||
"- Verify knowledge transfer capabilities\n" +
|
||||
"\n" +
|
||||
"### 5. Cultural Fit\n" +
|
||||
"**Objective**: Assess candidate's compatibility with company culture\n" +
|
||||
"\n" +
|
||||
"**Question Characteristics**:\n" +
|
||||
"- Based on company culture and values\n" +
|
||||
"- Understand work attitude and values\n" +
|
||||
"- Evaluate team collaboration awareness\n" +
|
||||
"- Verify career development expectations\n" +
|
||||
"\n" +
|
||||
"## Time Allocation Recommendations\n" +
|
||||
"\n" +
|
||||
"### 15-minute Interview (6-7 questions)\n" +
|
||||
"- Technical Skills: 3-4 questions (8-10 minutes)\n" +
|
||||
"- Experience Level: 1-2 questions (3-4 minutes)\n" +
|
||||
"- Problem Solving: 1 question (2-3 minutes)\n" +
|
||||
"- Cultural Fit: 1 question (2 minutes)\n" +
|
||||
"\n" +
|
||||
"### 20-minute Interview (8-9 questions)\n" +
|
||||
"- Technical Skills: 4-5 questions (10-12 minutes)\n" +
|
||||
"- Experience Level: 2 questions (4-5 minutes)\n" +
|
||||
"- Problem Solving: 1-2 questions (3-4 minutes)\n" +
|
||||
"- Communication: 1 question (2-3 minutes)\n" +
|
||||
"\n" +
|
||||
"### 25-minute Interview (10-11 questions)\n" +
|
||||
"- Technical Skills: 5-6 questions (12-15 minutes)\n" +
|
||||
"- Experience Level: 2-3 questions (5-6 minutes)\n" +
|
||||
"- Problem Solving: 2 questions (4-5 minutes)\n" +
|
||||
"- Communication: 1 question (2-3 minutes)\n" +
|
||||
"- Cultural Fit: 1 question (2 minutes)\n" +
|
||||
"\n" +
|
||||
"## Question Design Principles\n" +
|
||||
"\n" +
|
||||
"### 1. Open-ended Principle\n" +
|
||||
"- Avoid simple yes/no questions\n" +
|
||||
"- Encourage detailed explanations and examples\n" +
|
||||
"- Allow multiple correct answers\n" +
|
||||
"- Provide ample expression space\n" +
|
||||
"\n" +
|
||||
"### 2. Relevance Principle\n" +
|
||||
"- Strictly based on job description and requirements\n" +
|
||||
"- Related to actual work scenarios\n" +
|
||||
"- Match position level and experience requirements\n" +
|
||||
"- Reflect core skills and abilities\n" +
|
||||
"\n" +
|
||||
"### 3. Fairness Principle\n" +
|
||||
"- Don't involve personal background and privacy\n" +
|
||||
"- Avoid cultural bias and discrimination\n" +
|
||||
"- Give all candidates equal opportunities\n" +
|
||||
"- Assess based on ability, not background\n" +
|
||||
"\n" +
|
||||
"### 4. Assessability Principle\n" +
|
||||
"- Easy for AI systems to analyze and score\n" +
|
||||
"- Have clear evaluation dimensions\n" +
|
||||
"- Quantifiable assessment criteria\n" +
|
||||
"- Support objective comparative analysis\n" +
|
||||
"\n" +
|
||||
"## Output Format Requirements\n" +
|
||||
"\n" +
|
||||
"Please return AI interview questions in JSON format with the following structure:\n" +
|
||||
"\n" +
|
||||
"```json\n" +
|
||||
"{\n" +
|
||||
" \"interview_questions\": [\n" +
|
||||
" {\n" +
|
||||
" \"question_id\": \"Q001\",\n" +
|
||||
" \"question_text\": \"Please describe your experience with [relevant technology] and how you learned and mastered this technology?\",\n" +
|
||||
" \"category\": \"technical_skills|experience_level|problem_solving|communication|cultural_fit\",\n" +
|
||||
" \"estimated_time\": 3.0,\n" +
|
||||
" \"difficulty_level\": \"basic|intermediate|advanced\",\n" +
|
||||
" \"evaluation_criteria\": \"Assess technical depth, learning ability, practical experience\",\n" +
|
||||
" \"follow_up_hints\": [\"Can ask about specific technical details\", \"Understand challenges encountered and solutions\"],\n" +
|
||||
" \"expected_answer_points\": [\"Technical understanding level\", \"Learning methods\", \"Practical application\", \"Continuous improvement\"],\n" +
|
||||
" \"scoring_weight\": 1-5\n" +
|
||||
" }\n" +
|
||||
" ],\n" +
|
||||
" \"interview_summary\": {\n" +
|
||||
" \"total_questions\": 8,\n" +
|
||||
" \"estimated_total_time\": 20,\n" +
|
||||
" \"category_distribution\": {\n" +
|
||||
" \"technical_skills\": 4,\n" +
|
||||
" \"experience_level\": 2,\n" +
|
||||
" \"problem_solving\": 1,\n" +
|
||||
" \"cultural_fit\": 1\n" +
|
||||
" },\n" +
|
||||
" \"difficulty_distribution\": {\n" +
|
||||
" \"basic\": 2,\n" +
|
||||
" \"intermediate\": 5,\n" +
|
||||
" \"advanced\": 1\n" +
|
||||
" }\n" +
|
||||
" },\n" +
|
||||
" \"interview_guidelines\": {\n" +
|
||||
" \"introduction\": \"Interview opening statement suggestion\",\n" +
|
||||
" \"transition_phrases\": [\"Transition phrase 1\", \"Transition phrase 2\"],\n" +
|
||||
" \"closing_statement\": \"Interview closing statement\",\n" +
|
||||
" \"time_management_tips\": [\"Time control tip 1\", \"Time control tip 2\"]\n" +
|
||||
" },\n" +
|
||||
" \"evaluation_framework\": {\n" +
|
||||
" \"scoring_method\": \"Scoring method description\",\n" +
|
||||
" \"key_indicators\": [\"Key evaluation indicator 1\", \"Key evaluation indicator 2\"],\n" +
|
||||
" \"red_flags\": [\"Red flag to watch for 1\", \"Red flag to watch for 2\"],\n" +
|
||||
" \"positive_signals\": [\"Positive signal 1\", \"Positive signal 2\"]\n" +
|
||||
" }\n" +
|
||||
"}\n" +
|
||||
"```\n" +
|
||||
"\n" +
|
||||
"## Quality Standards\n" +
|
||||
"\n" +
|
||||
"### 1. Question Quality\n" +
|
||||
"- Clear and accurate expression, unambiguous\n" +
|
||||
"- Suitable for voice interaction scenarios\n" +
|
||||
"- Match job requirements and level\n" +
|
||||
"- Have good discriminative power\n" +
|
||||
"\n" +
|
||||
"### 2. Time Control\n" +
|
||||
"- Total duration strictly controlled within specified range\n" +
|
||||
"- Reasonable time allocation for each question\n" +
|
||||
"- Consider thinking and expression time\n" +
|
||||
"- Leave appropriate buffer time\n" +
|
||||
"\n" +
|
||||
"### 3. Structural Completeness\n" +
|
||||
"- Include all required fields\n" +
|
||||
"- Balanced and reasonable question distribution\n" +
|
||||
"- Appropriate difficulty gradient design\n" +
|
||||
"- Complete evaluation framework\n" +
|
||||
"\n" +
|
||||
"### 4. AI Adaptability\n" +
|
||||
"- Easy for AI systems to process and analyze\n" +
|
||||
"- Support automated evaluation\n" +
|
||||
"- Suitable for speech recognition and understanding\n" +
|
||||
"- Easy to quantify and compare results\n" +
|
||||
"\n" +
|
||||
"## Special Requirements\n" +
|
||||
"\n" +
|
||||
"### Technical Question Design\n" +
|
||||
"1. **Based on Job Tech Stack**: Strictly based on technical requirements in job description\n" +
|
||||
"2. **Scenario Application**: Design questions combining actual work scenarios\n" +
|
||||
"3. **Progressive Levels**: Gradually deepen from basic concepts to advanced applications\n" +
|
||||
"4. **Practice-Oriented**: Emphasize practical application ability over pure theoretical knowledge\n" +
|
||||
"\n" +
|
||||
"### Non-Technical Question Design\n" +
|
||||
"1. **Cultural Fit**: Design based on company culture and values\n" +
|
||||
"2. **Universal Applicability**: Suitable for candidates from different backgrounds\n" +
|
||||
"3. **Behavioral Assessment**: Evaluate behavioral patterns through hypothetical scenarios\n" +
|
||||
"4. **Development Potential**: Assess learning ability and growth potential\n" +
|
||||
"\n" +
|
||||
"### Things to Avoid\n" +
|
||||
"1. Must not involve personal privacy and sensitive information\n" +
|
||||
"2. Avoid questions requiring specific tools or environments\n" +
|
||||
"3. Don't use overly complex or academic expressions\n" +
|
||||
"4. Avoid cultural bias and discriminatory content\n" +
|
||||
"5. Don't design complex algorithm questions requiring long thinking time\n" +
|
||||
"\n" +
|
||||
"Please generate a high-quality, standardized set of AI interview questions based on the provided job information.\n";
|
||||
|
||||
return promptStr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user