Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

dynamic condition of the RAG tool in NowAssistSkillKit

ShumaS
Tera Contributor

I want to set dynamic conditions when searching with the NowAssistSkillKit RAG tool.


Example:
Table: Incidents
Condition: assignment_group is (dynamic) One of My Groups


I encountered an error when trying to set the above condition in AI Search Source.

1 ACCEPTED SOLUTION

Brian Bakker
ServiceNow Employee

To use field values from referenced tables in search source filters, facet filters, and EVAM search result configurations, you need to create a dot_walk_fields field settings on your indexed source table. As the value for this field setting, list the names of the referenced table fields you want to index, separated by commas. For example, to index the name field from the table referenced by the 'assignment group' field on the indexed source table, select the assignment group field, set the attribute "dot_walk_fields" and enter value name. Now reindex the Indexed Source for these changes to take effect and test the Search Profile with this Search Source using the AIS Preview tool.

View solution in original post

2 REPLIES 2

Tanushree Maiti
Kilo Patron

Hi @ShumaS 

 

Refer this links ,if it helps:

Under the hood: Now Assist in AI Search

https://www.youtube.com/watch?v=Z2NbMXoC8uM

I want to apply the Now Assist Skill Kit only to specific knowledge bases. 

Now Assist Skill Kit (NASK) FAQ

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:
Learn how to use the Retriever tool to infuse AI search content into your custom skills using our Retrieval Augmented Generation (RAG) framework within Now Assist Skill Kit. Retrievers are tools that allow you to infuse AI search content into your custom skills, using our Retrieval Augmented ...

Brian Bakker
ServiceNow Employee

To use field values from referenced tables in search source filters, facet filters, and EVAM search result configurations, you need to create a dot_walk_fields field settings on your indexed source table. As the value for this field setting, list the names of the referenced table fields you want to index, separated by commas. For example, to index the name field from the table referenced by the 'assignment group' field on the indexed source table, select the assignment group field, set the attribute "dot_walk_fields" and enter value name. Now reindex the Indexed Source for these changes to take effect and test the Search Profile with this Search Source using the AIS Preview tool.