Package com.braintrustdata.api.models
Class InsertProjectLogsEvent.Metadata
-
- All Implemented Interfaces:
public final class InsertProjectLogsEvent.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 classInsertProjectLogsEvent.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 InsertProjectLogsEvent.Metadata.BuildertoBuilder()final InsertProjectLogsEvent.Metadatavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InsertProjectLogsEvent.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 InsertProjectLogsEvent.Metadata.Builder toBuilder()
-
validate
final InsertProjectLogsEvent.Metadata validate()
-
builder
final static InsertProjectLogsEvent.Metadata.Builder builder()
Returns a mutable builder for constructing an instance of Metadata.
-
-
-
-