类 DifyChatFlowApi
java.lang.Object
io.github.chatpass.dify.api.BaseApi
io.github.chatpass.dify.api.DifyChatFlowApi
Dify聊天流API客户端
- 作者:
- chat-pass
-
字段概要
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明annotationReply(AnnotationReplyAction action, AnnotationReplyRequest request) audioToText(File file, String user) createAnnotation(AnnotationRequest request) voiddeleteConversation(String conversationId, SimpleUserRequest user) feedbackMessage(String messageId, FeedBackRequest request) getAnnotationList(Integer page, Integer limit) getAnnotationReplyStatus(AnnotationReplyAction action, String jobId) getConversations(String user, String lastId, Integer limit, String sortBy) getConversationVariables(String conversationId, String user, String lastId, Integer limit, String variableName) getFeedBackList(Integer page, Integer limit) getMessages(String conversationId, String user, String firstId, Integer limit) getSuggestedQuestions(String messageId, String user) renameConversation(String conversationId, RenameConversationRequest request) sendChatMessage(ChatMessageRequest message) voidsendChatMessageStream(ChatMessageRequest message, ChatflowStreamCallback callback) stopChatMessage(String taskId, StopChatMessageRequest request) byte[]textToAudio(TextToAudioRequest request) updateAnnotation(String id, AnnotationRequest request) 从类继承的方法 io.github.chatpass.dify.api.BaseApi
createService
-
构造器详细资料
-
DifyChatFlowApi
-
-
方法详细资料
-
sendChatMessage
-
sendChatMessageStream
-
stopChatMessage
-
getSuggestedQuestions
-
getConversations
public ConversationListResponse getConversations(String user, String lastId, Integer limit, String sortBy) -
getMessages
public ChatMessageListResponse getMessages(String conversationId, String user, String firstId, Integer limit) -
deleteConversation
-
renameConversation
-
getConversationVariables
-
feedbackMessage
-
getFeedBackList
-
textToAudio
- 抛出:
IOException
-
audioToText
- 抛出:
IOException
-
createAnnotation
-
getAnnotationList
-
deleteAnnotation
-
updateAnnotation
-
annotationReply
public AnnotationReplyResponse annotationReply(AnnotationReplyAction action, AnnotationReplyRequest request) -
getAnnotationReplyStatus
-