Package com.bytedesk.ai.robot
Class RobotService
java.lang.Object
com.bytedesk.ai.robot.RobotService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageService
private final SpringAIServiceRegistry
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
-
springAIServiceRegistry
-
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)
-