Uses of Class
com.bytedesk.core.message.MessageProtobuf
Packages that use MessageProtobuf
Package
Description
Robot package contains classes for managing AI robots/agents.
Robot message package contains classes for handling robot communication.
百 *
SpringAIBaiduChatConfig - 百度 AI 服务配置类,包含API密钥和模型设置 AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。自定 *
SpringAICustomChatController - 自定义 AI 服务的REST API控制器 SpringAICustomChatConfig - 自定义 AI 服务配置类,包含API端点、密钥和模型设置 AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。DashScope AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
DeepSeek AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
Gitee AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
DeepSeek AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
Ollama AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
OpenAI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
OpenRouter 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
SiliconFlow AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
腾讯 AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
火山引擎 AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
智谱 AI 服务提供者集成包,包含与 Spring AI 框架集成的所有类和配置。
Zhipuai package contains classes and utilities for Zhipuai API integration.
Message handling package containing message models and processors
-
Uses of MessageProtobuf in com.bytedesk.ai.robot
Fields in com.bytedesk.ai.robot declared as MessageProtobufModifier and TypeFieldDescriptionprivate final MessageProtobufRobotService.MessageValidationResult.messageProtobufMethods in com.bytedesk.ai.robot that return MessageProtobufModifier and TypeMethodDescriptionprivate MessageProtobufAbstractRobotService.createImageMessage(String imageUrl, String textQuery) 创建包含图片信息的MessageProtobufRobotService.MessageValidationResult.getMessageProtobuf()RobotService.processSyncVisitorMessage(String messageJson) Methods in com.bytedesk.ai.robot with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate voidRobotService.processAIWithFallback(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) 通用的AI消息处理方法,包含fallback逻辑private StringRobotService.processSyncAIWithFallback(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) 通用的同步AI消息处理方法,包含fallback逻辑private voidRobotService.sendTransferInterceptionResponse(RobotService.MessageValidationResult validationResult, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) Constructors in com.bytedesk.ai.robot with parameters of type MessageProtobufModifierConstructorDescriptionMessageValidationResult(MessageProtobuf messageProtobuf, String query, ThreadProtobuf threadProtobuf, String threadTopic) -
Uses of MessageProtobuf in com.bytedesk.ai.robot_message
Methods in com.bytedesk.ai.robot_message that return MessageProtobufModifier and TypeMethodDescriptionstatic MessageProtobufRobotMessageUtils.createRobotMessage(ThreadProtobuf thread, RobotProtobuf robot, MessageProtobuf messageProtobuf) Methods in com.bytedesk.ai.robot_message with parameters of type MessageProtobufModifier and TypeMethodDescriptionstatic MessageProtobufRobotMessageUtils.createRobotMessage(ThreadProtobuf thread, RobotProtobuf robot, MessageProtobuf messageProtobuf) -
Uses of MessageProtobuf in com.bytedesk.ai.service
Methods in com.bytedesk.ai.service with parameters of type MessageProtobufModifier and TypeMethodDescriptionList<org.springframework.ai.chat.messages.Message>PromptHelper.buildMessagesForSse(String query, String context, RobotProtobuf robot, MessageProtobuf messageProtobufQuery) List<org.springframework.ai.chat.messages.Message>PromptHelper.buildMessagesForSync(String query, String context, RobotProtobuf robot, MessageProtobuf messageProtobufQuery) voidSseMessageHelper.handleSseError(Throwable error, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) voidMessagePersistenceHelper.persistMessage(MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, Boolean isUnanswered) voidMessagePersistenceHelper.persistMessage(MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, Boolean isUnanswered, long promptTokens, long completionTokens, long totalTokens, org.springframework.ai.chat.prompt.Prompt prompt, String aiProvider, String aiModel) protected abstract voidBaseSpringAIService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) voidSseMessageHelper.processPromptSseWithContext(BaseSpringAIService service, String query, String context, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter, String errorLogTag) protected abstract voidBaseSpringAIService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) voidSseMessageHelper.sendDefaultReplySse(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) voidSseMessageHelper.sendMessageWebsocket(MessageTypeEnum type, String content, MessageProtobuf messageProtobufReply) voidBaseSpringAIService.sendSseMessage(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) voidSpringAIService.sendSseMessage(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) 发送Sse消息voidSseMessageHelper.sendStreamEndMessage(MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter, long promptTokens, long completionTokens, long totalTokens, org.springframework.ai.chat.prompt.Prompt prompt, String aiProvider, String aiModel) voidSseMessageHelper.sendStreamEndMessage(MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter, long promptTokens, long completionTokens, long totalTokens, org.springframework.ai.chat.prompt.Prompt prompt, String aiProvider, String aiModel, boolean persistMessage) voidSseMessageHelper.sendStreamMessage(MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter, String content, String reasonContent, List<RobotContent.SourceReference> sourceReferences) voidSseMessageHelper.sendStreamMessage(MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter, String content, String reasonContent, List<RobotContent.SourceReference> sourceReferences, Boolean isUnanswered, boolean completeAfterSend, boolean contentIsStreamContentJson) voidSseMessageHelper.sendStreamStartMessage(MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter, String initialContent) BaseSpringAIService.sendSyncMessage(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) SpringAIService.sendSyncMessage(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) 发送同步消息并返回回复内容voidBaseSpringAIService.sendWebsocketMessage(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) voidSpringAIService.sendWebsocketMessage(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) 发送websocket消息 -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.baidu
Methods in com.bytedesk.ai.springai.providers.baidu with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIBaiduChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIBaiduService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIBaiduChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIBaiduService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.coze
Methods in com.bytedesk.ai.springai.providers.coze with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAICozeService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAICozeService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.custom
Methods in com.bytedesk.ai.springai.providers.custom with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAICustomChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAICustomService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAICustomChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAICustomService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.dashscope
Methods in com.bytedesk.ai.springai.providers.dashscope with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIDashscopeChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIDashscopeService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIDashscopeChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIDashscopeService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.deepseek
Methods in com.bytedesk.ai.springai.providers.deepseek with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIDeepseekChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIDeepseekService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIDeepseekChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIDeepseekService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.dify
Methods in com.bytedesk.ai.springai.providers.dify with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate StringSpringAIDifyService.getConversationId(RobotProtobuf robot, MessageProtobuf messageProtobuf) 获取或生成会话IDprotected voidSpringAIDifyService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIDifyService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) private voidSpringAIDifyService.processStreamingResponseImproved(String streamingResponse, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter, RobotProtobuf robot, int inputLength, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, boolean[] success, int[] tokenUsage, List<RobotContent.SourceReference> sourceReferences) 处理SSE格式的流式响应 - 改进版本private voidSpringAIDifyService.sendChatMessageStreamingImproved(String baseUrl, String apiKey, String query, String conversationId, String userId, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, boolean[] success, int[] tokenUsage, List<RobotContent.SourceReference> sourceReferences) 处理Dify的流式响应 - 改进版本 -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.fastgpt
Methods in com.bytedesk.ai.springai.providers.fastgpt with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate StringSpringAIFastGptService.getChatId(RobotProtobuf robot, MessageProtobuf messageProtobuf) 获取聊天ID 可以从robot配置中获取,或者使用默认值protected voidSpringAIFastGptService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIFastGptService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.gemini
Methods in com.bytedesk.ai.springai.providers.gemini with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIGeminiChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIGeminiService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIGeminiChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIGeminiService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.gitee
Methods in com.bytedesk.ai.springai.providers.gitee with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIGiteeChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIGiteeService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIGiteeChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIGiteeService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.maxkb
Methods in com.bytedesk.ai.springai.providers.maxkb with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIMaxkbService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIMaxkbService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.minimax
Methods in com.bytedesk.ai.springai.providers.minimax with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIMinimaxChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIMinimaxService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIMinimaxChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIMinimaxService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.n8n
Methods in com.bytedesk.ai.springai.providers.n8n with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate StringSpringAIN8nService.getChatId(RobotProtobuf robot, MessageProtobuf messageProtobuf) 获取聊天ID 可以从robot配置中获取,或者使用默认值protected voidSpringAIN8nService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIN8nService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.ollama
Methods in com.bytedesk.ai.springai.providers.ollama with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIOllamaChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIOllamaService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIOllamaChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIOllamaService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.openai
Methods in com.bytedesk.ai.springai.providers.openai with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIOpenaiChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIOpenaiService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIOpenaiChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIOpenaiService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.openrouter
Methods in com.bytedesk.ai.springai.providers.openrouter with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIOpenrouterChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIOpenrouterService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIOpenrouterChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIOpenrouterService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.ragflow
Methods in com.bytedesk.ai.springai.providers.ragflow with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate String[]SpringAIRagflowService.getRagflowConfigAndId(RobotProtobuf robot, MessageProtobuf messageProtobuf) 综合获取RAGFlow配置信息和聊天IDprotected voidSpringAIRagflowService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIRagflowService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) SpringAIRagflowService.sendMessageDirectStream(String baseUrl, String apiKey, String modelType, String ragflowId, String ragflowType, String content, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) 处理RAGFlow流式响应并实时发送给SSE客户端 -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.siliconflow
Methods in com.bytedesk.ai.springai.providers.siliconflow with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAISiliconFlowChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAISiliconFlowService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAISiliconFlowChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAISiliconFlowService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.tencent
Methods in com.bytedesk.ai.springai.providers.tencent with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAITencentChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAITencentService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAITencentChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAITencentService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.volcengine
Methods in com.bytedesk.ai.springai.providers.volcengine with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIVolcengineChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIVolcengineService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIVolcengineChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) protected voidSpringAIVolcengineService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.weknora
Methods in com.bytedesk.ai.springai.providers.weknora with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate StringSpringAIWeknoraService.getChatId(RobotProtobuf robot, MessageProtobuf messageProtobuf) 获取聊天ID 可以从robot配置中获取,或者使用默认值protected voidSpringAIWeknoraService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidSpringAIWeknoraService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.ai.springai.providers.zhipuai
Methods in com.bytedesk.ai.springai.providers.zhipuai with parameters of type MessageProtobufModifier and TypeMethodDescriptionprotected voidSpringAIZhipuaiChatService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) 方式3:SSE方式调用(带prompt参数)protected voidSpringAIZhipuaiChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) 方式1:异步流式调用(带prompt参数) -
Uses of MessageProtobuf in com.bytedesk.ai.zhipuai
Methods in com.bytedesk.ai.zhipuai with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate List<ai.z.openapi.service.model.MessageContent>ZhipuaiMultiModelService.buildUserContentsFromMessage(MessageProtobuf messageProtobufQuery) ZhipuaiMultiModelService.processMultiModalSyncRequest(MessageProtobuf messageProtobuf, RobotProtobuf robot, boolean searchKnowledgeBase) 多模态同步请求处理,支持图片等媒体类型protected voidZhipuaiMultiModelService.processPromptSse(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, List<RobotContent.SourceReference> sourceReferences, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) protected voidZhipuaiMultiModelService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of MessageProtobuf in com.bytedesk.core.black
Methods in com.bytedesk.core.black with parameters of type MessageProtobuf -
Uses of MessageProtobuf in com.bytedesk.core.email_message
Methods in com.bytedesk.core.email_message with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate StringEmailMessageEventListener.buildEmailHtmlContent(MessageProtobuf messageProtobuf, EmailExtra emailExtra) 构建邮件HTML内容private EmailMessageRequestEmailMessageEventListener.buildEmailMessageRequest(MessageProtobuf messageProtobuf, EmailExtra emailExtra, ThreadEntity thread) 构建邮件发送请求private StringEmailMessageEventListener.buildEmailSubject(MessageProtobuf messageProtobuf, EmailExtra emailExtra) 构建邮件主题private StringEmailMessageEventListener.buildEmailTextContent(MessageProtobuf messageProtobuf, EmailExtra emailExtra) 构建邮件文本内容private voidEmailMessageEventListener.sendMessageToEmail(MessageProtobuf messageProtobuf, ThreadEntity thread) 推送消息到邮件 -
Uses of MessageProtobuf in com.bytedesk.core.jms
Methods in com.bytedesk.core.jms with parameters of type MessageProtobufModifier and TypeMethodDescriptionvoidJmsArtemisService.sendQueueMessage(MessageProtobuf message) voidJmsArtemisService.sendTopicMessage(MessageProtobuf message) -
Uses of MessageProtobuf in com.bytedesk.core.message
Methods in com.bytedesk.core.message that return MessageProtobufMethods in com.bytedesk.core.message with parameters of type MessageProtobufModifier and TypeMethodDescriptionMessagePersistService.dealWithMessageNotification(MessageTypeEnum type, MessageProtobuf messageProtobuf) private voidMessagePersistService.dealWithMessageRecall(MessageProtobuf message) private voidMessagePersistService.dealWithMessageReceipt(MessageTypeEnum type, MessageProtobuf message) voidIMessageSendService.sendProtobufMessage(MessageProtobuf messageProtobuf) voidMessageSendServiceImpl.sendProtobufMessage(MessageProtobuf messageProtobuf) voidMessageSendServiceImplVip.sendProtobufMessage(MessageProtobuf messageProtobuf) private ThreadEntityMessagePersistService.updateThreadContent(ThreadEntity thread, MessageTypeEnum type, MessageProtobuf messageProtobuf) -
Uses of MessageProtobuf in com.bytedesk.core.message_unread
Methods in com.bytedesk.core.message_unread with parameters of type MessageProtobufModifier and TypeMethodDescriptionvoidMessageUnreadRestService.create(MessageProtobuf messageProtobuf) -
Uses of MessageProtobuf in com.bytedesk.core.message.utils
Methods in com.bytedesk.core.message.utils that return MessageProtobufModifier and TypeMethodDescriptionstatic MessageProtobufMessageUtils.createAgentCloseMessage(ThreadEntity thread, String content) static MessageProtobufMessageUtils.createAgentReplyTimeoutMessage(ThreadEntity thread, String content) static MessageProtobufMessageUtils.createAutoCloseMessage(ThreadEntity thread, String content) static MessageProtobufMessageUtils.createLoginNoticeMessage(String messageUid, ThreadProtobuf threadProtobuf, String orgUid, String content) static MessageProtobufMessageUtils.createNoticeMessage(String messageUid, ThreadProtobuf threadProtobuf, String orgUid, String content) static MessageProtobufMessageUtils.createRateInviteMessage(ThreadEntity thread, String content) static MessageProtobufMessageUtils.createRateSubmittedMessage(ThreadEntity thread, String content) static MessageProtobufMessageUtils.createSystemMessage(ThreadEntity thread, String content) static MessageProtobufMessageUtils.createThreadMessage(String messageUid, ThreadEntity thread, MessageTypeEnum type, String content) Methods in com.bytedesk.core.message.utils with parameters of type MessageProtobufModifier and TypeMethodDescriptionstatic voidMessageUtils.notifyUser(MessageProtobuf messageProtobuf) -
Uses of MessageProtobuf in com.bytedesk.core.notice
Methods in com.bytedesk.core.notice that return MessageProtobufModifier and TypeMethodDescriptionprivate MessageProtobufNoticeService.createMessageByType(NoticeService.MessageType messageType, ThreadEntity thread, NoticeRequest request, String jsonContent) Create message based on the message type -
Uses of MessageProtobuf in com.bytedesk.core.webhook_message
Methods in com.bytedesk.core.webhook_message with parameters of type MessageProtobufModifier and TypeMethodDescriptionWebhookMessageService.createMessageRecord(WebhookEntity webhook, MessageProtobuf message, boolean success, Map<String, Object> responseData, String errorMessage) 创建消息推送记录 -
Uses of MessageProtobuf in com.bytedesk.kbase.taboo
Methods in com.bytedesk.kbase.taboo with parameters of type MessageProtobufModifier and TypeMethodDescriptionbooleanTabooFilterHelper.sanitizeMessage(MessageProtobuf messageProtobuf) 对消息做敏感词检测与替换: - 命中则替换后继续发送 - MessageExtra 记录原文 - TabooMessageEntity 落库记录原文/替换后/命中词 -
Uses of MessageProtobuf in com.bytedesk.service.routing_strategy
Methods in com.bytedesk.service.routing_strategy that return MessageProtobufModifier and TypeMethodDescriptionAgentThreadRoutingStrategy.createAgentThread(VisitorRequest visitorRequest) 创建客服线程 一对一人工客服,不支持机器人接待private MessageProtobufRobotThreadRoutingStrategy.createAndSaveWelcomeMessage(WelcomeContent wc, ThreadEntity thread) 创建并保存欢迎消息private MessageProtobufWorkflowThreadRoutingStrategy.createAndSaveWelcomeMessage(WelcomeContent wc, ThreadEntity thread) 创建并保存欢迎消息ThreadRoutingContext.createCsThread(VisitorRequest visitorRequest) 创建客服线程的主要入口方法RobotThreadRoutingStrategy.createRobotThread(VisitorRequest request) 创建机器人会话abstract MessageProtobufAbstractThreadRoutingStrategy.createThread(VisitorRequest visitorRequest) 创建线程的核心方法 由具体实现类负责处理不同类型的线程创建逻辑AgentThreadRoutingStrategy.createThread(VisitorRequest visitorRequest) RobotThreadRoutingStrategy.createThread(VisitorRequest visitorRequest) WorkflowThreadRoutingStrategy.createThread(VisitorRequest visitorRequest) WorkgroupThreadRoutingStrategy.createThread(VisitorRequest visitorRequest) WorkflowThreadRoutingStrategy.createWorkflowThread(VisitorRequest request) 创建工作流会话WorkgroupThreadRoutingStrategy.createWorkgroupThread(VisitorRequest visitorRequest) 创建工作组会话private MessageProtobufAgentThreadRoutingStrategy.getAgentContinueMessage(ThreadEntity thread) 获取客服继续对话消息private MessageProtobufAgentThreadRoutingStrategy.getAgentQueueMessage(ThreadEntity thread) 获取客服排队消息WorkgroupThreadRoutingStrategy.getOfflineMessage(VisitorRequest visitorRequest, ThreadEntity threadFromRequest, AgentEntity agentEntity, WorkgroupEntity workgroup, QueueMemberEntity queueMemberEntity) 获取离线消息private MessageProtobufRobotThreadRoutingStrategy.getRobotContinueMessage(VisitorRequest request, RobotEntity robotEntity, ThreadEntity thread) 获取机器人继续对话消息private MessageProtobufWorkgroupThreadRoutingStrategy.getRobotContinueMessage(RobotEntity robotEntity, ThreadEntity thread) 获取机器人继续对话消息private MessageProtobufWorkflowThreadRoutingStrategy.getWorkflowContinueMessage(WorkflowEntity workflowEntity, ThreadEntity thread) 获取工作流继续对话消息private MessageProtobufWorkgroupThreadRoutingStrategy.getWorkgroupContinueMessage(VisitorRequest visitorRequest, ThreadEntity thread) 获取工作组继续对话消息private MessageProtobufWorkgroupThreadRoutingStrategy.getWorkgroupQueueMessage(VisitorRequest visitorRequest, ThreadEntity thread) 获取工作组排队消息private MessageProtobufWorkgroupThreadRoutingStrategy.handleAllAgentsFullQueuing(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 处理所有客服满员时的排队逻辑 入队时不设置 agent,等待有客服空闲时再分配private MessageProtobufAgentThreadRoutingStrategy.handleAvailableAgent(VisitorRequest visitorRequest, ThreadEntity threadFromRequest, AgentEntity agent, QueueMemberEntity queueMemberEntity) 处理可用客服(客服在线且未达到最大接待人数)private MessageProtobufWorkgroupThreadRoutingStrategy.handleAvailableWorkgroup(VisitorRequest visitorRequest, ThreadEntity threadFromRequest, AgentEntity agentEntity, QueueMemberEntity queueMemberEntity) 处理可用工作组客服private MessageProtobufWorkgroupThreadRoutingStrategy.handleExistingChatThread(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 处理现有聊天会话private MessageProtobufWorkgroupThreadRoutingStrategy.handleExistingOfflineThread(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 处理现有离线会话private MessageProtobufRobotThreadRoutingStrategy.handleExistingRobotThread(VisitorRequest request, RobotEntity robotEntity, ThreadEntity thread) 处理现有的机器人会话private MessageProtobufWorkgroupThreadRoutingStrategy.handleExistingRobotThread(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 处理现有机器人会话private MessageProtobufAgentThreadRoutingStrategy.handleExistingThread(VisitorRequest request, ThreadEntity thread, AgentEntity agentEntity) 处理已存在的线程private MessageProtobufWorkflowThreadRoutingStrategy.handleExistingWorkflowThread(WorkflowEntity workflowEntity, ThreadEntity thread) 处理现有的工作流会话private MessageProtobufWorkgroupThreadRoutingStrategy.handleExistingWorkgroupThread(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 处理现有工作组会话private MessageProtobufAgentThreadRoutingStrategy.handleOfflineAgent(VisitorRequest visitorRequest, ThreadEntity threadFromRequest, AgentEntity agent, QueueMemberEntity queueMemberEntity) 处理离线客服private MessageProtobufAgentThreadRoutingStrategy.handleQueuedAgent(VisitorRequest visitorRequest, ThreadEntity threadFromRequest, AgentEntity agent, QueueMemberEntity queueMemberEntity) 处理排队客服(客服在线但已达到最大接待人数)private MessageProtobufWorkgroupThreadRoutingStrategy.handleQueuedWorkgroupWithoutAgent(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup, QueueMemberEntity queueMemberEntity) 处理排队(无指定客服)private MessageProtobufRobotThreadRoutingStrategy.processNewRobotThread(VisitorRequest request, ThreadEntity thread, RobotEntity robotEntity) 处理新的机器人会话private MessageProtobufWorkflowThreadRoutingStrategy.processNewWorkflowThread(VisitorRequest request, ThreadEntity thread, WorkflowEntity workflowEntity) 处理新的工作流会话private MessageProtobufAgentThreadRoutingStrategy.routeNewThread(ThreadEntity thread, AgentEntity agentEntity, VisitorRequest visitorRequest) 路由新线程private MessageProtobufWorkgroupThreadRoutingStrategy.routeNewWorkgroupThread(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 路由新工作组会话private MessageProtobufAgentThreadRoutingStrategy.routeOnlineAgent(VisitorRequest visitorRequest, ThreadEntity thread, AgentEntity agentEntity, QueueMemberEntity queueMemberEntity) 路由在线客服private MessageProtobufWorkgroupThreadRoutingStrategy.routeToAgent(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 路由到人工客服private MessageProtobufWorkgroupThreadRoutingStrategy.routeToAgentDuringServiceTime(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 在服务时间内分配客服并根据在线/负载状态进行路由private MessageProtobufWorkgroupThreadRoutingStrategy.routeToOfflineMessage(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 不满足服务时间或无在线客服时,统一进入离线留言流程WorkgroupThreadRoutingStrategy.routeToRobot(VisitorRequest visitorRequest, ThreadEntity threadFromRequest, RobotEntity robotEntity, WorkgroupEntity workgroup) 路由到机器人private MessageProtobufWorkgroupThreadRoutingStrategy.routeToRobot(VisitorRequest visitorRequest, ThreadEntity thread, WorkgroupEntity workgroup) 路由到机器人 -
Uses of MessageProtobuf in com.bytedesk.service.unified
Methods in com.bytedesk.service.unified that return MessageProtobufModifier and TypeMethodDescriptionprivate MessageProtobufUnifiedThreadRoutingStrategy.createAgentContinueMessage(ThreadEntity thread, VisitorRequest visitorRequest) 创建客服继续消息private MessageProtobufUnifiedThreadRoutingStrategy.createContinueMessage(ThreadEntity thread, VisitorRequest visitorRequest) 创建继续会话消息private MessageProtobufUnifiedThreadRoutingStrategy.createQueuingContinueMessage(ThreadEntity thread) 创建排队继续消息private MessageProtobufUnifiedThreadRoutingStrategy.createRobotContinueMessage(ThreadEntity thread) 创建机器人继续消息UnifiedThreadRoutingStrategy.createThread(VisitorRequest visitorRequest) UnifiedThreadRoutingStrategy.createUnifiedThread(VisitorRequest visitorRequest) 创建统一客服线程private MessageProtobufUnifiedThreadRoutingStrategy.delegateToWorkgroupStrategy(VisitorRequest visitorRequest, WorkgroupEntity workgroup) 委托给工作组策略处理private MessageProtobufUnifiedThreadRoutingStrategy.findExistingActiveThread(VisitorRequest visitorRequest, List<WorkgroupEntity> workgroups) 查找现有活跃会话UnifiedRouting.routeToUnified(VisitorRequest visitorRequest, UnifiedEntity unified) -
Uses of MessageProtobuf in com.bytedesk.service.utils
Methods in com.bytedesk.service.utils that return MessageProtobufModifier and TypeMethodDescriptionprivate static MessageProtobufThreadMessageUtil.buildAgentQueueMessage(MessageTypeEnum messageType, QueueNotification payload, ThreadEntity thread) private static MessageProtobufThreadMessageUtil.buildThreadQueueMessage(MessageTypeEnum messageType, QueueContent content, ThreadEntity thread) static MessageProtobufServiceConvertUtils.convertToMessageProtobuf(MessageEntity lastMessage, ThreadEntity thread) static MessageProtobufThreadMessageUtil.getAgentQueueAcceptMessage(QueueNotification payload, ThreadEntity thread) 构造发送给客服排队线程的 QUEUE_ACCEPT 消息,通知其他客服,该thread会话被某个客服接入static MessageProtobufThreadMessageUtil.getAgentQueueNoticeMessage(QueueNotification payload, ThreadEntity thread) 构造发送给客服排队线程的 QUEUE_NOTICE 消息static MessageProtobufThreadMessageUtil.getAgentQueueUpdateMessage(QueueNotification payload, ThreadEntity thread) 构造发送给访客的 QUEUE_UPDATE 消息,更新访客排队位置static MessageProtobufThreadMessageUtil.getThreadContinueMessage(UserProtobuf user, ThreadEntity thread) static MessageProtobufThreadMessageUtil.getThreadQueueMessage(QueueContent content, ThreadEntity thread) 结构化 QueueContent 的排队消息static MessageProtobufThreadMessageUtil.getThreadQueueUpdateMessage(QueueContent content, ThreadEntity thread) static MessageProtobufThreadMessageUtil.getThreadWelcomeMessage(WelcomeContent content, ThreadEntity thread) 结构化 WelcomeContent 的人工欢迎消息 -
Uses of MessageProtobuf in com.bytedesk.service.visitor
Methods in com.bytedesk.service.visitor that return MessageProtobuf -
Uses of MessageProtobuf in com.bytedesk.service.visitor_thread
Methods in com.bytedesk.service.visitor_thread that return MessageProtobufModifier and TypeMethodDescriptionVisitorThreadService.handleQueueOverflowLeaveMessage(ThreadEntity thread, QueueMemberEntity queueMember) private MessageProtobufVisitorThreadService.triggerQueueLeaveMessage(ThreadEntity thread, QueueMemberEntity queueMember) -
Uses of MessageProtobuf in com.bytedesk.social.line
Methods in com.bytedesk.social.line with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate voidLineEventListener.handleAudioMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理音频消息private voidLineEventListener.handleCardMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理名片消息private voidLineEventListener.handleFileMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理文件消息private voidLineEventListener.handleImageMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理图片消息private voidLineEventListener.handleLinkMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理链接消息private voidLineEventListener.handleLocationMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理位置消息private voidLineEventListener.handleRateInviteMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理评分邀请消息private voidLineEventListener.handleTextMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理文本消息private voidLineEventListener.handleVideoMessage(MessageProtobuf messageProtobuf, LineThreadExtra lineThreadExtra) 处理视频消息private voidLineEventListener.sendMessageToLine(MessageProtobuf messageProtobuf, ThreadEntity thread) -
Uses of MessageProtobuf in com.bytedesk.social.meta
Methods in com.bytedesk.social.meta with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate booleanMetaAppEventListener.handleCardMessageSend(MessageProtobuf messageProtobuf, String pageId, String recipientPsid, String pageAccessToken) Handle card message sendingprivate booleanMetaAppEventListener.handleLocationMessageSend(MessageProtobuf messageProtobuf, String pageId, String recipientPsid, String pageAccessToken) Handle location message sendingprivate booleanMetaAppEventListener.handleQuickRepliesMessageSend(MessageProtobuf messageProtobuf, String pageId, String recipientPsid, String pageAccessToken) Handle quick replies message sendingprivate booleanMetaAppEventListener.handleTemplateMessageSend(MessageProtobuf messageProtobuf, String pageId, String recipientPsid, String pageAccessToken) Handle template message sendingprivate booleanMetaAppEventListener.handleTypingOnAction(MessageProtobuf messageProtobuf, String pageId, String recipientPsid, String pageAccessToken) Handle typing on actionprivate voidMetaAppEventListener.sendMessageByType(MessageProtobuf messageProtobuf, String pageId, String recipientPsid, String pageAccessToken) Send message based on typeprivate voidMetaAppEventListener.sendMessageToMessenger(MessageProtobuf messageProtobuf, ThreadEntity thread) Send message to Facebook Messenger -
Uses of MessageProtobuf in com.bytedesk.social.telegram
Methods in com.bytedesk.social.telegram with parameters of type MessageProtobufModifier and TypeMethodDescriptionTelegramEventListener.parseAttachmentInfo(MessageProtobuf messageProtobuf) 解析消息中的附件信息private voidTelegramEventListener.sendMessageByType(MessageProtobuf messageProtobuf, String chatId) Send message by typeprivate voidTelegramEventListener.sendMessageToTelegram(MessageProtobuf messageProtobuf, ThreadEntity thread) 发送消息到Telegram -
Uses of MessageProtobuf in com.bytedesk.social.whatsapp
Methods in com.bytedesk.social.whatsapp with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate voidWhatsAppEventListener.sendMessageToWhatsApp(MessageProtobuf messageProtobuf, ThreadEntity thread) 推送消息到WhatsApp -
Uses of MessageProtobuf in com.bytedesk.social.whatsapp.ycloud
Methods in com.bytedesk.social.whatsapp.ycloud with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate voidYCloudMessageService.handleRobotResponse(YCloudWhatsappInboundReceived.WhatsappInboundMessage inboundMessage, ThreadProtobuf thread, WhatsAppEntity whatsAppEntity, MessageProtobuf messageProtobuf) 处理机器人回复 -
Uses of MessageProtobuf in com.bytedesk.starter.controller
Methods in com.bytedesk.starter.controller that return MessageProtobuf -
Uses of MessageProtobuf in com.bytedesk.ticket.routing_strategy
Methods in com.bytedesk.ticket.routing_strategy that return MessageProtobufModifier and TypeMethodDescriptionprivate MessageProtobufTicketThreadRoutingStrategy.buildClosedMessageProtobuf(ThreadEntity thread, String closeTip) private MessageProtobufTicketThreadRoutingStrategy.buildEmptyMessageProtobuf(ThreadEntity thread) 构建空消息协议对象(仅包含会话信息)TicketThreadRoutingStrategy.createThread(VisitorRequest visitorRequest) private MessageProtobufTicketThreadRoutingStrategy.getTicketThreadMessage(ThreadEntity thread) 构建工单会话消息响应private MessageProtobufTicketThreadRoutingStrategy.getTicketThreadMessageReadOnly(ThreadEntity thread, String closeTip) private MessageProtobufTicketThreadRoutingStrategy.handleTicketThreadNew(ThreadEntity threadFromDb, TicketEntity ticket, VisitorRequest visitorRequest) 处理工单会话 NEW 状态: - 发送工单接入提示语 - 切换线程状态为 CHATTING - 发布转接事件通知被分配客服TicketThreadRoutingStrategy.loadTicketThread(VisitorRequest visitorRequest) 加载工单会话 -
Uses of MessageProtobuf in com.bytedesk.wechat.work
Methods in com.bytedesk.wechat.work with parameters of type MessageProtobufModifier and TypeMethodDescriptionprivate voidWeChatWorkEventListener.handleLinkMessageSend(MessageProtobuf messageProtobuf, WeChatWorkSessionRequest request) 处理链接消息发送private voidWeChatWorkEventListener.handleLocationMessageSend(MessageProtobuf messageProtobuf, WeChatWorkSessionRequest request) 处理位置消息发送private voidWeChatWorkEventListener.handleMediaMessageSend(MessageProtobuf messageProtobuf, WeChatWorkSessionRequest request, WeChatWorkExtra weChatWorkExtra, String msgType) 处理多媒体消息发送(图片、语音、视频、文件)private voidWeChatWorkEventListener.handleMenuMessageSend(MessageProtobuf messageProtobuf, WeChatWorkSessionRequest request) 处理菜单消息发送private voidWeChatWorkEventListener.sendMessageToWeChatWork(MessageProtobuf messageProtobuf, ThreadEntity thread) 推送消息到企业微信客服