ConversationalFilteringSpec

This field specifies all conversational filtering related parameters addition to conversational retail search.

JSON representation
{
  "enableConversationalFiltering": boolean,
  "userAnswer": {
    object (UserAnswer)
  },
  "conversationalFilteringMode": enum (Mode)
}
Fields
enableConversationalFiltering
(deprecated)

boolean

Optional. This field is deprecated. Please use ConversationalFilteringSpec.conversational_filtering_mode instead.

userAnswer

object (UserAnswer)

Optional. This field specifies the current user answer during the conversational filtering search. It can be either user selected from suggested answers or user input plain text.

conversationalFilteringMode

enum (Mode)

Optional. Mode to control Conversational Filtering. Defaults to Mode.DISABLED if it's unset.

UserAnswer

This field specifies the current user answer during the conversational filtering search. This can be either user selected from suggested answers or user input plain text.

JSON representation
{

  // Union field type can be only one of the following:
  "textAnswer": string,
  "selectedAnswer": {
    object (SelectedAnswer)
  }
  // End of list of possible types for union field type.
}
Fields
Union field type. This field specifies the type of user answer. type can be only one of the following:
textAnswer

string

This field specifies the incremental input text from the user during the conversational search.

selectedAnswer

object (SelectedAnswer)

Optional. This field specifies the selected answer during the conversational search. This should be a subset of [ConversationalSearchResponse.followup_question.suggested_answers][].

SelectedAnswer

This field specifies the selected answers during the conversational search.

JSON representation
{
  "productAttributeValue": {
    object (ProductAttributeValue)
  }
}
Fields
productAttributeValue

object (ProductAttributeValue)

Optional. This field specifies the selected answer which is a attribute key-value.

Mode

Enum to control Conversational Filtering mode.

Enums
MODE_UNSPECIFIED Default value.
DISABLED Disable Conversational Filtering.
ENABLED Enabled Conversational Filtering with default Conversational Search.
CONVERSATIONAL_FILTER_ONLY Enabled Conversational Filtering without default Conversational Search.