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
501
9dccef9
chat-ui
/
src
/
lib
/
types
/
Message.ts
coyotte508
HF staff
๐๏ธ Store model inside conversation instead (
#165
)
06e879d
unverified
about 1 year ago
raw
history
blame
No virus
119 Bytes
export
interface
Message
{
from
:
"user"
|
"assistant"
;
id
:
ReturnType
<
typeof
crypto.
randomUUID
>;
content
:
string
;
}