deep-chat-dev
Version:
Customizable chat component for AI APIs
22 lines • 576 B
TypeScript
import { ChatFunctionHandler } from './openAI';
export interface KimiChat {
model?: string;
temperature?: number;
max_tokens?: number;
top_p?: number;
frequency_penalty?: number;
presence_penalty?: number;
stop?: string | string[];
system_prompt?: string;
tools?: {
type: 'function';
function: {
name: string;
description?: string;
parameters: object;
};
}[];
function_handler?: ChatFunctionHandler;
}
export type Kimi = true | KimiChat;
//# sourceMappingURL=kimi.d.ts.map