舆情自动化
This commit is contained in:
@@ -15,7 +15,7 @@ public class CommunityTargetDTO {
|
||||
|
||||
@Setter
|
||||
@Getter
|
||||
class ContentNode {
|
||||
public static class ContentNode {
|
||||
private String nodeType;
|
||||
private String nodeContent;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.volvo.ai.analytic.center.dto.req;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class DifyImageWorkFlow {
|
||||
|
||||
private String transfer_method = "remote_url";
|
||||
|
||||
private String type = "image";
|
||||
|
||||
private String url;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.volvo.ai.analytic.center.dto.resp;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class DifyCommunityTargetResult {
|
||||
|
||||
private String targetId;
|
||||
|
||||
private String commentAnswer;
|
||||
|
||||
private String targetType;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.volvo.ai.analytic.center.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum NodeTypeEnum {
|
||||
|
||||
IMAGE("image", "图片"),
|
||||
TEXT("text", "文本")
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String message;
|
||||
|
||||
NodeTypeEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user