Class: Braintrust::Models::Dataset

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/dataset.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #initialize, #inspect, #to_h, #to_s

Constructor Details

This class inherits a constructor from Braintrust::BaseModel

Instance Attribute Details

#createdDateTime

Date of dataset creation

Returns:

  • (DateTime)


24
# File 'lib/braintrust/models/dataset.rb', line 24

optional :created, DateTime

#deleted_atDateTime

Date of dataset deletion, or null if the dataset is still active

Returns:

  • (DateTime)


29
# File 'lib/braintrust/models/dataset.rb', line 29

optional :deleted_at, DateTime

#descriptionString

Textual description of the dataset

Returns:

  • (String)


34
# File 'lib/braintrust/models/dataset.rb', line 34

optional :description, String

#idString

Unique identifier for the dataset

Returns:

  • (String)


9
# File 'lib/braintrust/models/dataset.rb', line 9

required :id, String

#metadataHash

User-controlled metadata about the dataset

Returns:

  • (Hash)


39
# File 'lib/braintrust/models/dataset.rb', line 39

optional :metadata, Hash

#name_String

Name of the dataset. Within a project, dataset names are unique

Returns:

  • (String)


14
# File 'lib/braintrust/models/dataset.rb', line 14

required :name_, String

#project_idString

Unique identifier for the project that the dataset belongs under

Returns:

  • (String)


19
# File 'lib/braintrust/models/dataset.rb', line 19

required :project_id, String

#user_idString

Identifies the user who created the dataset

Returns:

  • (String)


44
# File 'lib/braintrust/models/dataset.rb', line 44

optional :user_id, String