@conciergus/chat - v0.3.1
Preparing search index...
hooks
StreamingMessage
Interface StreamingMessage
interface
StreamingMessage
{
id
:
string
;
role
:
"user"
|
"assistant"
|
"system"
;
content
:
string
;
parts
:
StreamTextPart
[]
;
timestamp
:
Date
;
streaming
:
boolean
;
complete
:
boolean
;
metadata
?:
{
model
?:
string
;
tokens
?:
number
;
cost
?:
number
;
responseTime
?:
number
;
reasoning
?:
string
;
sources
?:
{
id
:
string
;
title
:
string
;
url
:
string
;
relevance
:
number
}
[]
;
}
;
}
Index
Properties
id
role
content
parts
timestamp
streaming
complete
metadata?
Properties
id
id
:
string
role
role
:
"user"
|
"assistant"
|
"system"
content
content
:
string
parts
parts
:
StreamTextPart
[]
timestamp
timestamp
:
Date
streaming
streaming
:
boolean
complete
complete
:
boolean
Optional
metadata
metadata
?:
{
model
?:
string
;
tokens
?:
number
;
cost
?:
number
;
responseTime
?:
number
;
reasoning
?:
string
;
sources
?:
{
id
:
string
;
title
:
string
;
url
:
string
;
relevance
:
number
}
[]
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
id
role
content
parts
timestamp
streaming
complete
metadata
@conciergus/chat - v0.3.1
Loading...