REST Resource: projects.locations.datasets

Resource: Dataset

Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "type": enum (Type),
  "ttl": string,
  "createTime": string,
  "updateTime": string
}
Fields
name

string

Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}

displayName

string

Display name for the dataaset

description

string

Dataset description.

type

enum (Type)

Dataset usage type.

ttl

string (Duration format)

Optional. Option TTL for the dataset.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

createTime

string (Timestamp format)

Output only. Dataset create time.

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. Dataset update time.

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".

Type

Type of datasat: For evals or sampled from live traffic.

Enums
TYPE_UNSPECIFIED Default value for unspecified.
EVAL For evals only.
LIVE Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)

Methods

bulkDeleteFeedbackLabels

Delete feedback labels in bulk using a filter.

bulkDownloadFeedbackLabels

Download feedback labels in bulk from an external source.

bulkUploadFeedbackLabels

Upload feedback labels from an external source in bulk.

listAllFeedbackLabels

List all feedback labels by project number.