class Custom:

A CustomDataSourceConfig object that defines the schema for the data source used for the evaluation runs. This schema is used to define the shape of the data that will be:

  • Used to define your testing criteria and
  • What data is required when creating a run
ItemSchema itemSchema

The json schema for each row in the data source.

JsonValue; type
constant
constant

The type of data source. Always custom.

Optional<Boolean> includeSampleSchema

Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)

class Logs:

A data source config which specifies the metadata property of your logs query. This is usually metadata like usecase=chatbot or prompt-version=v2, etc.

JsonValue; type
constant
constant

The type of data source. Always logs.

Optional<Metadata> metadata

Metadata filters for the logs data source.

class StoredCompletions:

Deprecated in favor of LogsDataSourceConfig.

JsonValue; type
constant
constant

The type of data source. Always stored_completions.

Optional<Metadata> metadata

Metadata filters for the stored completions data source.