ChatMessage
One transcript message: role, state, sanitized Markdown, inert tool calls, approval, citations, retry and stop.
beta
Examples
Live examples for this component are on the way.
API
import ChatMessage from '@tcpsystems/ui/foundation/ChatMessage';| Prop | Type | Default |
|---|---|---|
message? | ChatMessage | none |
html? | string | none |
when? | (iso: string) => string | iso => iso |
labels? | typeof chatLabels | chatLabels |
| Hook | Kind |
|---|---|
.tcp-prose | Root class |
data-role | Data attribute |
data-status | Data attribute |