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!
23 lines (22 loc) • 771 B
TypeScript
export interface ClaudeAIResponse {
completion: string;
stop: string;
stop_reason: string;
truncated: boolean;
log_id: string;
model: string;
exception?: string;
}
/**
* Supported models for querying Claude.
*/
declare type ClaudeModel = 'claude-v1' | 'claude-v1-100k' | 'claude-instant-v1' | 'claude-instant-v1-100k';
/**
* Specific sub-versions of the Claude models.
*/
declare type ClaudeSubVersion = 'claude-v1.3' | 'claude-v1.3-100k' | 'claude-v1.2' | 'claude-v1.0' | 'claude-instant-v1.1' | 'claude-instant-v1.1-100k' | 'claude-instant-v1.0';
/**
* Supported models for querying Claude, including specific sub-versions.
*/
export declare type ClaudeSupportedModel = ClaudeModel | ClaudeSubVersion;
export {};