Logo
Type aliases

InputMessage

InputMessage = object

Defined in: packages/cloud/src/client/types.gen.ts:2867

This is distinct from a ChatMessage because this schema is enforced by the AI Chat library used in the frontend

Properties

id?

optional id: string

Defined in: packages/cloud/src/client/types.gen.ts:2871

ID of the message, if any. a UUID.


role

role: MessageRole

Defined in: packages/cloud/src/client/types.gen.ts:2872


content

content: string

Defined in: packages/cloud/src/client/types.gen.ts:2873


data?

optional data: {[key: string]: unknown; } | null

Defined in: packages/cloud/src/client/types.gen.ts:2877

Additional data to be stored with the message.


class_name?

optional class_name: string

Defined in: packages/cloud/src/client/types.gen.ts:2880

On this page