Skip to main content

Type alias: ChatMessage<AdditionalMessageOptions>

ChatMessage<AdditionalMessageOptions>: object

Type parameters

AdditionalMessageOptions extends object = object

Type declaration

content

content: MessageContent

options?

optional options: AdditionalMessageOptions

role

role: MessageType

Source

packages/core/src/llm/types.ts:94