Class: Braintrust::Models::DatasetFetchResponse::Event
- Defined in:
- lib/braintrust/models/dataset_fetch_response.rb
Instance Attribute Summary collapse
-
#_xact_id ⇒ String
The transaction id of an event is unique to the network operation that processed the event insertion.
-
#created ⇒ String
The timestamp the dataset event was created.
-
#dataset_id ⇒ String
Unique identifier for the dataset.
-
#expected ⇒ Object
The output of your application, including post-processing (an arbitrary, JSON serializable object).
-
#id ⇒ String
A unique identifier for the dataset event.
-
#input ⇒ Object
The argument that uniquely define an input case (an arbitrary, JSON serializable object).
-
#metadata ⇒ Hash
A dictionary with additional data about the test example, model outputs, or just about anything else that's relevant, that you can use to help find and analyze examples later.
-
#project_id ⇒ String
Unique identifier for the project that the dataset belongs under.
-
#root_span_id ⇒ String
The
span_id
of the root of the trace this dataset event belongs to. -
#span_id ⇒ String
A unique identifier used to link different dataset events together as part of a full trace.
-
#tags ⇒ Array<String>
A list of tags to log.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#_xact_id ⇒ String
The transaction id of an event is unique to the network operation that processed the event insertion. Transaction ids are monotonically increasing over time and can be used to retrieve a versioned snapshot of the dataset (see the version
parameter)
27 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 27 required :_xact_id, String |
#created ⇒ String
The timestamp the dataset event was created
32 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 32 required :created, String |
#dataset_id ⇒ String
Unique identifier for the dataset
37 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 37 required :dataset_id, String |
#expected ⇒ Object
The output of your application, including post-processing (an arbitrary, JSON serializable object)
52 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 52 optional :expected, Braintrust::Unknown |
#id ⇒ String
A unique identifier for the dataset event. If you don't provide one, BrainTrust will generate one for you
22 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 22 required :id, String |
#input ⇒ Object
The argument that uniquely define an input case (an arbitrary, JSON serializable object)
57 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 57 optional :input, Braintrust::Unknown |
#metadata ⇒ Hash
A dictionary with additional data about the test example, model outputs, or just about anything else that's relevant, that you can use to help find and analyze examples later. For example, you could log the prompt
, example's id
, or anything else that would be useful to slice/dice later. The values in metadata
can be any JSON-serializable type, but its keys must be strings
62 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 62 optional :metadata, Hash |
#project_id ⇒ String
Unique identifier for the project that the dataset belongs under
67 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 67 optional :project_id, String |
#root_span_id ⇒ String
The span_id
of the root of the trace this dataset event belongs to
42 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 42 required :root_span_id, String |
#span_id ⇒ String
A unique identifier used to link different dataset events together as part of a full trace. See the tracing guide for full details on tracing
47 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 47 required :span_id, String |
#tags ⇒ Array<String>
A list of tags to log
72 |
# File 'lib/braintrust/models/dataset_fetch_response.rb', line 72 optional :tags, Braintrust::ArrayOf.new(String) |