-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAiMemoryMessageTool.java
More file actions
81 lines (60 loc) · 2 KB
/
AiMemoryMessageTool.java
File metadata and controls
81 lines (60 loc) · 2 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package com.github.aiassistant.entity;
import java.io.Serializable;
// @Data
// @ApiModel(value = "AiMemoryMessageTool", description = "记忆消息中借助了工具")
// @TableName("ai_memory_message_tool")
public class AiMemoryMessageTool implements Serializable {
// @TableId(value = "id", type = IdType.AUTO)
// @ApiModelProperty(value = "ID", example = "1")
private Integer id;
// @ApiModelProperty(value = "记忆消息ID", example = "1")
private Integer aiMemoryMessageId;
// @ApiModelProperty(value = "工具请求ID", example = "toolRequestId123")
private String toolRequestId;
// @ApiModelProperty(value = "工具名称", example = "搜索引擎")
private String toolName;
// @ApiModelProperty(value = "工具参数", example = "{\"key\":\"value\"}")
private String toolArguments;
// @ApiModelProperty(value = "记忆ID", example = "1")
private Integer aiMemoryId;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getAiMemoryMessageId() {
return aiMemoryMessageId;
}
public void setAiMemoryMessageId(Integer aiMemoryMessageId) {
this.aiMemoryMessageId = aiMemoryMessageId;
}
public String getToolRequestId() {
return toolRequestId;
}
public void setToolRequestId(String toolRequestId) {
this.toolRequestId = toolRequestId;
}
public String getToolName() {
return toolName;
}
public void setToolName(String toolName) {
this.toolName = toolName;
}
public String getToolArguments() {
return toolArguments;
}
public void setToolArguments(String toolArguments) {
this.toolArguments = toolArguments;
}
public Integer getAiMemoryId() {
return aiMemoryId;
}
public void setAiMemoryId(Integer aiMemoryId) {
this.aiMemoryId = aiMemoryId;
}
@Override
public String toString() {
return id + "#" + toolName;
}
}