舆情自动化

This commit is contained in:
lxu75
2025-03-06 16:56:34 +08:00
parent 866574a4fe
commit fd9cdb31ae
5 changed files with 106 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ public class CommunityTargetDTO {
@Setter
@Getter
class ContentNode {
public static class ContentNode {
private String nodeType;
private String nodeContent;
}

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}
}