1 Answer
- Newest
- Most votes
- Most comments
0
To integrate articles from a specific knowledge base in Amazon Q when using ServiceNow as a data source, you need to adjust the API configuration within Amazon Q in Connect rather than just modifying the URI. The URI you've tried is used for general navigation, not filtering the knowledge base articles during API calls. Here’s what you can do:
- Use Amazon Q’s API capabilities: Amazon Q integrates with third-party data sources through its APIs, which allow fine-tuning on how knowledge base articles are retrieved and filtered. You need to ensure that your ServiceNow API requests include parameters to limit the search to a specific knowledge base.
- Filter at the API level: In ServiceNow’s API call, include the appropriate sysparm_query parameter or equivalent filtering parameter (specific to the knowledge base) to retrieve only the articles from the desired knowledge base.
- Adjust the Amazon Q in Connect configuration: You can now leverage and customize the AI Prompts in Amazon Q to incorporate a condition that filters the retrieved data. Use Amazon Q’s session variables or custom attributes to add context during the retrieval process, ensuring the query is scoped to the required knowledge base.
- Use AI Agents: You can also customize Amazon Q with AI Agents, you can modify the agents to include logic that applies a filter based on the knowledge base. This can be done through the contentTagFilter configuration of the AI Agent, ensuring only articles tagged with your knowledge base identifier are fetched.
By making sure these adjustments are properly configured within both ServiceNow’s API and Amazon Q’s integration customization, you’ll be able to limit the articles to those from the specific knowledge base.
answered 2 years ago
Relevant content
asked 4 years ago
- AWS OFFICIALUpdated 4 years ago
