Package com.bytedesk.ai.robot
Class RobotService
java.lang.Object
com.bytedesk.ai.robot.RobotService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageService
private final Optional<SpringAIBaiduService>
private final Optional<SpringAIDashscopeService>
private final Optional<SpringAIDeepseekService>
private final Optional<SpringAIGiteeService>
private final Optional<SpringAIOllamaService>
private final Optional<SpringAISiliconFlowService>
private final Optional<SpringAITencentService>
private final Optional<SpringAIVolcengineService>
private final Optional<SpringAIZhipuaiService>
private final ThreadRestService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
processLlmMessage
(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) void
processSseMemberMessage
(String messageJson, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) void
processSseVisitorMessage
(String messageJson, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) processSyncVisitorMessage
(String messageJson)
-
Field Details
-
springAIDeepseekService
-
springAIZhipuaiService
-
springAIDashscopeService
-
springAIOllamaService
-
springAISiliconFlowService
-
springAIGiteeService
-
springAITencentService
-
springAIBaiduService
-
springAIVolcengineService
-
threadRestService
-
messageService
-
-
Constructor Details
-
RobotService
public RobotService()
-
-
Method Details
-
processSseMemberMessage
public void processSseMemberMessage(String messageJson, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) -
processSseVisitorMessage
public void processSseVisitorMessage(String messageJson, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) -
processSyncVisitorMessage
-
processLlmMessage
private void processLlmMessage(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter)
-