Conversations Search

Conversations Plugin is a search plugin that supports hybrid search. It displays the latest 8 conversations or queries. It allows you to switch between different collections using the focus setting to get more relevant search results.

To access the Conversations plugin, use the provided link in your build.
https://localhost:8443/conversations/index.html

Prerequisite

Configuration of facet.js

To enable focus options in the Conversations Plugin, open the facet.js file and set "enabled": true under "showFocusOptions". After enabling it, add the required collection and chatbot details as shown in the example.

"showFocusOptions": {
      "enabled": true,
      "focusCollectionOptions": [
         {
            "displayname": "---enter display name---",
            "col_name": "---enter collection name---",
            "col_id": "---enter collection id---",
            "chatbotname": "---enter chatbot name---",
            "smartSuggest": "---enter smartsuggest cname---",
            "trendingSearch": "---enter trending search cname---"
         },  
  	  {
            "displayname": "---enter display name---",
            "col_name": "---enter collection name---",
            "col_id": "---enter collection id---",
            "chatbotname": "---enter chatbot name---",
            "smartSuggest": "---enter smartsuggest cname---",
            "trendingSearch": "---enter trending search cname---"
         },
      ]
   },

📘

NOTE:

For chatbotName, smartSuggest, and trendingSearch to function, ensure that chatbot/smartSuggest/trendingSearch is enabled and set to true in the facet.js file, as shown below.

"chatBot": {
      "enabled": true,
      "domain": "",
      "name": "",
      "idleTimeOut": 30, //in minutes
      "suggestions": false,
   },
   "smartSuggest": {
      "enable": true,
      "domain": "",
      "isSBDomain": true,
      "cname": "",
      "limit": "5",
      "language": "en"
   },
   "trendingSearch": {
      "enabled": true,
      "cname": "",
      "limit": "5"
   },

Home Page features

  1. The Library section on the left menu shows your 8 most recent search queries.
  2. The Focus dropdown in the search box lets you select and switch between collections that are configured in the facet.js file.

Results Page Features

Left Side:

  • At the top, you will see the first eight search results.
  • Below that, the AI Overview and SmartFAQ results are displayed.
  • The search interface includes:
  • Plugin Settings – Used to access AI features such as ChatBot, AI Overview, Recommendations, LLM-generated Fields, and AI Assist.
  • Search Settings – Used to adjust the keyword and vector values for search.

Right Side:

  • A list of image results.
  • Personalized AI-Recommendation results.

📘

NOTE:

To make any modification in the plugin, click on the below link:
Conversation Plugin