Class DifyResponse
java.lang.Object
com.bytedesk.core.base.BaseResponse
com.bytedesk.ai.springai.providers.dify.DifyResponse
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
对话信息static class
对话列表响应static class
消息信息static class
消息列表响应static class
检索项static class
使用情况统计 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
回答内容private String
private String
private String
对话 IDprivate String
private Integer
Dify API 创建时间戳(与 BaseResponse 的 createdAt 区分)private Boolean
private String
反馈评分,如果返回 like,代表赞,如果返回 dislike,代表踩,如果返回 null,代表没有反馈private String
消息唯一标识符private String
元数据private String
private List<DifyResponse.RetrievalItem>
引用和归属分段列表private String
private DifyResponse.Usage
模型使用情况 -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseResponse
getCreatedAt, getUpdatedAt, toJson
-
Field Details
-
id
消息唯一标识符 -
conversationId
对话 ID -
answer
回答内容 -
difyCreatedAt
Dify API 创建时间戳(与 BaseResponse 的 createdAt 区分) -
feedback
反馈评分,如果返回 like,代表赞,如果返回 dislike,代表踩,如果返回 null,代表没有反馈 -
metadata
元数据 -
usage
模型使用情况 -
retrieval
引用和归属分段列表 -
name
-
description
-
type
-
kbUid
-
enabled
-
apiUrl
-
apiKey
-
-
Constructor Details
-
DifyResponse
public DifyResponse()
-