17 lines
741 B
TypeScript
17 lines
741 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
|
|
/**
|
|
* A request to update the output of a JSON datapoint.
|
|
*
|
|
* We intentionally only accept the `raw` field, because JSON datapoints can contain invalid or malformed JSON for eval purposes.
|
|
*/
|
|
export type JsonDatapointOutputUpdate = {
|
|
/**
|
|
* The raw output of the datapoint. For valid JSON outputs, this should be a JSON-serialized string.
|
|
*
|
|
* This will be parsed and validated against the datapoint's `output_schema`. Valid `raw` values will be parsed and stored as `parsed`, and
|
|
* invalid `raw` values will be stored as-is, because we allow invalid outputs in datapoints by design.
|
|
*/
|
|
raw: string | null;
|
|
};
|