UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

16 lines (15 loc) 621 B
import type { TupleToUnion } from 'type-fest'; /** * Model variant describes the very general type of the model * * There are these supported model variants: * - `COMPLETION` - Model that takes prompt and writes the rest of the text * - `CHAT` - Model that takes prompt and previous messages and returns response * - `EMBEDDING` - Model that convert text into vector representations */ export type ModelVariant = TupleToUnion<typeof MODEL_VARIANTS>; /** * @see {@link ModelVariant} * @public exported from `@promptbook/core` */ export declare const MODEL_VARIANTS: readonly ["COMPLETION", "CHAT", "EMBEDDING"];