Skip to content

How do I integrate articles from a specific knowledge base in service to Amazon connect wisdom

0

I have integrated ServiceNow with Amazon Connect Wisdom for accessing knowledge articles. However, I am encountering an issue where all articles from ServiceNow are being retrieved, but I need only those from a specific knowledge base. To address this, I attempted to modify the URI to:

https://[service_now_instance_name]/nav_to.do?uri=/kb_view.do?sysparm_kb=[kb_systemid]&sysparm_article=${number}

Despite this change, it still fetches all the articles. How can I filter the articles to include only those from the desired knowledge base?

asked 3 years ago960 views

1 Answer
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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.

AWS

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.