Method: projects.locations.datasets.bulkDownloadFeedbackLabels

從外部來源大量下載意見回饋標籤。目前支援匯出 Quality AI 範例對話,包括轉錄稿和問題主體。

HTTP 要求

POST https://{endpoint}/v1/{parent=projects/*/locations/*/datasets/*}:bulkDownloadFeedbackLabels

其中 {endpoint} 是支援的服務端點。

這些網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

這是必要旗標,新意見回饋標籤的父項資源。

要求主體

要求主體包含下列結構的資料:

JSON 表示法
{
  "filter": string,
  "maxDownloadCount": integer,
  "feedbackLabelType": enum (FeedbackLabelType),
  "conversationFilter": string,
  "templateQaScorecardId": [
    string
  ],

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "gcsDestination": {
    object (GcsDestination)
  },
  "sheetsDestination": {
    object (SheetsDestination)
  }
  // End of mutually exclusive fields.
}
欄位
filter

string

選用。篩選器,可將結果縮小至特定子集。支援 OR 和 AND 運算子。

支援的欄位:

  • issueModelId
  • qaQuestionId
  • qaScorecardId
  • min_create_time
  • max_create_time
  • min_update_time
  • max_update_time
  • feedbackLabelType: QUALITY_AI, TOPIC_MODELING
maxDownloadCount

integer

選用。限制下載的意見回饋標籤數量上限。系統會下載前 N 個意見回饋標籤。

feedbackLabelType

enum (FeedbackLabelType)

選用。要下載的意見回饋標籤類型。

conversationFilter

string

選用。篩選父項對話,下載其意見回饋標籤。指定後,系統會為符合篩選條件的對話下載意見回饋標籤。如果設定 templateQaScorecardId,系統會將符合篩選條件的所有對話,與評量表中的問題配對,以便進行標籤。

templateQaScorecardId[]

string

選用。如果設定,系統會根據 conversationFilter 和評量表下的問題,建立標示對話和評量表問題的範本。系統會忽略意見回饋標籤 filter。

外部資料儲存庫的設定,意見回饋標籤會寫入其中。以下是互斥欄位清單。回應中最多會設定下列其中一個欄位:
gcsDestination

object (GcsDestination)

Cloud Storage bucket 目的地。

sheetsDestination

object (SheetsDestination)

試算表文件目的地。

互斥欄位結束。

回應主體

如果成功,回應主體會包含 Operation 的執行個體。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform

詳情請參閱Authentication Overview。

IAM 權限

需要 parent 資源的下列 IAM 權限:

  • contactcenterinsights.authorizedFeedbackLabels.download
  • contactcenterinsights.datasetFeedbackLabels.download
  • contactcenterinsights.feedbackLabels.download

詳情請參閱 IAM 說明文件。