Uses of Class
com.bytedesk.ai.robot.RobotEntity
Packages that use RobotEntity
Package
Description
Robot package contains classes for managing AI robots/agents.
Utilities package contains helper classes and common utilities for the AI module.
-
Uses of RobotEntity in com.bytedesk.ai.robot
Fields in com.bytedesk.ai.robot with type parameters of type RobotEntityModifier and TypeFieldDescriptionprivate List<RobotEntity>RobotExcelListener.cachedDataList缓存的数据Methods in com.bytedesk.ai.robot that return RobotEntityModifier and TypeMethodDescriptionRobotRestService.convertExcelToRobot(RobotExcel excel, String kbType, String fileUid, String kbUid, String orgUid) protected RobotEntityRobotRestService.doSave(RobotEntity entity) RobotRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, RobotEntity entity) Methods in com.bytedesk.ai.robot that return types with arguments of type RobotEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<RobotEntity>RobotRestService.createSpecification(RobotRequest request) protected org.springframework.data.domain.Page<RobotEntity>RobotRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<RobotEntity> spec, org.springframework.data.domain.Pageable pageable) RobotRepository.findByLevelAndDeletedFalseAndType(String level, String type) RobotRepository.findByNameAndOrgUidAndDeletedFalse(String name, String orgUid) RobotRestService.findByNameAndOrgUidAndDeletedFalse(String name, String orgUid) static org.springframework.data.jpa.domain.Specification<RobotEntity>RobotSpecification.search(RobotRequest request, AuthService authService) Methods in com.bytedesk.ai.robot with parameters of type RobotEntityModifier and TypeMethodDescriptionRobotRestService.convertToExcel(RobotEntity entity) RobotRestService.convertToResponse(RobotEntity entity) protected RobotEntityRobotRestService.doSave(RobotEntity entity) static RobotProtobufRobotProtobuf.fromEntity(RobotEntity entity) 从 RobotEntity 创建完整的 RobotProtobufstatic RobotProtobufRobotProtobuf.fromEntity(RobotEntity entity, String type) 从 RobotEntity 创建完整的 RobotProtobuf,保留指定的 typestatic RobotProtobufBasicRobotProtobufBasic.fromEntity(RobotEntity entity) 从 RobotEntity 创建基础协议对象RobotRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, RobotEntity entity) voidRobotEntityListener.onPostPersist(RobotEntity robot) Method parameters in com.bytedesk.ai.robot with type arguments of type RobotEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<RobotEntity>RobotRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<RobotEntity> spec, org.springframework.data.domain.Pageable pageable) voidRobotRestService.save(List<RobotEntity> entities) -
Uses of RobotEntity in com.bytedesk.ai.robot.event
Fields in com.bytedesk.ai.robot.event declared as RobotEntityConstructors in com.bytedesk.ai.robot.event with parameters of type RobotEntity -
Uses of RobotEntity in com.bytedesk.ai.robot.settings
Fields in com.bytedesk.ai.robot.settings declared as RobotEntity -
Uses of RobotEntity in com.bytedesk.ai.utils
Methods in com.bytedesk.ai.utils with parameters of type RobotEntityModifier and TypeMethodDescriptionstatic RobotProtobufConvertAiUtils.convertToRobotProtobuf(RobotEntity entity) static StringConvertAiUtils.convertToRobotProtobufBasicString(RobotEntity entity) 转换为精简版机器人协议 JSON 字符串static StringConvertAiUtils.convertToRobotProtobufString(RobotEntity entity) static RobotResponseConvertAiUtils.convertToRobotResponse(RobotEntity entity) static StringConvertAiUtils.convertToUserProtobufString(RobotEntity entity) -
Uses of RobotEntity in com.bytedesk.service.routing_strategy
Methods in com.bytedesk.service.routing_strategy that return RobotEntityModifier and TypeMethodDescriptionprivate RobotEntityRobotThreadRoutingStrategy.getRobotEntity(String robotUid) 获取机器人实体Methods in com.bytedesk.service.routing_strategy with parameters of type RobotEntityModifier and TypeMethodDescriptionprivate ThreadEntityRobotThreadRoutingStrategy.getOrCreateRobotThread(VisitorRequest request, RobotEntity robotEntity, String topic) 获取或创建机器人会话private MessageProtobufRobotThreadRoutingStrategy.getRobotContinueMessage(VisitorRequest request, RobotEntity robotEntity, ThreadEntity thread) 获取机器人继续对话消息private MessageProtobufWorkgroupThreadRoutingStrategy.getRobotContinueMessage(RobotEntity robotEntity, ThreadEntity thread) 获取机器人继续对话消息private StringRobotThreadRoutingStrategy.getRobotWelcomeMessage(VisitorRequest visitorRequest, RobotEntity robotEntity) private StringWorkgroupThreadRoutingStrategy.getRobotWelcomeMessage(VisitorRequest visitorRequest, RobotEntity robotEntity) 获取机器人欢迎消息private MessageProtobufRobotThreadRoutingStrategy.handleExistingRobotThread(VisitorRequest request, RobotEntity robotEntity, ThreadEntity thread) 处理现有的机器人会话private MessageProtobufRobotThreadRoutingStrategy.processNewRobotThread(VisitorRequest request, ThreadEntity thread, RobotEntity robotEntity) 处理新的机器人会话WorkgroupThreadRoutingStrategy.routeToRobot(VisitorRequest visitorRequest, ThreadEntity threadFromRequest, RobotEntity robotEntity, WorkgroupEntity workgroup) 路由到机器人 -
Uses of RobotEntity in com.bytedesk.service.utils
Methods in com.bytedesk.service.utils with parameters of type RobotEntityModifier and TypeMethodDescriptionstatic WelcomeContentWelcomeContentUtils.buildRobotWelcomeContent(RobotEntity robot) static WelcomeContentWelcomeContentUtils.buildRobotWelcomeContent(RobotEntity robot, String tip) static StringWelcomeContentUtils.resolveRobotWelcomeTip(RobotEntity robot) Resolve welcome tip for robot with fallback to default rules in caller. -
Uses of RobotEntity in com.bytedesk.service.visitor_thread
Methods in com.bytedesk.service.visitor_thread with parameters of type RobotEntityModifier and TypeMethodDescriptionprivate StringVisitorThreadService.buildRobotExtra(VisitorRequest visitorRequest, RobotEntity robot) 根据请求与机器人实体构建 thread.extra - 普通渠道:构建 ServiceSettingsResponseVisitor JSON 若 debug=true 且 settingsUid 非空,则优先使用指定 settings 进行预览VisitorThreadService.createRobotThread(VisitorRequest visitorRequest, RobotEntity robot, String topic) VisitorThreadService.reInitRobotThreadExtra(VisitorRequest visitorRequest, ThreadEntity thread, RobotEntity robot)