@conciergus/chat - v0.3.1
Preparing search index...
hooks
EnhancedMessage
Interface EnhancedMessage
interface
EnhancedMessage
{
id
:
string
;
role
:
"user"
|
"assistant"
|
"system"
|
"tool"
;
content
:
string
;
createdAt
?:
Date
;
metadata
?:
{
model
?:
string
;
tokens
?:
{
input
:
number
;
output
:
number
;
total
:
number
}
;
cost
?:
number
;
responseTime
?:
number
;
reasoning
?:
{
steps
:
{
type
:
string
;
content
:
string
;
confidence
?:
number
}
[]
;
}
;
sources
?:
{
id
:
string
;
title
:
string
;
url
?:
string
;
content
:
string
;
relevance
?:
number
;
}
[]
;
}
;
data
?:
any
;
toolInvocations
?:
{
toolCallId
:
string
;
toolName
:
string
;
args
:
any
;
result
?:
any
;
state
:
"partial"
|
"complete"
|
"error"
;
}
[]
;
}
Index
Properties
id
role
content
created
At?
metadata?
data?
tool
Invocations?
Properties
id
id
:
string
role
role
:
"user"
|
"assistant"
|
"system"
|
"tool"
content
content
:
string
Optional
created
At
createdAt
?:
Date
Optional
metadata
metadata
?:
{
model
?:
string
;
tokens
?:
{
input
:
number
;
output
:
number
;
total
:
number
}
;
cost
?:
number
;
responseTime
?:
number
;
reasoning
?:
{
steps
:
{
type
:
string
;
content
:
string
;
confidence
?:
number
}
[]
;
}
;
sources
?:
{
id
:
string
;
title
:
string
;
url
?:
string
;
content
:
string
;
relevance
?:
number
;
}
[]
;
}
Optional
data
data
?:
any
Optional
tool
Invocations
toolInvocations
?:
{
toolCallId
:
string
;
toolName
:
string
;
args
:
any
;
result
?:
any
;
state
:
"partial"
|
"complete"
|
"error"
;
}
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
id
role
content
created
At
metadata
data
tool
Invocations
@conciergus/chat - v0.3.1
Loading...