koishi-plugin-chatluna-rmkv-adapter
Version:
rwkv adapter for chatluna
14 lines (13 loc) • 515 B
TypeScript
import { ChatLunaPlugin } from 'koishi-plugin-chatluna/services/chat';
import { Context, Schema } from 'koishi';
export declare function apply(ctx: Context, config: Config): void;
export interface Config extends ChatLunaPlugin.Config {
apiKeys: [string, string][];
maxTokens: number;
temperature: number;
presencePenalty: number;
frequencyPenalty: number;
}
export declare const Config: Schema<Config>;
export declare const inject: string[];
export declare const name = "chatluna-rmkv-adapter";