Class ThreadRobotServiceDelegate
java.lang.Object
com.bytedesk.ticket.thread.delegate.ThreadRobotServiceDelegate
- All Implemented Interfaces:
org.flowable.engine.delegate.JavaDelegate
@Component("threadRobotServiceDelegate")
public class ThreadRobotServiceDelegate
extends Object
implements org.flowable.engine.delegate.JavaDelegate
机器人接待服务
纯机器人类型(THREAD_TYPE_ROBOT)不支持转人工
工作组类型(THREAD_TYPE_WORKGROUP)支持机器人和转人工功能
一对一客服类型(THREAD_TYPE_AGENT)仅支持人工,不应该执行机器人服务
处理客服会话中的机器人自动应答环节
- 接收访客消息
- 调用AI模块进行回复
- 判断是否需要转人工服务
- 仅当访客手动触发时才转人工
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.flowable.engine.delegate.DelegateExecution execution)
-
Constructor Details
-
ThreadRobotServiceDelegate
public ThreadRobotServiceDelegate()
-
-
Method Details
-
execute
public void execute(org.flowable.engine.delegate.DelegateExecution execution) - Specified by:
execute
in interfaceorg.flowable.engine.delegate.JavaDelegate
-