Skip to main content

@ai16z/eliza v0.1.3 / State

Interface: State

Represents the state of the conversation or context in which the agent is operating, including information about users, messages, goals, and other relevant data.

Indexable

[key: string]: unknown

Properties

userId?

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

Defined in

packages/core/src/types.ts:139


agentId?

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

Defined in

packages/core/src/types.ts:140


bio

bio: string

Defined in

packages/core/src/types.ts:141


lore

lore: string

Defined in

packages/core/src/types.ts:142


messageDirections

messageDirections: string

Defined in

packages/core/src/types.ts:143


postDirections

postDirections: string

Defined in

packages/core/src/types.ts:144


roomId

roomId: `${string}-${string}-${string}-${string}-${string}`

Defined in

packages/core/src/types.ts:145


agentName?

optional agentName: string

Defined in

packages/core/src/types.ts:146


senderName?

optional senderName: string

Defined in

packages/core/src/types.ts:147


actors

actors: string

Defined in

packages/core/src/types.ts:148


actorsData?

optional actorsData: Actor[]

Defined in

packages/core/src/types.ts:149


goals?

optional goals: string

Defined in

packages/core/src/types.ts:150


goalsData?

optional goalsData: Goal[]

Defined in

packages/core/src/types.ts:151


recentMessages

recentMessages: string

Defined in

packages/core/src/types.ts:152


recentMessagesData

recentMessagesData: Memory[]

Defined in

packages/core/src/types.ts:153


actionNames?

optional actionNames: string

Defined in

packages/core/src/types.ts:154


actions?

optional actions: string

Defined in

packages/core/src/types.ts:155


actionsData?

optional actionsData: Action[]

Defined in

packages/core/src/types.ts:156


actionExamples?

optional actionExamples: string

Defined in

packages/core/src/types.ts:157


providers?

optional providers: string

Defined in

packages/core/src/types.ts:158


responseData?

optional responseData: Content

Defined in

packages/core/src/types.ts:159


recentInteractionsData?

optional recentInteractionsData: Memory[]

Defined in

packages/core/src/types.ts:160


recentInteractions?

optional recentInteractions: string

Defined in

packages/core/src/types.ts:161


formattedConversation?

optional formattedConversation: string

Defined in

packages/core/src/types.ts:162