Class EvalCreateParams.DataSourceConfig.Logs
-
- All Implemented Interfaces:
public final class EvalCreateParams.DataSourceConfig.LogsA data source config which specifies the metadata property of your logs query. This is usually metadata like
usecase=chatbotorprompt-version=v2, etc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.DataSourceConfig.Logs.BuilderA builder for Logs.
public final classEvalCreateParams.DataSourceConfig.Logs.MetadataMetadata filters for the logs data source.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of data source. final Optional<EvalCreateParams.DataSourceConfig.Logs.Metadata>metadata()Metadata filters for the logs data source. final JsonField<EvalCreateParams.DataSourceConfig.Logs.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.DataSourceConfig.Logs.BuildertoBuilder()final EvalCreateParams.DataSourceConfig.Logsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.DataSourceConfig.Logs.Builderbuilder()Returns a mutable builder for constructing an instance of Logs. -
-
Method Detail
-
_type
final JsonValue _type()
The type of data source. Always
logs.Expected to always return the following:
JsonValue.from("logs")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
metadata
final Optional<EvalCreateParams.DataSourceConfig.Logs.Metadata> metadata()
Metadata filters for the logs data source.
-
_metadata
final JsonField<EvalCreateParams.DataSourceConfig.Logs.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EvalCreateParams.DataSourceConfig.Logs.Builder toBuilder()
-
validate
final EvalCreateParams.DataSourceConfig.Logs validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static EvalCreateParams.DataSourceConfig.Logs.Builder builder()
Returns a mutable builder for constructing an instance of Logs.
-
-
-
-