chat-ui / src /lib /types /Model.ts
Mishig
Count system prompt tokens (#850)
50d8483 unverified
raw history blame
No virus
325 Bytes
import type { BackendModel } from "$lib/server/models";
export type Model = Pick<
BackendModel,
| "id"
| "name"
| "displayName"
| "websiteUrl"
| "datasetName"
| "promptExamples"
| "parameters"
| "description"
| "logoUrl"
| "modelUrl"
| "tokenizer"
| "datasetUrl"
| "preprompt"
| "multimodal"
| "unlisted"
>;