chat-ui / src /lib /types /Template.ts
nsarrazin's picture
nsarrazin HF staff
Update websearch prompting & summary prompting (#503)
1e5090f unverified
raw history blame
No virus
344 Bytes
import type { Message } from "./Message";
export type LegacyParamatersTemplateInput = {
preprompt?: string;
userMessageToken: string;
userMessageEndToken: string;
assistantMessageToken: string;
assistantMessageEndToken: string;
};
export type ChatTemplateInput = {
messages: Pick<Message, "from" | "content">[];
preprompt?: string;
};