16 lines
621 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Role } from "./Role";
import type { StoredContentBlock } from "./StoredContentBlock";
/**
* The message type that we directly store in ClickHouse.
* This is almost identical to `RequestMessage`, but without `File` data.
* Only the object-storage path is actually stored in clickhouse
* The `RequestMessage/StoredRequestMessage` pair is the model-level equivalent
* of `ResolvedInput/StoredInput`
*/
export type StoredRequestMessage = {
role: Role;
content: Array<StoredContentBlock>;
};