25 lines
863 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ExtraBody } from "./ExtraBody";
import type { InferenceParams } from "./InferenceParams";
import type { JsonInferenceOutput } from "./JsonInferenceOutput";
import type { StoredInput } from "./StoredInput";
import type { JsonValue } from "./serde_json/JsonValue";
export type StoredJsonInference = {
function_name: string;
variant_name: string;
input?: StoredInput;
output?: JsonInferenceOutput;
dispreferred_outputs: Array<JsonInferenceOutput>;
timestamp: string;
episode_id: string;
inference_id: string;
output_schema?: JsonValue;
tags: { [key in string]: string };
extra_body?: Array<ExtraBody>;
inference_params?: InferenceParams;
processing_time_ms?: bigint;
ttft_ms?: bigint;
snapshot_hash?: string;
};