wangzhibo
2026-10-08 220e4fab27b7f419b3e89e2f2d28ae789aac09d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package xiaozhi.modules.agent.dto;
 
import java.util.Date;
import java.util.List;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import xiaozhi.modules.agent.dto.AgentTagDTO;
 
/**
 * 智能体数据传输对象
 * 用于在服务层和控制器层之间传递智能体相关的数据
 */
@Data
@Schema(description = "智能体对象")
public class AgentDTO {
    @Schema(description = "智能体编码", example = "AGT_1234567890")
    private String id;
 
    @Schema(description = "智能体名称", example = "客服助手")
    private String agentName;
 
    @Schema(description = "语音合成模型名称", example = "tts_model_01")
    private String ttsModelName;
 
    @Schema(description = "音色名称", example = "voice_01")
    private String ttsVoiceName;
 
    @Schema(description = "大语言模型名称", example = "llm_model_01")
    private String llmModelName;
 
    @Schema(description = "视觉模型名称", example = "vllm_model_01")
    private String vllmModelName;
 
    @Schema(description = "记忆模型ID", example = "mem_model_01")
    private String memModelId;
 
    @Schema(description = "角色设定参数", example = "你是一个专业的客服助手,负责回答用户问题并提供帮助")
    private String systemPrompt;
 
    @Schema(description = "总结记忆", example = "构建可生长的动态记忆网络,在有限空间内保留关键信息的同时,智能维护信息演变轨迹\n" +
            "根据对话记录,总结user的重要信息,以便在未来的对话中提供更个性化的服务", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String summaryMemory;
 
    @Schema(description = "最后连接时间", example = "2024-03-20 10:00:00")
    private Date lastConnectedAt;
 
    @Schema(description = "设备数量", example = "10")
    private Integer deviceCount;
 
    @Schema(description = "在线设备数量")
    private Integer onlineDeviceCount;
 
    @Schema(description = "绑定设备及在线状态")
    private List<AgentDeviceStatusDTO> devices;
 
    @Schema(description = "标签列表")
    private List<AgentTagDTO> tags;
}