Package com.braintrustdata.api.models
Class InsertDatasetEvent.Metadata
-
- All Implemented Interfaces:
public final class InsertDatasetEvent.MetadataA 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'sid, or anything else that would be useful to slice/dice later. The values inmetadatacan be any JSON-serializable type, but its keys must be strings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInsertDatasetEvent.Metadata.BuilderA builder for Metadata.
-
Method Summary
Modifier and Type Method Description final Optional<String>model()The model used for this example final JsonField<String>_model()Returns the raw JSON value of model. final Map<String, JsonValue>_additionalProperties()final InsertDatasetEvent.Metadata.BuildertoBuilder()final InsertDatasetEvent.Metadatavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InsertDatasetEvent.Metadata.Builderbuilder()Returns a mutable builder for constructing an instance of Metadata. -
-
Method Detail
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InsertDatasetEvent.Metadata.Builder toBuilder()
-
validate
final InsertDatasetEvent.Metadata validate()
-
builder
final static InsertDatasetEvent.Metadata.Builder builder()
Returns a mutable builder for constructing an instance of Metadata.
-
-
-
-