Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
huggingchat
/
chat-ui
like
1.04k
Running
App
Files
Files
Community
543
3dbdd6a
chat-ui
/
src
/
lib
/
types
/
Message.ts
coyotte508
HF staff
๐๏ธ Store model inside conversation instead (
#165
)
06e879d
unverified
over 1 year ago
raw
Copy download link
history
blame
No virus
119 Bytes
export
interface
Message
{
from
:
"user"
|
"assistant"
;
id
:
ReturnType
<
typeof
crypto.
randomUUID
>;
content
:
string
;
}