Class EvalListResponse.DataSourceConfig.Logs
-
- All Implemented Interfaces:
public final class EvalListResponse.DataSourceConfig.LogsA LogsDataSourceConfig which specifies the metadata property of your logs query. This is usually metadata like
usecase=chatbotorprompt-version=v2, etc. The schema returned by this data source config is used to defined what variables are available in your evals.itemandsampleare both defined when using this data source config.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalListResponse.DataSourceConfig.Logs.BuilderA builder for Logs.
public final classEvalListResponse.DataSourceConfig.Logs.SchemaThe json schema for the run data source items. Learn how to build JSON schemas here.
public final classEvalListResponse.DataSourceConfig.Logs.MetadataSet of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
Method Summary
-
-
Method Detail
-
schema
final EvalListResponse.DataSourceConfig.Logs.Schema schema()
The json schema for the run data source items. Learn how to build JSON schemas here.
-
_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<EvalListResponse.DataSourceConfig.Logs.Metadata> metadata()
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
_schema
final JsonField<EvalListResponse.DataSourceConfig.Logs.Schema> _schema()
Returns the raw JSON value of schema.
Unlike schema, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<EvalListResponse.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 EvalListResponse.DataSourceConfig.Logs.Builder toBuilder()
-
validate
final EvalListResponse.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 EvalListResponse.DataSourceConfig.Logs.Builder builder()
Returns a mutable builder for constructing an instance of Logs.
The following fields are required:
.schema()
-
-
-
-