11 lines
566 B
TypeScript
11 lines
566 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { InputMessageContent } from "./InputMessageContent";
|
|
import type { Role } from "./Role";
|
|
|
|
/**
|
|
* InputMessage and Role are our representation of the input sent by the client
|
|
* prior to any processing into LLM representations below.
|
|
* `InputMessage` has a custom deserializer that addresses legacy data formats that we used to support (see input_message.rs).
|
|
*/
|
|
export type InputMessage = { role: Role; content: Array<InputMessageContent> };
|