Spaces:
Build error
Build error
File size: 517 Bytes
0702eb8 fdaf912 0702eb8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
export interface Message {
id: string;
content: string;
role: string;
}
export interface ChatHandler {
collSelectedId: string;
collSelectedName: string;
handleCollIdSelect: (collection_id: string) => void;
handleCollNameSelect: (display_name: string) => void;
messages: Message[];
input: string;
isLoading: boolean;
handleSubmit: (e: React.FormEvent<HTMLFormElement>) => void;
handleInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
reload?: () => void;
stop?: () => void;
}
|