Class: Braintrust::Models::Dataset
- Defined in:
- lib/braintrust/models/dataset.rb
Instance Attribute Summary collapse
-
#created ⇒ DateTime
Date of dataset creation.
-
#deleted_at ⇒ DateTime
Date of dataset deletion, or null if the dataset is still active.
-
#description ⇒ String
Textual description of the dataset.
-
#id ⇒ String
Unique identifier for the dataset.
-
#metadata ⇒ Hash
User-controlled metadata about the dataset.
-
#name_ ⇒ String
Name of the dataset.
-
#project_id ⇒ String
Unique identifier for the project that the dataset belongs under.
-
#user_id ⇒ String
Identifies the user who created the dataset.
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
#created ⇒ DateTime
Date of dataset creation
24 |
# File 'lib/braintrust/models/dataset.rb', line 24 optional :created, DateTime |
#deleted_at ⇒ DateTime
Date of dataset deletion, or null if the dataset is still active
29 |
# File 'lib/braintrust/models/dataset.rb', line 29 optional :deleted_at, DateTime |
#description ⇒ String
Textual description of the dataset
34 |
# File 'lib/braintrust/models/dataset.rb', line 34 optional :description, String |
#id ⇒ String
Unique identifier for the dataset
9 |
# File 'lib/braintrust/models/dataset.rb', line 9 required :id, String |
#metadata ⇒ Hash
User-controlled metadata about the dataset
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
14 |
# File 'lib/braintrust/models/dataset.rb', line 14 required :name_, String |
#project_id ⇒ String
Unique identifier for the project that the dataset belongs under
19 |
# File 'lib/braintrust/models/dataset.rb', line 19 required :project_id, String |
#user_id ⇒ String
Identifies the user who created the dataset
44 |
# File 'lib/braintrust/models/dataset.rb', line 44 optional :user_id, String |