Package com.bytedesk.ai.robot
Class RobotService
java.lang.Object
com.bytedesk.ai.robot.RobotService
@Service
@Description("Robot Service - AI robot message processing and LLM integration service")
public class RobotService
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageServiceprivate final SpringAIServiceRegistryprivate final ThreadRestService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprocessLlmMessage(String query, RobotProtobuf robot, MessageProtobuf messageProtobufQuery, MessageProtobuf messageProtobufReply, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) voidprocessSseMemberMessage(String messageJson, org.springframework.web.servlet.mvc.method.annotation.SseEmitter emitter) voidprocessSseVisitorMessage(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)
-