11 lines
483 B
TypeScript
11 lines
483 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { UpdateChatDatapointRequest } from "./UpdateChatDatapointRequest";
|
|
import type { UpdateJsonDatapointRequest } from "./UpdateJsonDatapointRequest";
|
|
|
|
/**
|
|
* A tagged request to update a single datapoint in a dataset.
|
|
*/
|
|
export type UpdateDatapointRequest =
|
|
| ({ type: "chat" } & UpdateChatDatapointRequest)
|
|
| ({ type: "json" } & UpdateJsonDatapointRequest);
|