- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 02:32 PM
Hi folks,
Iam new chat bot, i am using OOB topic block " contextual search" in topic flow. In that there is input mapping section has following fields are context(string ) and query(string) , I do not know what would be entered to those field. I have choosen data picker option --script varible showing empty. I whould be entered.Can anyone help me on this.please refer screen shot for better understanding of my query.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 06:40 PM
Hi @anitha0887 ,
The search context or context field value will contain the sys_id of the search context you want to use in the VA topic. This comes from the table 'cxs_context_config' and defines search configuration. If you do not have a script variable, you can create one and add the sys_id by dot-walking to the script variables object in the topic, or you can return the sys_id of the search context directly from the script.
The search query has to be captured. In the search query parameter, you can pass the value from the 'describe issue' block from your VA topic node. You should be able to dot-walk to it using the input variables object.
Hope this helped.
Please accept solution OR mark helpful.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 11:49 AM
Below is the response I get on my PDI, where I do not have AI search
On the instance where I have AI search it works OOTB:
You might need to check your AI search configuration.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 06:40 PM
Hi @anitha0887 ,
The search context or context field value will contain the sys_id of the search context you want to use in the VA topic. This comes from the table 'cxs_context_config' and defines search configuration. If you do not have a script variable, you can create one and add the sys_id by dot-walking to the script variables object in the topic, or you can return the sys_id of the search context directly from the script.
The search query has to be captured. In the search query parameter, you can pass the value from the 'describe issue' block from your VA topic node. You should be able to dot-walk to it using the input variables object.
Hope this helped.
Please accept solution OR mark helpful.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 08:35 AM
I want to use OOB AI search topic block, in input mapping there is field called "search term" whtat value need to be fill.I created simple topic called password reset,i add two steps 1)describe issue 2) AI seacrch .if user enter enter issue , chat bot need to display related article that is what my requirement.I am new to virtual chat bot.refer screenshot for better details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 09:09 AM
For the search query you should be able to pass the input from the describe your issue node.
I was able to get the below response when I passed to AI Search topic the search string policy:
It will also perform a topic discovery.
Please accept solution OR mark helpful.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 10:16 AM
Can you elaborate more on this, how did you pass data to search string parameters ,did you write any script .