diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index a7fecba..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index 63e9001..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml deleted file mode 100644 index 501f9e4..0000000 --- a/.idea/jarRepositories.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 67e1e61..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/target/classes/application.yml b/target/classes/application.yml deleted file mode 100644 index f2d48f0..0000000 --- a/target/classes/application.yml +++ /dev/null @@ -1,27 +0,0 @@ -dashscope: - api-key: sk-58d6fed688c54e8db02e6a7ffbfc7a5f -deepseek: - api-url: https://api.deepseek.com/chat/completions - api-key: sk-faaa2a1b485442ccbf115ff1271a3480 -spring: - datasource: - url: jdbc:mysql://gz-cynosdbmysql-grp-5ai5zw7r.sql.tencentcdb.com:24944/ai_interview?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8 - username: qingqiu - password: 020979hP - driver-class-name: com.mysql.cj.jdbc.Driver -# ai: -# openai: -# api-key: sk-faaa2a1b485442ccbf115ff1271a3480 -# base-url: https://api.deepseek.com -# chat: -# options: -# model: deepseek-chat -mybatis-plus: - configuration: - map-underscore-to-camel-case: true - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl - global-config: - db-config: - logic-delete-field: deleted # 全局逻辑删除字段名 - logic-delete-value: 1 # 逻辑已删除值。可选,默认值为 1 - logic-not-delete-value: 0 # 逻辑未删除值。可选,默认值为 0 \ No newline at end of file diff --git a/target/classes/mapper/AIClientService.xml b/target/classes/mapper/AIClientService.xml deleted file mode 100644 index 257def2..0000000 --- a/target/classes/mapper/AIClientService.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - UPDATE interview_session - SET status = #{status}, updated_time = NOW() - WHERE session_id = #{sessionId} - - - - - diff --git a/target/classes/mapper/AiSessionLogMapper.xml b/target/classes/mapper/AiSessionLogMapper.xml deleted file mode 100644 index 0c48b49..0000000 --- a/target/classes/mapper/AiSessionLogMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/target/classes/mapper/InterviewEvaluationMapper.xml b/target/classes/mapper/InterviewEvaluationMapper.xml deleted file mode 100644 index 7093c10..0000000 --- a/target/classes/mapper/InterviewEvaluationMapper.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - diff --git a/target/classes/mapper/InterviewMessageMapper.xml b/target/classes/mapper/InterviewMessageMapper.xml deleted file mode 100644 index d938622..0000000 --- a/target/classes/mapper/InterviewMessageMapper.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - diff --git a/target/classes/mapper/InterviewQuestionProgressMapper.xml b/target/classes/mapper/InterviewQuestionProgressMapper.xml deleted file mode 100644 index 5de5868..0000000 --- a/target/classes/mapper/InterviewQuestionProgressMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/target/classes/mapper/QuestionMapper.xml b/target/classes/mapper/QuestionMapper.xml deleted file mode 100644 index be5f22e..0000000 --- a/target/classes/mapper/QuestionMapper.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/target/classes/sql/schema.sql b/target/classes/sql/schema.sql deleted file mode 100644 index 29b601e..0000000 --- a/target/classes/sql/schema.sql +++ /dev/null @@ -1,57 +0,0 @@ --- 题库表 -CREATE TABLE IF NOT EXISTS question ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - content TEXT NOT NULL COMMENT '题目内容', - category VARCHAR(100) NOT NULL COMMENT '题目分类', - difficulty VARCHAR(20) NOT NULL COMMENT '难度等级', - tags VARCHAR(500) COMMENT '标签,逗号分隔', - created_time DATETIME DEFAULT CURRENT_TIMESTAMP, - updated_time DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - deleted TINYINT DEFAULT 0 COMMENT '逻辑删除标记' -); - --- 面试会话表 -CREATE TABLE IF NOT EXISTS interview_session ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - session_id VARCHAR(64) UNIQUE NOT NULL COMMENT '会话唯一标识', - candidate_name VARCHAR(100) COMMENT '候选人姓名', - resume_content TEXT COMMENT '简历内容', - extracted_skills TEXT COMMENT '提取的技能,JSON格式', - ai_model VARCHAR(50) NOT NULL COMMENT '使用的AI模型', - status VARCHAR(20) DEFAULT 'ACTIVE' COMMENT '会话状态:ACTIVE, COMPLETED, TERMINATED', - total_questions INT DEFAULT 0 COMMENT '总问题数', - current_question_index INT DEFAULT 0 COMMENT '当前问题索引', - score DECIMAL(5,2) COMMENT '面试评分', - selected_question_ids TEXT COMMENT 'AI选择的题目ID列表,JSON格式', - final_report TEXT COMMENT 'AI生成的最终面试报告,JSON格式', - created_time DATETIME DEFAULT CURRENT_TIMESTAMP, - updated_time DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - deleted TINYINT DEFAULT 0 -); - --- 面试消息记录表 -CREATE TABLE IF NOT EXISTS interview_message ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - session_id VARCHAR(64) NOT NULL COMMENT '会话ID', - message_type VARCHAR(20) NOT NULL COMMENT '消息类型:QUESTION, ANSWER, SYSTEM', - sender VARCHAR(20) NOT NULL COMMENT '发送者:AI, USER, SYSTEM', - content TEXT NOT NULL COMMENT '消息内容', - question_id BIGINT COMMENT '关联的题目ID', - message_order INT NOT NULL COMMENT '消息顺序', - created_time DATETIME DEFAULT CURRENT_TIMESTAMP, - INDEX idx_session_id (session_id), - INDEX idx_session_order (session_id, message_order) -); - --- 面试评估表 -CREATE TABLE IF NOT EXISTS interview_evaluation ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - session_id VARCHAR(64) NOT NULL COMMENT '会话ID', - question_id BIGINT COMMENT '题目ID', - user_answer TEXT COMMENT '用户回答', - ai_feedback TEXT COMMENT 'AI反馈', - score DECIMAL(3,1) COMMENT '单题得分', - evaluation_criteria TEXT COMMENT '评估标准,JSON格式', - created_time DATETIME DEFAULT CURRENT_TIMESTAMP, - INDEX idx_session_id (session_id) -); diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties deleted file mode 100644 index 3bd8127..0000000 --- a/target/maven-archiver/pom.properties +++ /dev/null @@ -1,3 +0,0 @@ -artifactId=AI-Interview -groupId=com.qingqiu -version=0.0.1-SNAPSHOT diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst deleted file mode 100644 index 71f513a..0000000 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ /dev/null @@ -1,55 +0,0 @@ -com/qingqiu/interview/controller/InterviewQuestionProgressController.class -com/qingqiu/interview/dto/ChatRequest.class -com/qingqiu/interview/service/QuestionClassificationService.class -com/qingqiu/interview/db/entity/InterviewSession.class -com/qingqiu/interview/dto/DashboardStatsResponse$CategoryStat.class -com/qingqiu/interview/db/mapper/InterviewEvaluationMapper.class -com/qingqiu/interview/dto/ApiResponse.class -com/qingqiu/interview/controller/QuestionController.class -com/qingqiu/interview/db/entity/InterviewMessage.class -com/qingqiu/interview/controller/InterviewController.class -com/qingqiu/interview/controller/AiSessionLogController.class -com/qingqiu/interview/db/entity/AiSessionLog.class -com/qingqiu/interview/dto/DashboardStatsResponse$CategoryScoreStat.class -com/qingqiu/interview/dto/InterviewReportResponse$QuestionDetail.class -com/qingqiu/interview/db/mapper/InterviewMessageMapper.class -com/qingqiu/interview/config/JacksonConfig.class -com/qingqiu/interview/db/entity/InterviewQuestionProgress.class -com/qingqiu/interview/service/llm/LlmService.class -com/qingqiu/interview/service/InterviewService$1.class -com/qingqiu/interview/service/IInterviewQuestionProgressService.class -com/qingqiu/interview/db/entity/InterviewMessage$Sender.class -com/qingqiu/interview/config/MyBatisPlusConfig.class -com/qingqiu/interview/db/mapper/InterviewSessionMapper.class -com/qingqiu/interview/service/parser/MarkdownParserService.class -com/qingqiu/interview/db/mapper/QuestionMapper.class -com/qingqiu/interview/service/impl/InterviewQuestionProgressServiceImpl.class -com/qingqiu/interview/db/entity/Question.class -com/qingqiu/interview/dto/InterviewStartRequest.class -com/qingqiu/interview/service/parser/PdfParserService.class -com/qingqiu/interview/service/parser/DocumentParser.class -com/qingqiu/interview/dto/DashboardStatsResponse$WeakestQuestionStat.class -com/qingqiu/interview/service/impl/AiSessionLogServiceImpl.class -com/qingqiu/interview/db/entity/InterviewQuestionProgress$Status.class -com/qingqiu/interview/service/QuestionService.class -com/qingqiu/interview/constants/QwenModelConstant.class -com/qingqiu/interview/controller/DashboardController.class -com/qingqiu/interview/dto/DashboardStatsResponse$DailyStat.class -com/qingqiu/interview/service/InterviewService.class -com/qingqiu/interview/exception/GlobalExceptionHandler.class -com/qingqiu/interview/dto/SessionRequest.class -com/qingqiu/interview/service/DashboardService.class -com/qingqiu/interview/db/entity/InterviewSession$Status.class -com/qingqiu/interview/service/IAiSessionLogService.class -com/qingqiu/interview/config/DashScopeConfig.class -com/qingqiu/interview/service/llm/qwen/QwenService.class -com/qingqiu/interview/dto/SessionHistoryResponse$MessageDto.class -com/qingqiu/interview/dto/InterviewResponse.class -com/qingqiu/interview/db/entity/InterviewMessage$MessageType.class -com/qingqiu/interview/db/mapper/InterviewQuestionProgressMapper.class -com/qingqiu/interview/db/mapper/AiSessionLogMapper.class -com/qingqiu/interview/db/entity/InterviewEvaluation.class -com/qingqiu/interview/AiInterviewApplication.class -com/qingqiu/interview/dto/InterviewReportResponse.class -com/qingqiu/interview/dto/DashboardStatsResponse.class -com/qingqiu/interview/dto/SessionHistoryResponse.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst deleted file mode 100644 index bb52bd3..0000000 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ /dev/null @@ -1,44 +0,0 @@ -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/AiInterviewApplication.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/config/DashScopeConfig.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/config/JacksonConfig.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/config/MyBatisPlusConfig.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/constants/QwenModelConstant.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/controller/AiSessionLogController.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/controller/DashboardController.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/controller/InterviewController.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/controller/InterviewQuestionProgressController.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/controller/QuestionController.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/entity/AiSessionLog.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/entity/InterviewEvaluation.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/entity/InterviewMessage.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/entity/InterviewQuestionProgress.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/entity/InterviewSession.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/entity/Question.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/mapper/AiSessionLogMapper.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/mapper/InterviewEvaluationMapper.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/mapper/InterviewMessageMapper.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/mapper/InterviewQuestionProgressMapper.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/mapper/InterviewSessionMapper.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/db/mapper/QuestionMapper.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/dto/ApiResponse.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/dto/ChatRequest.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/dto/DashboardStatsResponse.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/dto/InterviewReportResponse.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/dto/InterviewResponse.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/dto/InterviewStartRequest.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/dto/SessionHistoryResponse.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/dto/SessionRequest.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/exception/GlobalExceptionHandler.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/DashboardService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/IAiSessionLogService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/IInterviewQuestionProgressService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/InterviewService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/QuestionClassificationService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/QuestionService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/impl/AiSessionLogServiceImpl.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/impl/InterviewQuestionProgressServiceImpl.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/llm/LlmService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/llm/qwen/QwenService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/parser/DocumentParser.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/parser/MarkdownParserService.java -/data/study/real-end/Java/AI-Interview/src/main/java/com/qingqiu/interview/service/parser/PdfParserService.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst deleted file mode 100644 index e914e77..0000000 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst +++ /dev/null @@ -1 +0,0 @@ -com/qingqiu/interview/AiInterviewApplicationTests.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst deleted file mode 100644 index 91d4824..0000000 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ /dev/null @@ -1 +0,0 @@ -/data/study/real-end/Java/AI-Interview/src/test/java/com/qingqiu/interview/AiInterviewApplicationTests.java