Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
huggingchat
/
chat-ui
like
1.12k
Running
App
Files
Files
Community
678
bd8c7a0
chat-ui
/
src
/
lib
/
Types.ts
julien-c
HF staff
move type to its own file
bd8c7a0
verified
almost 2 years ago
raw
Copy download link
history
blame
101 Bytes
export
type
Message
=
| {
from
:
'user'
;
content
:
string
;
}
| {
from
:
'bot'
;
content
:
string
;
};