Skip to main content
Version: Next

Interface: Message

Defined in: types/llm.ts:264

Represents a message in the conversation.

Properties

content

content: string

Defined in: types/llm.ts:266

Content of the message.


mediaPath?

optional mediaPath: string

Defined in: types/llm.ts:271

Optional local file path to media (image, audio, etc.). Only valid on user messages.


role

role: MessageRole

Defined in: types/llm.ts:265

Role of the message sender of type MessageRole.