@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
19 lines (18 loc) • 679 B
TypeScript
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>;
/**
* Constant for model variants.
*
* @see {@link ModelVariant}
*
* @public exported from `@promptbook/core`
*/
export declare const MODEL_VARIANTS: readonly ["COMPLETION", "CHAT", "IMAGE_GENERATION", "EMBEDDING"];