Skip to content

PURISTA API


PURISTA API / @purista/ai / ConversationMessage

Type Alias: ConversationMessage

ConversationMessage = object

Defined in: packages/ai/src/runtime/conversation.ts:10

Properties

content

content: string

Defined in: packages/ai/src/runtime/conversation.ts:13


createdAt

createdAt: number

Defined in: packages/ai/src/runtime/conversation.ts:14


id

id: string

Defined in: packages/ai/src/runtime/conversation.ts:11


metadata?

optional metadata: Record<string, unknown>

Defined in: packages/ai/src/runtime/conversation.ts:17


role

role: ConversationRole

Defined in: packages/ai/src/runtime/conversation.ts:12


toolCallId?

optional toolCallId: string

Defined in: packages/ai/src/runtime/conversation.ts:16


toolName?

optional toolName: string

Defined in: packages/ai/src/runtime/conversation.ts:15