@promptbook/gemini
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
16 lines (15 loc) • 517 B
TypeScript
import type { TupleToUnion } from 'type-fest';
/**
* Model variant describes the very general type of the model
*
* There are two variants:
* - **COMPLETION** - model that takes prompt and writes the rest of the text
* - **CHAT** - model that takes prompt and previous messages and returns response
*/
export type ModelVariant = TupleToUnion<typeof MODEL_VARIANTS>;
/**
* @@@
*
* @public exported from `@promptbook/core`
*/
export declare const MODEL_VARIANTS: readonly ["COMPLETION", "CHAT", "EMBEDDING"];