Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
huggingchat
/
chat-ui
like
1.02k
Paused
App
Files
Files
Community
508
293ff91
chat-ui
/
src
/
lib
/
types
/
Message.ts
Adrien Denat
✨ add thumb up/down voting system for messages (
#152
)
5b779a6
unverified
about 1 year ago
raw
Copy download link
history
blame
No virus
140 Bytes
export
interface
Message
{
from
:
"user"
|
"assistant"
;
id
:
ReturnType
<
typeof
crypto.
randomUUID
>;
content
:
string
;
score?: -
1
|
0
|
1
;
}