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
ItemSchemaitemSchema
The json schema for each row in the data source.
JsonValue;type"custom"
constant
"custom"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)
classLogs:
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"logs"
constant
"logs"constant
The type of data source. Always logs.
Optional<Metadata>metadata
Metadata filters for the logs data source.
classStoredCompletions:
Deprecated in favor of LogsDataSourceConfig.
JsonValue;type"stored_completions"
constant
"stored_completions"constant
The type of data source. Always stored_completions.
Optional<Metadata>metadata
Metadata filters for the stored completions data source.