AWS Security ChangesHomeSearch

AWS amazonq documentation change

Service: amazonq · 2025-10-19 · Documentation low

File: amazonq/latest/qbusiness-ug/relevancy-tuning.md

Summary

Added detailed documentation for setting relevancy preferences including console procedures and AWS CLI examples for boosting based on document recency and data sources

Security assessment

The changes focus on search relevancy tuning features rather than addressing security vulnerabilities. The documentation explains prioritization of document attributes for query responses without mentioning security controls or vulnerabilities.

Diff

diff --git a/amazonq/latest/qbusiness-ug/relevancy-tuning.md b/amazonq/latest/qbusiness-ug/relevancy-tuning.md
index dd74235ef..864d32f13 100644
--- a//amazonq/latest/qbusiness-ug/relevancy-tuning.md
+++ b//amazonq/latest/qbusiness-ug/relevancy-tuning.md
@@ -5 +5 @@
-RecencySourcesRank order
+RecencySourcesRank orderSetting relevancy preferences
@@ -31 +31 @@ For more information, see [Understanding boosting in Amazon Q Business](https://
-  * [Setting relevancy preferences](./setting-relevancy-preferences.html)
+  * Setting relevancy preferences
@@ -55,0 +56,97 @@ If you enable both preferences, you can also set the rank order of the **Recency
+## Setting relevancy preferences
+
+The following tabs provide a procedure to tune the query responses based on document attributes using the console and code examples for the AWS CLI.
+
+Console
+    
+
+**To tune the relevancy based on recency or data source**
+
+  1. Sign in to the AWS Management Console and open the Amazon Q Business console.
+
+  2. In **Applications** , select the name of your application environment from the list of applications.
+
+  3. From the left navigation menu under **Enhancements** , choose **Relevance tuning**. 
+
+  4. Enable the attributes to tune the query responses. 
+
+  5. Drag the attribute to the order you want to prioritize the attributes. 
+
+  6. To prioritize responses from more recent documents, in **Recency** , set the **Recency Type** and **Boosting duration**. In **Recency Type** , choose the metadata field you want to use. For **Boosting duration** , choose the time periods to prioritize when searching through data sources. Documents that were created or updated outside of the specified time periods will not have additional boosting or priority. 
+
+  7. To prioritize based on data sources, in **Sources** , choose a data source, and choose **Add a source**. You can choose up to five data sources to search for documents. Rank the data source based to define the priority to be used for responses. 
+
+
+
+
+AWS CLI
+    
+
+**Update your Amazon Q Business index to apply relevancy tuning**
+
+This example shows how to increase the relevancy based on the `_last_update_at` metadata field. In this example, replace each `user input placeholder` with your own information:
+    
+    
+    aws qbusiness --region region update-retriever \
+      --application-id application_id \
+      --retriever-id retriever_id \
+      --configuration '{
+        "nativeIndexConfiguration": {
+            "indexId": "index_id",
+            "boostingOverride": {
+              "_last_updated_at"|"_created_at": {
+                "dateConfiguration": {
+                  "boostingLevel": "ONE"|"TWO",
+                  "boostingDurationInSeconds": long;
+                }
+              },
+              "_data_source_id": {
+                "stringConfiguration": {
+                  "boostingLevel": "ONE"|"TWO",
+                  "attributeValueBoosting": {
+                    "data_source_id_1": "ONE"|"TWO"|"THREE"|"FOUR"|"FIVE",
+                    "data_source_id_1": "ONE"|"TWO"|"THREE"|"FOUR"|"FIVE",
+                    ...
+                  }
+                }
+              }
+            }
+        }
+      }'							
+    						
+
+This example shows an example input. Replace each `user input placeholder` with your own information:
+    
+    
+    aws qbusiness --region us-west-2 update-retriever \
+      --endpoint-url https://endpoint-url \
+      --application-id application_id
+      --retriever-id retriever_id \
+      --configuration '{
+        "nativeIndexConfiguration": {
+            "indexId": "index_id",
+            "boostingOverride": {
+              "_last_updated_at": {
+                "dateConfiguration": {
+                  "boostingLevel": "ONE",
+                  "boostingDurationInSeconds": 100
+                }
+              },
+              "_data_source_id": {
+                "stringConfiguration": {
+                  "boostingLevel": "TWO",      
+                  "attributeValueBoosting": {
+                    "data_source_id_1": "ONE",
+                    "data_source_id_1": "TWO",
+                    "data_source_id_1": "THREE",
+                    "data_source_id_1": "FOUR",
+                    "data_source_id_1": "FIVE"
+                  }
+                }
+              }
+            }
+        }
+      }'							
+    							
+    						
+
@@ -64 +161 @@ Downloading images to add to responses (API operations)
-Setting relevancy preferences
+Metadata boosting (Legacy)