| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -62,20 +62,14 @@ public class AppAiModelServiceImpl extends CrudServiceImpl<AppAiModelDao, AppAiM
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                retList.add(mapx);
 | 
					 | 
					 | 
					 | 
					                retList.add(mapx);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                HashMap<String, Object> meta = new HashMap<>();
 | 
					 | 
					 | 
					 | 
					                HashMap<String, Object> meta = new HashMap<>();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.put("meta", meta);
 | 
					 | 
					 | 
					 | 
					                mapx.put("meta", meta);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("displayName", mapx.get("displayName"));
 | 
					 | 
					 | 
					 | 
					                meta.put("displayname", mapx.get("displayname"));
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("description", mapx.get("description"));
 | 
					 | 
					 | 
					 | 
					                meta.put("description", mapx.get("description"));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("title", mapx.get("title"));
 | 
					 | 
					 | 
					 | 
					                meta.put("title", mapx.get("title"));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("enabled", mapx.get("enabled"));
 | 
					 | 
					 | 
					 | 
					                meta.put("enabled", mapx.get("enabled"));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("category", mapx.get("category"));
 | 
					 | 
					 | 
					 | 
					                meta.put("category", mapx.get("category"));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("metaId", mapx.get("metaId"));
 | 
					 | 
					 | 
					 | 
					                meta.put("id", mapx.get("metaId"));
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("metaTokens", mapx.get("metaTokens"));
 | 
					 | 
					 | 
					 | 
					                meta.put("tokens", mapx.get("metaTokens"));
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                String tags = (String) mapx.get("tags");
 | 
					 | 
					 | 
					 | 
					                mapx.remove("displayname");
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                if (tags!=null && tags.length() > 0) {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    meta.put("tags", Arrays.asList(tags.split("\\,")));
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } else {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    meta.put("tags", new ArrayList<>());
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                }
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.remove("displayName");
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.remove("description");
 | 
					 | 
					 | 
					 | 
					                mapx.remove("description");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.remove("title");
 | 
					 | 
					 | 
					 | 
					                mapx.remove("title");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.remove("enabled");
 | 
					 | 
					 | 
					 | 
					                mapx.remove("enabled");
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -84,23 +78,23 @@ public class AppAiModelServiceImpl extends CrudServiceImpl<AppAiModelDao, AppAiM
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.remove("metaTokens");
 | 
					 | 
					 | 
					 | 
					                mapx.remove("metaTokens");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                String providers = (String) mapx.get("providers");
 | 
					 | 
					 | 
					 | 
					                String providers = (String) mapx.get("providers");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                if (providers!=null && providers.length() > 0) {
 | 
					 | 
					 | 
					 | 
					                if (providers!=null && providers.length() > 0) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    meta.put("providers", Arrays.asList(providers.split("\\,")));
 | 
					 | 
					 | 
					 | 
					                    mapx.put("providers", Arrays.asList(providers.split("\\,")));
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } else {
 | 
					 | 
					 | 
					 | 
					                } else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    meta.put("providers", new ArrayList<>());
 | 
					 | 
					 | 
					 | 
					                    mapx.put("providers", new ArrayList<>());
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                }
 | 
					 | 
					 | 
					 | 
					                }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                HashMap<String, Object> socialData = new HashMap<>();
 | 
					 | 
					 | 
					 | 
					                HashMap<String, Object> socialData = new HashMap<>();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.put("socialData", socialData);
 | 
					 | 
					 | 
					 | 
					                mapx.put("socialData", socialData);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("conversations", mapx.get("conversations"));
 | 
					 | 
					 | 
					 | 
					                socialData.put("conversations", mapx.get("conversations"));
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("likes", mapx.get("likes"));
 | 
					 | 
					 | 
					 | 
					                socialData.put("likes", mapx.get("likes"));
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                meta.put("tokens", mapx.get("tokens"));
 | 
					 | 
					 | 
					 | 
					                socialData.put("tokens", mapx.get("tokens"));
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.remove("conversations");
 | 
					 | 
					 | 
					 | 
					                mapx.remove("conversations");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.remove("likes");
 | 
					 | 
					 | 
					 | 
					                mapx.remove("likes");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                mapx.remove("tokens");
 | 
					 | 
					 | 
					 | 
					                mapx.remove("tokens");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                String suggestions = (String) mapx.get("suggestions");
 | 
					 | 
					 | 
					 | 
					                String suggestions = (String) mapx.get("suggestions");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                if (suggestions!=null && suggestions.length() > 0) {
 | 
					 | 
					 | 
					 | 
					                if (suggestions!=null && suggestions.length() > 0) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    meta.put("suggestions", Arrays.asList(suggestions.split("\\,")));
 | 
					 | 
					 | 
					 | 
					                    mapx.put("suggestions", Arrays.asList(suggestions.split("\\,")));
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } else {
 | 
					 | 
					 | 
					 | 
					                } else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    meta.put("suggestions", new ArrayList<>());
 | 
					 | 
					 | 
					 | 
					                    mapx.put("suggestions", new ArrayList<>());
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                }
 | 
					 | 
					 | 
					 | 
					                }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					        }
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |