RAG retriever - Fields returned

TƩrenceJouan
Tera Expert

Hello,
I'm trying to implement a custom skill that uses a RAG retriever. The skill takes an incident record as input and I would like to use a RAG retriever in order to look for resolutions on similar incidents. I configured the retriever to use a search profile linked to an indexed source based on incident table. In the ā€˜Fields returned’ field, I would like to be able to select ā€˜Resolution notes’ [close_notes] however this field is not presented (cf. attachment). I can't find any documentation explaining how is built this list of fields and where could we add other fields.
Do you have any information to share ?
Thanks

1 ACCEPTED SOLUTION

TƩrenceJouan
Tera Expert

Case solved with ServiceNow support help : Fields returned are only the ones explicitly defined on the linked tables. For fields defined at a higher level, we need to include those tables in the indexed sources.

View solution in original post

3 REPLIES 3

TƩrenceJouan
Tera Expert

Case solved with ServiceNow support help : Fields returned are only the ones explicitly defined on the linked tables. For fields defined at a higher level, we need to include those tables in the indexed sources.

Muskan Dixit
Tera Contributor

Hi,

 

I am also trying to do the same thing and need to add assignment group field, could you please elaborate your response and let me know where exactly we need to add it.

 

Regards,

Muskan Dixit

Hello Muskan,

As assignment_group field is defined on task table, you need to add an indexed source based on this table (you can add filters like Task type = incident to limit the query) on your retriever search profile. Then, within your retriever configuration, you could add the task search source and finally select task.assignment_group in the fields returned.

 

Regards,

 

TƩrence