Skip to main content

@elizaos/core v1.0.12 / Content

Interface: Content

Represents the content of a memory, message, or other information

Indexable​

[key: string]: unknown

Properties​

thought?​

optional thought: string

The agent's internal thought process

Defined in​

packages/core/src/types/primitives.ts:23


text?​

optional text: string

The main text content visible to users

Defined in​

packages/core/src/types/primitives.ts:26


actions?​

optional actions: string[]

Optional actions to be performed

Defined in​

packages/core/src/types/primitives.ts:29


providers?​

optional providers: string[]

Optional providers to use for context generation

Defined in​

packages/core/src/types/primitives.ts:32


source?​

optional source: string

Optional source/origin of the content

Defined in​

packages/core/src/types/primitives.ts:35


target?​

optional target: string

Optional target/destination for responses

Defined in​

packages/core/src/types/primitives.ts:38


url?​

optional url: string

URL of the original message/post (e.g. tweet URL, Discord message link)

Defined in​

packages/core/src/types/primitives.ts:41


inReplyTo?​

optional inReplyTo: `${string}-${string}-${string}-${string}-${string}`

UUID of parent message if this is a reply/thread

Defined in​

packages/core/src/types/primitives.ts:44


attachments?​

optional attachments: Media[]

Array of media attachments

Defined in​

packages/core/src/types/primitives.ts:47


channelType?​

optional channelType: string

room type

Defined in​

packages/core/src/types/primitives.ts:50