REST Resource: projects.locations.datasets.conversations.feedbackLabels

資源:FeedbackLabel

代表使用者提供的對話、資源和標籤。可以是字串標籤或 QaAnswer 標籤。QaAnswer 標籤用於 Quality AI 範例對話。字串標籤用於主題模型。AgentAssistSummary 標籤用於 Agent Assist 摘要。

JSON 表示法
{
  "name": string,
  "labeledResource": string,
  "createTime": string,
  "updateTime": string,
  "satisfiesPzi": boolean,
  "satisfiesPzs": boolean,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "label": string,
  "qaAnswerLabel": {
    object (AnswerValue)
  }
  // End of mutually exclusive fields.
}
欄位
name

string

不可變動。FeedbackLabel 的資源名稱。格式:projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedbackLabel}

labeledResource

string

要加上標籤的資源名稱。支援的資源包括:

  • projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}
  • projects/{project}/locations/{location}/issueModels/{issueModel}
  • projects/{project}/locations/{location}/generators/{generatorId}
createTime

string (Timestamp format)

僅供輸出。標籤的建立時間。

使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z"、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30"。

updateTime

string (Timestamp format)

僅供輸出。標籤的更新時間。

使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z"、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30"。

satisfiesPzi

boolean

僅供輸出。這項資源是否為可用區隔離。

satisfiesPzs

boolean

僅供輸出。這項資源是否依可用區分隔。

標籤類型。以下是互斥欄位清單。回應中最多會設定下列其中一個欄位:
label

string

用於主題模型的字串標籤。

qaAnswerLabel

object (AnswerValue)

用於 Quality AI 範例對話的 QaAnswer 標籤。

互斥欄位結束。

方法

create

建立意見回饋標籤。

delete

刪除意見回饋標籤。

get

取得意見回饋標籤。

list

列出意見回饋標籤。

patch

更新意見回饋標籤。