Package com.bytedesk.ai.utils
Class ConvertAiUtils
java.lang.Object
com.bytedesk.ai.utils.ConvertAiUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RobotMessageResponse
static RobotProtobuf
convertToRobotProtobuf
(RobotEntity entity) static String
static RobotResponse
convertToRobotResponse
(RobotEntity entity) convertToServiceSettingsResponseVisitor
(ServiceSettings serviceSettings) static String
private static org.modelmapper.ModelMapper
-
Constructor Details
-
ConvertAiUtils
public ConvertAiUtils()
-
-
Method Details
-
getModelMapper
private static org.modelmapper.ModelMapper getModelMapper() -
convertToRobotResponse
-
convertToRobotProtobuf
-
convertToRobotProtobufString
-
convertToUserProtobufString
-
convertToServiceSettingsResponseVisitor
public static ServiceSettingsResponseVisitor convertToServiceSettingsResponseVisitor(ServiceSettings serviceSettings) -
convertToRobotMessageResponse
-