--- title: Create rules for generated answers slug: p5db0039 canonical_url: https://docs.coveo.com/en/p5db0039/ collection: knowledge-hub source_format: adoc --- # Create rules for generated answers > **Important** > > The Coveo Knowledge Hub is currently available as a beta to early-access customers only. > Contact your Customer Success Manager for early access to this feature. You can create rules in an [answer configuration](https://docs.coveo.com/en/p5db9314/) in the [Knowledge Hub](https://docs.coveo.com/en/p59f0295/)’s Answer Manager that affect the answers that are generated in a search interface. For example, you can create a rule that prevents an answer from being generated based on the presence of specific words in a query. Rules that you create in an answer configuration apply only to the search interface that's associated with that answer configuration. > **You're here** > > In the [improving your RGA implementation through answer evaluation](https://docs.coveo.com/en/p58d0270#improve-your-rga-implementation-through-answer-evaluation) workflow, you can create rules that impact generated answers based on the insights you acquired when [evaluating the generated answer](https://docs.coveo.com/en/p5db0063/). > > ![Coveo Knowledge Hub RGA answer evaluation create rule step](:https://docs.coveo.com/en/assets/images/leverage-machine-learning/knowledge-hub-flow-create-rule-step.png) To create a rule for generated answers > **Note** > > Rules that you create in an answer configuration apply only to the search interface that's associated with that answer configuration. . Access the [Knowledge Hub](https://docs.coveo.com/en/p59f0295/) by selecting **Knowledge Hub** in the application picker in the Coveo Administration Console header. . In the [Knowledge Hub](https://docs.coveo.com/en/p59f0295/) navigation menu, select **Answer Manager**. . Click the answer configuration that's associated with the search interface for which you want to create an answer rule, and then click **View** in the Action bar. . Select the **Rules** tab. . Click **Add rule**. . Enter a descriptive **Name** for the rule. . In the **Rule type** list, select the desired type of rule to create. > **Note** > > Currently, you can only create a blocking rule. . Enter the **Word or phrase to block**. A blocking rule prevents [RGA](https://docs.coveo.com/en/nbtb6010/) from generating an answer when the query contains the specified word or phrase. . Click **Add**. ## Required privileges The following table indicates the privileges required to access the Coveo Knowledge Hub, and view or edit elements of the Answer Manager and associated panels (see [Manage privileges](https://docs.coveo.com/en/3151/) and [Privilege reference](https://docs.coveo.com/en/1707/)). > **Important** > > Both the **Edit** and **View** access level on the **Answer manager** domain allows the member to view all generated answers for which feedback exists in an answer configuration in the Answer Manager. > This may include content to which the member may not have access to otherwise through the repository's permission system. > > Exercise caution when granting this privilege to members. [cols="3",options="header"] |=== |Action |Service - Domain |Required access level .2+|Access the Coveo Knowledge Hub |Knowledge - Knowledge hub |Allowed |Organization - Organization |View a|* View the answer feedback for an answer configuration in the Answer Manager * View the rules for an answer configuration in the Answer Manager |Knowledge - Answer manager |View a|* Add, edit, or delete answer configurations and rules in the Answer Manager * View the answer feedback for an answer configuration in the Answer Manager |Knowledge - Answer manager |Edit |===