@zhengxs/wechaty-plugin-assistant
Version:
11 lines (9 loc) • 616 B
TypeScript
import { HunYuanAI, HunYuanAIOptions } from '@zhengxs/ai';
import { ChatLLMAPI, ChatLLMAPIOptions, ChatMessage, SendMessageOptions } from './llm-api';
export type HunYuanChatParams = Partial<HunYuanAI.ChatCompletionCreateParamsNonStreaming>;
export type HunYuanAPIOptions = HunYuanAIOptions & ChatLLMAPIOptions<HunYuanChatParams>;
export declare class HunYuanAPI extends ChatLLMAPI<HunYuanChatParams> {
protected api: HunYuanAI;
constructor(options?: HunYuanAPIOptions);
protected makeRequest(question: ChatMessage, answer: ChatMessage, options: SendMessageOptions<HunYuanChatParams>): Promise<void>;
}