---
title: "PATCH /v2/{+catalog}/conversationalSearchCustomizationConfig"
method: PATCH
path: "/v2/{+catalog}/conversationalSearchCustomizationConfig"
tags: ["projects"]
---

# PATCH /v2/{+catalog}/conversationalSearchCustomizationConfig

`PATCH /v2/{+catalog}/conversationalSearchCustomizationConfig`

Updates the conversational search customization config for a given catalog.

## Path parameters

- `catalog` string, required

## Query parameters

- `updateMask` string

## Request body

- GoogleCloudRetailV2ConversationalSearchCustomizationConfig — The public proto to represent the conversational search customization config. It will be converted to the internal proto in the backend.
  - `catalog` string — Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
  - `retailerDisplayName` string — Optional. The retailer's display name that could be used in our LLM answers. Example - "Google"
  - `intentClassificationConfig` GoogleCloudRetailV2IntentClassificationConfig — The public proto to represent the intent classification config. It will be converted to the internal proto in the backend.
    - `modelPreamble` string — Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.
    - `disabledIntentTypes` string[] — Optional. A list of intent types that will be disabled for this customer. The intent types must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
    - `example` GoogleCloudRetailV2IntentClassificationConfigExample[] — Optional. A list of examples for intent classification.
      - `reason` string — Optional. The reason for the intent classification. This is used to explain the intent classification decision.
      - `classifiedPositive` boolean — Required. Whether the example is classified positively.
      - `query` string — Required. Example query.
      - `intentType` string — Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
    - `blocklistKeywords` string[] — Optional. A list of keywords that will be used to classify the query to the "BLOCKLISTED" intent type. The keywords are case insensitive.
    - `inlineSource` GoogleCloudRetailV2IntentClassificationConfigInlineSource — Inline source for intent classifications.
      - `inlineForceIntents` GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent[] — Optional. A list of inline force intent classifications.
        - `query` string — Optional. A example query.
        - `operation` 'OPERATION_UNSPECIFIED' | 'EXACT_MATCH' | 'CONTAINS' — Optional. The operation to perform for the query.
        - `intentType` string — Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/retail.md) · [All operations](https://skmtc.net/google/apis/retail/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/retail/versions/146c67e59640/schema)
