Duplicated from huggingchat/chat-ui
cad3e14 5da61b4 4a6603b 1b66f8d 0c4cf03 5b779a6 cad3e14
1
2
3
4
5
6
7
8
export interface Message { from: "user" | "assistant"; id: ReturnType<typeof crypto.randomUUID>; content: string; webSearchId?: string; score?: -1 | 0 | 1; }