--- title: Improve your RGA implementation slug: p5db0550 canonical_url: https://docs.coveo.com/en/p5db0550/ collection: knowledge-hub source_format: adoc --- # Improve your RGA implementation > **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. By [reviewing answer feedback](https://docs.coveo.com/en/p5db0180/), [inspecting the chunks used by RGA](https://docs.coveo.com/en/p5dc0110/), and [analyzing RGA performance metrics](https://docs.coveo.com/en/p5dc1316/), you can identify opportunities to improve your RGA implementation and refine the generative-answering experience. > **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, modify your content, and modify your RGA implementation configuration. > > ![Coveo Knowledge Hub RGA answer management and improvement step](:https://docs.coveo.com/en/assets/images/leverage-machine-learning/knowledge-hub-flow-manage-step.png) ## How to improve your RGA implementation Depending on the improvements that need to be made to your [RGA](https://docs.coveo.com/en/nbtb6010/) implementation, you can do one or more of the following: * [Create a rule](https://docs.coveo.com/en/p5db0039/) in an answer configuration in the Answer Manager. The rule you create impacts the [RGA](https://docs.coveo.com/en/nbtb6010/)-generated answers for a specific search interface. For example, you can create a rule that prevents an answer from being generated based on the presence of a specific word or series of words in a query. * [Modify the maximum number of items](https://docs.coveo.com/en/nb6a0104#maximum-number-of-items-to-consider) that the [RGA](https://docs.coveo.com/en/nbtb6010/) model considers when retrieving the relevant segments of text (chunks) from which to generate answers. For example, you can decrease this value if you find that answers are being generated using text from low relevance items or documents. * [Modify the relevancy threshold](https://docs.coveo.com/en/nb6a0104#chunk-relevancy-threshold) that's used to determine whether a segment of text (chunk) is relevant enough to be considered by the [RGA](https://docs.coveo.com/en/nbtb6010/) model for answer generation. For example, you can increase the threshold value if you find that answers are being generated using chunks of lower relevance. * Modify the content that you use for [RGA](https://docs.coveo.com/en/nbtb6010/). This is a general category that depends on your particular situation. However, here are some examples of changes you might want to consider: ** Separate one long item into smaller items. This is useful if you find that relevant content isn't being used by [RGA](https://docs.coveo.com/en/nbtb6010/) because of the [chunks per item embedding limit](https://docs.coveo.com/en/nb6a0085#model-embedding-limits). Creating smaller items also keeps your items focused on one topic. If an item covers multiple topics, content may be considered as semantically similar when it isn't. See the [best practices](https://docs.coveo.com/en/nb6a0008#best-practices) for how to optimize your dataset content for [RGA](https://docs.coveo.com/en/nbtb6010/). ** Update your content so it includes the most up-to-date information. ** Create a new item to fill an identified gap in your content. * Modify the [configuration of the query pipeline](https://docs.coveo.com/en/1611/) that's used by [RGA](https://docs.coveo.com/en/nbtb6010/). This requires a good understanding of how the query pipeline configuration and rules impact search results. * [Add a custom prompt instruction](https://docs.coveo.com/en/nb6a0085#add-a-custom-prompt-instruction) for your [RGA](https://docs.coveo.com/en/nbtb6010/) [model](https://docs.coveo.com/en/1012/) to better guide the generative LLM based on your use case. For example, you can add an instruction to tailor the answer to specific roles or audiences, adjust the tone or style of the answer, or provide restrictions so answers don't mention sensitive information.