Conversational search
Plus Enterprise
Use conversational search with the IBM Watson® Discovery search integration or Elasticsearch search integration to help your assistant extract an answer from the highest-ranked query results and return a text response to the user.
When you enable this feature, search results are provided to an IBM watsonx generative AI model that produces a conversational reply to a user's question.
The watsonx generative AI model is currently hosted only in the Dallas and Frankfurt regions. By default, assistants in all regions except Frankfurt
use the model from the Dallas
region.
To use conversational search, you must have a Plus or Enterprise plan.
If you enable the conversational search toggle to on
, you agree to the add-on pricing and terms. Conversational search add-on usage charges will apply from 1 June 2024. For more information about pricing plans, see Pricing plans. For more information about terms, see Terms.
Refer to the following topics to configure the conversational search in your assistant:
- Before you begin
- Enable conversational search
- Configure your assistant to use conversational search
- Test conversational search
- Streaming response support
Before you begin
You must configure the search integration to enable the conversational search feature. For more information about configuring IBM Watson® Discovery search integration, see Discovery search integration setup. For more information about configuring Elasticsearch integration, see Elasticsearch search integration setup.
Enable conversational search
You can enable the Conversational search in the Search Integration
window by setting the Conversational search toggle to On
.
You can type How do we know?
as a default text in the Define the text for the citation title. The citation title in the Conversational search shows how the responses are generated from various sources
and displays the sources of the searched responses. The text in the citation title appears in between the response and the citation titles.
Citation title feature is not supported in web chat integration.
The Define the text for the citation title is enabled only when Conversational search toggle is switched to On
. In the Tendency to say I don’t know, Less often
is selected
by default because the conversational search provides answers most of the times.
Click Save
to finish.
For more information about configuring Discovery, see Discovery configure. For more information about configuring Elasticsearch, see Elasticsearch configure.
Configure your assistant to use the conversational search
After you enable Conversational search on Search integration, you can enable Search routing to use conversational Search. For more information about search routing, see Configuring the search routing when no action matches.
Test conversational search
You can test the conversational search in actions preview, the preview page, or by using the preview link.
In this example, the user asks, Tell me about a custom extension
. Search results are pulled from your knowledge base when the conversational search is Off
. In this case, the answer is returned as a list of cards that
are relevant to custom extensions.
When the conversational search is On
, the same search results are pulled from your knowledge base. The results are passed to an IBM watsonx generative AI model. This model produces a conversational reply to the user's question,
in the form of a text response about custom extensions.
The citation title feature is not supported in the web chat integration. So, the default text in the citation title is not displayed in the preceding image.
Streaming response support
Streaming response from the conversational search uses watsonx.ai capabilities to provide continuous, real-time responses in your assistant. By default, the streaming response is disabled for the web chat and the assistant preview panels.
By using the streaming response support feature, you can reduce the wait time for the response.
To enable streaming response, do the following:
- Go to Home > Preview > Customize web chat.
- Click the Styles tab.
- Set the Streaming toggle button to
On
. - Click Save and exit.