【修改】 名称替换

This commit is contained in:
DESKTOP-932OMT8\REN
2025-05-21 17:28:26 +08:00
parent 3bd8a424ec
commit b5f18ba897
1212 changed files with 1262 additions and 1270 deletions

View File

@@ -11,7 +11,7 @@ import lombok.*;
/**
* AI API 秘钥 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName("ai_api_key")
@KeySequence("ai_chat_conversation_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -11,7 +11,7 @@ import lombok.*;
/**
* AI 工具 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName("ai_tool")
@KeySequence("ai_tool_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* AI 聊天对话 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface AiChatConversationMapper extends BaseMapperX<AiChatConversationDO> {

View File

@@ -11,7 +11,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* AI API 密钥 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface AiApiKeyMapper extends BaseMapperX<AiApiKeyDO> {

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* AI 工具 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface AiToolMapper extends BaseMapperX<AiToolDO> {

View File

@@ -1,6 +1,6 @@
/**
* 属于 ai 模块的 framework 封装
*
* @author 芋道源码
* @author 朋辰
*/
package pc.exam.pp.module.crm.framework;

View File

@@ -8,7 +8,7 @@ import org.springframework.context.annotation.Configuration;
/**
* ai 模块的 web 组件的 Configuration
*
* @author 芋道源码
* @author 朋辰
*/
@Configuration(proxyBeanMethods = false)
public class AiWebConfiguration {

View File

@@ -9,7 +9,7 @@ import jakarta.validation.constraints.NotEmpty;
/**
* AI 知识库段落搜索 Request BO
*
* @author 芋道源码
* @author 朋辰
*/
@Data
public class AiKnowledgeSegmentSearchReqBO {

View File

@@ -5,7 +5,7 @@ import lombok.Data;
/**
* AI 知识库段落搜索 Response BO
*
* @author 芋道源码
* @author 朋辰
*/
@Data
public class AiKnowledgeSegmentSearchRespBO {

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* AI API 密钥 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface AiApiKeyService {

View File

@@ -20,7 +20,7 @@ import static pc.exam.pp.module.ai.enums.ErrorCodeConstants.API_KEY_NOT_EXISTS;
/**
* AI API 密钥 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* AI 工具 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface AiToolService {

View File

@@ -22,7 +22,7 @@ import static pc.exam.pp.module.ai.enums.ErrorCodeConstants.TOOL_NOT_EXISTS;
/**
* AI 工具 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -24,7 +24,7 @@ import static pc.exam.pp.framework.common.util.collection.CollectionUtils.conver
/**
* 工具:列出指定目录的文件列表
*
* @author 芋道源码
* @author 朋辰
*/
@Component("directory_list")
public class DirectoryListToolFunction implements Function<DirectoryListToolFunction.Request, DirectoryListToolFunction.Response> {

View File

@@ -19,7 +19,7 @@ import static cn.hutool.core.date.DatePattern.NORM_DATETIME_PATTERN;
/**
* 工具:查询指定城市的天气信息
*
* @author 芋道源码
* @author 朋辰
*/
@Component("weather_query")
public class WeatherQueryToolFunction