UNPKG

llms-client

Version:

A powerful package that enables users to effortlessly connect to various Language Models, including Claude, Bard, and ChatGPT. Stay tuned for upcoming support for Vicuna and Alpaca!

5 lines (4 loc) 182 B
export interface CompletionService { complete(prompt: string, maxTokens: number): Promise<string>; getChatCompletions(messages: Message[], maxTokens: number): Promise<string>; }