Uses of Class
com.bytedesk.ai.robot.RobotProtobuf
Packages that use RobotProtobuf
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 框架集成的所有类和配置。
Utilities package contains helper classes and common utilities for the AI module.
Zhipuai package contains classes and utilities for Zhipuai API integration.
-
Uses of RobotProtobuf in com.bytedesk.ai.robot
Fields in com.bytedesk.ai.robot declared as RobotProtobufModifier and TypeFieldDescriptionprivate final RobotProtobufRobotService.RobotContext.robotThe field for therobotrecord component.Methods in com.bytedesk.ai.robot that return RobotProtobufModifier and TypeMethodDescriptionprivate RobotProtobufRobotService.buildRobotFromThread(ThreadEntity thread, String threadTopic) 根据线程记录构建机器人信息static RobotProtobufRobotProtobuf.fromEntity(RobotEntity entity) 从 RobotEntity 创建完整的 RobotProtobufstatic RobotProtobufRobotProtobuf.fromEntity(RobotEntity entity, String type) 从 RobotEntity 创建完整的 RobotProtobuf,保留指定的 typestatic RobotProtobufRobotService.RobotContext.robot()Returns the value of therobotrecord component.Methods in com.bytedesk.ai.robot with parameters of type RobotProtobufModifier and TypeMethodDescriptionstatic RobotProtobufBasicRobotProtobufBasic.fromProtobuf(RobotProtobuf protobuf) 从 RobotProtobuf 创建基础协议对象private StringRobotService.getAIProviderName(RobotProtobuf robot) AI提供商选择和处理的公共方法private 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逻辑Constructors in com.bytedesk.ai.robot with parameters of type RobotProtobufModifierConstructorDescriptionprivateRobotContext(ThreadEntity thread, RobotProtobuf robot) Creates an instance of aRobotContextrecord class. -
Uses of RobotProtobuf in com.bytedesk.ai.robot_message
Methods in com.bytedesk.ai.robot_message with parameters of type RobotProtobufModifier and TypeMethodDescriptionstatic MessageProtobufRobotMessageUtils.createRobotMessage(ThreadProtobuf thread, RobotProtobuf robot, MessageProtobuf messageProtobuf) -
Uses of RobotProtobuf in com.bytedesk.ai.robot.settings
Fields in com.bytedesk.ai.robot.settings declared as RobotProtobuf -
Uses of RobotProtobuf in com.bytedesk.ai.service
Methods in com.bytedesk.ai.service with parameters of type RobotProtobufModifier 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) PromptHelper.createRobotStreamContentAnswer(String question, String answer, List<RobotContent.SourceReference> sourceReferences, RobotProtobuf robot) 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 StringBaseSpringAIService.processPromptSync(String message, RobotProtobuf robot) protected abstract voidBaseSpringAIService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) BaseSpringAIService.processSyncRequest(String query, RobotProtobuf robot, boolean searchKnowledgeBase) SpringAIService.processSyncRequest(String query, RobotProtobuf robot, boolean searchKnowledgeBase) 直接处理LLM请求并同步返回结果,支持控制是否查询知识库 主要用于RobotAgentService中的processLlmRequest方法voidTokenUsageHelper.recordAiTokenUsage(RobotProtobuf robot, String aiProvider, String aiModelType, long promptTokens, long completionTokens, boolean success, long responseTime) Record AI token usage statistics by publishing an eventKnowledgeBaseSearchHelper.rerankMergeTopK(SearchResultWithSources raw, RobotProtobuf robot) 聚合/去重/重排并TopK输出protected List<FaqProtobuf>KnowledgeBaseSearchHelper.searchKnowledgeBase(String query, RobotProtobuf robot) protected SearchResultWithSourcesKnowledgeBaseSearchHelper.searchKnowledgeBaseWithSources(String query, RobotProtobuf robot) 搜索知识库并收集源引用信息voidSseMessageHelper.sendDefaultReplySse(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) 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消息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 RobotProtobuf in com.bytedesk.ai.springai.providers.baidu
Methods in com.bytedesk.ai.springai.providers.baidu with parameters of type RobotProtobufModifier 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 StringSpringAIBaiduChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIBaiduService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.coze
Methods in com.bytedesk.ai.springai.providers.coze with parameters of type RobotProtobufModifier 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 StringSpringAICozeService.processPromptSync(String message, RobotProtobuf robot) protected voidSpringAICozeService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) -
Uses of RobotProtobuf in com.bytedesk.ai.springai.providers.custom
Methods in com.bytedesk.ai.springai.providers.custom with parameters of type RobotProtobufModifier 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 StringSpringAICustomChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAICustomService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.dashscope
Methods in com.bytedesk.ai.springai.providers.dashscope with parameters of type RobotProtobufModifier 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 StringSpringAIDashscopeChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIDashscopeService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.deepseek
Methods in com.bytedesk.ai.springai.providers.deepseek with parameters of type RobotProtobufModifier 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 StringSpringAIDeepseekChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIDeepseekService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.dify
Methods in com.bytedesk.ai.springai.providers.dify with parameters of type RobotProtobufModifier 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 StringSpringAIDifyService.processPromptSync(String message, RobotProtobuf robot) 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.recordTokenUsage(RobotProtobuf robot, int inputLength, int outputLength) 记录token使用情况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 RobotProtobuf in com.bytedesk.ai.springai.providers.fastgpt
Methods in com.bytedesk.ai.springai.providers.fastgpt with parameters of type RobotProtobufModifier 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 StringSpringAIFastGptService.processPromptSync(String message, RobotProtobuf robot) protected voidSpringAIFastGptService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) private voidSpringAIFastGptService.recordTokenUsage(RobotProtobuf robot, String response, int inputLength, int outputLength) 记录token使用情况 -
Uses of RobotProtobuf in com.bytedesk.ai.springai.providers.gemini
Methods in com.bytedesk.ai.springai.providers.gemini with parameters of type RobotProtobufModifier 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 StringSpringAIGeminiChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIGeminiService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.gitee
Methods in com.bytedesk.ai.springai.providers.gitee with parameters of type RobotProtobufModifier 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 StringSpringAIGiteeChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIGiteeService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.maxkb
Methods in com.bytedesk.ai.springai.providers.maxkb with parameters of type RobotProtobufModifier and TypeMethodDescriptionprivate StringSpringAIMaxkbService.getApplicationId(RobotProtobuf robot) 获取应用ID 可以从robot配置中获取,或者使用默认值protected 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 StringSpringAIMaxkbService.processPromptSync(String message, RobotProtobuf robot) protected voidSpringAIMaxkbService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) private voidSpringAIMaxkbService.recordTokenUsage(RobotProtobuf robot, String response, int inputLength, int outputLength) 记录token使用情况 -
Uses of RobotProtobuf in com.bytedesk.ai.springai.providers.minimax
Methods in com.bytedesk.ai.springai.providers.minimax with parameters of type RobotProtobufModifier 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 StringSpringAIMinimaxChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIMinimaxService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.n8n
Methods in com.bytedesk.ai.springai.providers.n8n with parameters of type RobotProtobufModifier 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 StringSpringAIN8nService.processPromptSync(String message, RobotProtobuf robot) protected voidSpringAIN8nService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) private voidSpringAIN8nService.recordTokenUsage(RobotProtobuf robot, String response, int inputLength, int outputLength) 记录token使用情况 -
Uses of RobotProtobuf in com.bytedesk.ai.springai.providers.ollama
Methods in com.bytedesk.ai.springai.providers.ollama with parameters of type RobotProtobufModifier 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 StringSpringAIOllamaChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIOllamaService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.openai
Methods in com.bytedesk.ai.springai.providers.openai with parameters of type RobotProtobufModifier 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 StringSpringAIOpenaiChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIOpenaiService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.openrouter
Methods in com.bytedesk.ai.springai.providers.openrouter with parameters of type RobotProtobufModifier 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 StringSpringAIOpenrouterChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIOpenrouterService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.ragflow
Methods in com.bytedesk.ai.springai.providers.ragflow with parameters of type RobotProtobufModifier 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 StringSpringAIRagflowService.processPromptSync(String message, RobotProtobuf robot) protected voidSpringAIRagflowService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) private voidSpringAIRagflowService.recordTokenUsage(RobotProtobuf robot, String response, int inputLength, int outputLength) 记录token使用情况 -
Uses of RobotProtobuf in com.bytedesk.ai.springai.providers.siliconflow
Methods in com.bytedesk.ai.springai.providers.siliconflow with parameters of type RobotProtobufModifier 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 StringSpringAISiliconFlowChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAISiliconFlowService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.tencent
Methods in com.bytedesk.ai.springai.providers.tencent with parameters of type RobotProtobufModifier 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 StringSpringAITencentChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAITencentService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.volcengine
Methods in com.bytedesk.ai.springai.providers.volcengine with parameters of type RobotProtobufModifier 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 StringSpringAIVolcengineChatService.processPromptSync(String message, RobotProtobuf robot) protected StringSpringAIVolcengineService.processPromptSync(String message, RobotProtobuf robot) 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 RobotProtobuf in com.bytedesk.ai.springai.providers.weknora
Methods in com.bytedesk.ai.springai.providers.weknora with parameters of type RobotProtobufModifier 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 StringSpringAIWeknoraService.processPromptSync(String message, RobotProtobuf robot) protected voidSpringAIWeknoraService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) private voidSpringAIWeknoraService.recordTokenUsage(RobotProtobuf robot, String response, int inputLength, int outputLength) 记录token使用情况 -
Uses of RobotProtobuf in com.bytedesk.ai.springai.providers.zhipuai
Methods in com.bytedesk.ai.springai.providers.zhipuai with parameters of type RobotProtobufModifier 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 StringSpringAIZhipuaiChatService.processPromptSync(String message, RobotProtobuf robot) 方式2:同步调用(带prompt参数)protected voidSpringAIZhipuaiChatService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply) 方式1:异步流式调用(带prompt参数) -
Uses of RobotProtobuf in com.bytedesk.ai.utils
Methods in com.bytedesk.ai.utils that return RobotProtobufModifier and TypeMethodDescriptionstatic RobotProtobufConvertAiUtils.convertToRobotProtobuf(RobotEntity entity) -
Uses of RobotProtobuf in com.bytedesk.ai.zhipuai
Methods in com.bytedesk.ai.zhipuai with parameters of type RobotProtobufModifier and TypeMethodDescriptionprivate StringZhipuaiMultiModelService.getModel(RobotProtobuf robot) 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 StringZhipuaiMultiModelService.processPromptSync(String message, RobotProtobuf robot) protected voidZhipuaiMultiModelService.processPromptWebsocket(org.springframework.ai.chat.prompt.Prompt prompt, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply)