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