fix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.senmesh.sdk.dify.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -28,10 +29,12 @@ public class DifyChatRequest implements Serializable {
|
||||
private String query;
|
||||
|
||||
/** 响应模式: blocking/streaming */
|
||||
@JsonProperty("response_mode")
|
||||
@Builder.Default
|
||||
private String responseMode = "blocking";
|
||||
|
||||
/** 会话ID */
|
||||
@JsonProperty("conversation_id")
|
||||
private String conversationId;
|
||||
|
||||
/** 用户标识 */
|
||||
@@ -55,6 +58,7 @@ public class DifyChatRequest implements Serializable {
|
||||
private String type;
|
||||
|
||||
/** 传输方式: remote_url/local_file */
|
||||
@JsonProperty("transfer_method")
|
||||
@Builder.Default
|
||||
private String transferMethod = "local_file";
|
||||
|
||||
@@ -62,6 +66,7 @@ public class DifyChatRequest implements Serializable {
|
||||
private String url;
|
||||
|
||||
/** 上传文件ID */
|
||||
@JsonProperty("upload_file_id")
|
||||
private String uploadFileId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user