{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":7090,"path":"customer-service-management/predictive-intelligence-for-csm.md","title":"Predictive Intelligence for CSM solution definitions","bundle":null,"doc_type":null,"release":"australia","body":"\n# Predictive Intelligence for CSM solution definitions\n\nUse your instance records to build Customer Service Management specific solutions.\n\n## Solution definitions\n\nThese solution definitions are available as templates on instances where both Predictive Intelligence and Customer Service Management are active. Create your own solution definition records to customize the behavior.\n\n<table id=\"table_bdh_nzs_kbb\"><thead><tr><th>\n\nSolution Definition\n\n</th><th>\n\nSolution Type\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nCSM Case Assignment\n\n</td><td>\n\nClassification\n\n</td><td>\n\nPredicts the **Assignment group** field from the **Short description**.\n\n</td></tr><tr><td>\n\nCSM Case Categorization\n\n</td><td>\n\nClassification\n\n</td><td>\n\nPredicts the **Category** field from the **Short description**.\n\n</td></tr><tr><td>\n\nCSM Case Prioritization\n\n</td><td>\n\nClassification\n\n</td><td>\n\nPredicts the **Priority** field from the **Short description**.\n\n</td></tr><tr><td>\n\nGrouping of Cases into Topics\n\n</td><td>\n\nClustering\n\n</td><td>\n\nClusters similar cases into topics based on the **Short description**.\n\n</td></tr><tr><td>\n\nAll Similar Cases\n\n</td><td>\n\nSimilarity\n\n</td><td>\n\nRecommends similar cases based on the **Short description** that can help customer service agents with case investigation and resolution processes.\n\n</td></tr><tr><td>\n\nRecommended Open Cases\n\n</td><td>\n\nSimilarity\n\n</td><td>\n\nRecommends similar open cases based on the **Short description**.\n\n</td></tr><tr><td>\n\nRecommended Resolved Cases\n\n</td><td>\n\nSimilarity\n\n</td><td>\n\nRecommends similar resolved cases based on the **Short description**.\n\n</td></tr><tr><td>\n\nMajor Issue Detector\n\n</td><td>\n\nSimilarity\n\n</td><td>\n\nProvides recommendations for major issues based on the **Short description**. -   Recommends one or more major cases, if available.\n-   Otherwise, recommends similar cases that are not linked as child cases to a major case.\n\n</td></tr><tr><td>\n\nSimilar Knowledge Articles\n\n</td><td>\n\nSimilarity\n\n</td><td>\n\nRecommends similar knowledge articles by comparing the **Text**, **Short description**, and **Description** fields of knowledge articles to the **Short description** of the customer service case.\n\n</td></tr><tr><td>\n\nSimilar Knowledge Articles All\n\n</td><td>\n\nSimilarity\n\n</td><td>\n\nRecommends similar knowledge articles by comparing fields in the Knowledge View database view \\[sn\\_customerservice\\_knowledge\\_view\\] with the **Short description** of the customer service case. **Note:** This solution definition is used in the Auto-Responder feature. For more information, see [Train the similarity solution for finding Auto-Responder notification content](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/train-sol-defn-auto-responder.md).\n\n</td></tr></tbody>\n</table>## Business rules for classification solutions\n\nThese business rules apply only to the CSM Case Assignment, CSM Case Categorization, and CSM Case Prioritization solution definitions. The rules are available only on instances where both Predictive Intelligence and Customer Service Management are active. Create your own business rules on the Case \\[sn\\_customerservice\\_case\\] table to customize prediction and reporting behaviors.\n\n|Business rule|Table|Description|\n|-------------|-----|-----------|\n|Default Case Based Prediction|Case \\[sn\\_customerservice\\_case\\]|Generates prediction results from the active Customer Service Management solutions. Runs when a case record is inserted.|\n|Update Prediction Results|Case \\[sn\\_customerservice\\_case\\]|Updates the solution precision and coverage statistics. Runs when a case record is closed.|\n\n**Upgrade Information**\n\nIf your instance is running on the Kingston release and you are upgrading to the Australia release:\n\n-   Use the Default Case Based Prediction business rule template to create a new business rule. This rule includes a Solution variable that gets all active solutions retrieved by the findActiveSolution\\(solutionName\\) method.\n-   In a global domain environment, use the solutionNames array variable which requires that you explicitly provide the solutions that are called by the business rule.\n-   In a domain-separated environment, such as an MSP environment, refer to the commented code in the business rule template for easy customization.\n-   The business rule template calls the applyPredictionForSolution\\(\\) method to predict regardless of any changes to the default value.\n\n**Maintaining prediction accuracy**\n\nYou can manage prediction drift by retraining, modifying, or creating solutions to reflect changes in your business conditions. Test and modify your business rule over time to verify it works as desired across multiple consumption points and user personas.\n\n**Related topics**  \n\n\n[Similar case/recommendation](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/customer-service-similar-cases.md)\n\n"}}