koishi-plugin-sus-chat
Version:
超简单超棒的AI聊天, 启动!
32 lines (31 loc) • 788 B
TypeScript
import { Schema } from "koishi";
export interface Config {
api: string;
api_key: string;
model: string;
temperature: number;
max_length: number;
prompt: {
pro_prompt: boolean;
prompt_str?: string;
prompt_directory?: string;
default_prompt?: string;
};
functionality: {
persistence: boolean;
extension_count: number;
logging: boolean;
tiggering: {
random_reply: {
enable: boolean;
probability?: number;
};
keywords: {
keywords_for_triggering: string[];
use_regex: boolean;
};
when_direct_reply: boolean;
};
};
}
export declare const Config: Schema<Config>;