AI投递助手

This commit is contained in:
2026-07-10 02:08:41 +08:00
parent cd64ded6ae
commit cf268520e1
32 changed files with 3612 additions and 2165 deletions
+25 -2
View File
@@ -71,8 +71,8 @@ export interface AgentJobMatchDetail {
/** 推荐岗位项 */
export interface AgentRecommendJob {
/** 岗位 ID */
id: number
/** 岗位 ID(字符串,避免大整数精度丢失) */
id: string | number
/** 岗位名称 */
title: string
/** 薪资描述 */
@@ -103,6 +103,10 @@ export interface AgentRecommendJob {
matchScore: number
/** 匹配度详情 */
matchDetail: AgentJobMatchDetail
/** 学历要求 0=不限 1=大专 2=本科 3=硕士 4=博士 */
education?: number
/** 招聘分类 0=社招 1=校招 2=实习 3=其他 */
recruitCategory?: number
}
/** 求职助手岗位推荐返回数据 */
@@ -302,3 +306,22 @@ export function optimizeAgentResume(params: OptimizeResumeParams) {
},
}).then(res => res.data)
}
// ==================== 岗位匹配度评分(Python 后端) ====================
/** 匹配度评分请求参数 */
export interface MatchScoreParams {
/** 定制简历 ID(字符串,避免大整数精度丢失) */
customizeResumeId: string
/** 岗位 ID(字符串,避免大整数精度丢失) */
jobId: string
}
/**
* 岗位匹配度评分
* POST /job-agent/match-score
* @returns data 为匹配度分数(0-100
*/
export function fetchMatchScore(params: MatchScoreParams) {
return aiService.post<any, { data: AiResult<number> }>('/job-agent/match-score', params).then(res => res.data)
}