Tagging in Knowledge Graph Designer
Use Knowledge graph tags to mark the key tables, that are important for answering natural language questions for specific use cases.
| Name | Description |
|---|---|
| Enterprise Graph- regular mode | Provides hint to Enterprise Graph on which tables to prioritize when retrieving information, to improve the accuracy of results. It is recommended to only tag up to 30 tables for regular mode as hints to prioritize while searching. |
| Enterprise Graph (Small) |
Provides a list of tables to run the search operation. Enterprise Graph (Small) will only search on the tables provided by tags. It is mandatory to add a tag when Enterprise Graph (Small) is used with any of the prebuilt integration with AI agent, Virtual Agent or Now Assist Panel. You can tag a maximum of 50 tables. Note that to enable querying on columns of table which are references to another table, also include referenced table in tags. |
Creating tags
Knowledge graph ships the following prebuilt tags:
- VIRTUAL AGENT DEFAULT TAG: A prebuilt tag listing common to core, ITSM, and HR tables for integrating Enterprise Graph with the Virtual Agent on the employee portal. Admins can edit this tag to include additional tables relevant for answering Virtual Agent queries.
- NOW ASSIST PANEL DEFAULT TAG: A prebuilt tag listing common to core, ITSM and HR tables which can be leveraged as general tag on Now Assist panel. Admins can edit this tag to add additional important table for answering questions on Now Assist panel.
- Navigate to the admin center for consuming apps.
- For the Now Assist Virtual Agent or Now Assist Panel, go to your virtual agent’s setup, select Information Sources, and open the Knowledge Graph.
- For AI agent, proceed to its setup and open the Knowledge Graph tool for the AI agent.
- Select Enterprise graph or Enterprise Graph (Small) as the KG schema and select the required tag from Tag drop down to link it to graph schema.
sn_kg.va.enable_global_graph_all_modes to true. The role required is Admin.Recommended tables for different use cases
- Now Assist Virtual Agent: For Now Assist Virtual Agent include the tables necessary to answer the expected user queries. For example if you want to deploy a new virtual agent on employee center portal, you should add a tag having tables relevant for answering employee questions.
-
Now Assist Panel: Now Assist Panel operates as a unified assistant across multiple workspaces, hence it is essential to tag tables as follows:
- An individual tag for each workspace that encompasses key tables relevant to that workspace. This ensures the Now Assist panel can deliver responses specific to queries related to the workspace tables when accessed within each workspace.
- Create a general tag that includes the most important tables required to answer users questions on Now Assist panel, allowing the Now Assist panel to provide relevant answers when used outside of any workspace.
- For more information on adding workspace tags in Now Assist Panel, see Add a Knowledge Graph schema to a chat assistant.
-
AI agent: For an AI agent use case, include key tables relevant to the agent's purpose. For example, for asset manager agents User, Asset, and other crucial tables should be included in the tag. For more information, see Add a Knowledge Graph to an AI agent.