@rinkuto/koishi-plugin-chatgpt
Version:
使用open ai的gpt-3.5-turbo模型
31 lines (30 loc) • 817 B
TypeScript
import { Dict, Schema } from 'koishi';
export interface Config {
apiKey: string;
botName: string;
proxyHost: string;
isProxy: boolean;
temperature: number;
maxReplyTokens: number;
maxRequestLength: number;
sampleDialog: Dict<string, string>;
selfIntroduction: string;
presencePenalty: number;
frequencyPenalty: number;
replyRate: number;
maxMemoryLength: number;
isAt: boolean;
isLog: boolean;
isDebug: boolean;
keyWordType: string;
keyWordLength: number;
secretId?: string;
secretKey?: string;
isUseSearch: boolean;
searchNumber?: number;
searchType?: string;
contextType: 'group' | 'person';
reconnectTimes: number;
isImage: boolean;
}
export declare const Config: Schema<Config>;