@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
37 lines (32 loc) • 689 B
text/typescript
import { UploadFileItem } from '@/types/files';
export * from './base';
export * from './chat';
export * from './image';
export * from './tools';
export interface SendMessageParams {
/**
* create a thread
*/
createThread?: boolean;
files?: UploadFileItem[];
/**
*
* https://github.com/lobehub/lobe-chat/pull/2086
*/
isWelcomeQuestion?: boolean;
message: string;
onlyAddUserMessage?: boolean;
}
export interface SendThreadMessageParams {
/**
* create a thread
*/
createNewThread?: boolean;
// files?: UploadFileItem[];
message: string;
onlyAddUserMessage?: boolean;
}
export interface ModelRankItem {
count: number;
id: string | null;
}