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

Resource: FeedbackLabel

Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.

JSON representation
{
  "name": string,
  "labeledResource": string,
  "createTime": string,
  "updateTime": string,

  // Union field label_type can be only one of the following:
  "label": string,
  "qaAnswerLabel": {
    object (AnswerValue)
  }
  // End of list of possible types for union field label_type.
}
Fields
name

string

Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedbackLabel}

labeledResource

string

Name of the resource to be labeled. Supported resources are:

  • 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)

Output only. Create time of the label.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. Update time of the label.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Union field label_type. Label type. label_type can be only one of the following:
label

string

String label used for Topic Modeling.

qaAnswerLabel

object (AnswerValue)

QaAnswer label used for Quality AI example conversations.

Methods

create

Create feedback label.

delete

Delete feedback label.

get

Get feedback label.

list

List feedback labels.

patch

Update feedback label.