Skip to main content

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

actionExamples?

optional actionExamples: string

Defined in

packages/core/src/types.ts:155


actionNames?

optional actionNames: string

Defined in

packages/core/src/types.ts:152


actions?

optional actions: string

Defined in

packages/core/src/types.ts:153


actionsData?

optional actionsData: Action[]

Defined in

packages/core/src/types.ts:154


actors

actors: string

Defined in

packages/core/src/types.ts:146


actorsData?

optional actorsData: Actor[]

Defined in

packages/core/src/types.ts:147


agentId?

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

Defined in

packages/core/src/types.ts:138


agentName?

optional agentName: string

Defined in

packages/core/src/types.ts:144


bio

bio: string

Defined in

packages/core/src/types.ts:139


goals?

optional goals: string

Defined in

packages/core/src/types.ts:148


goalsData?

optional goalsData: Goal[]

Defined in

packages/core/src/types.ts:149


lore

lore: string

Defined in

packages/core/src/types.ts:140


messageDirections

messageDirections: string

Defined in

packages/core/src/types.ts:141


postDirections

postDirections: string

Defined in

packages/core/src/types.ts:142


providers?

optional providers: string

Defined in

packages/core/src/types.ts:156


recentInteractions?

optional recentInteractions: string

Defined in

packages/core/src/types.ts:159


recentInteractionsData?

optional recentInteractionsData: Memory[]

Defined in

packages/core/src/types.ts:158


recentMessages

recentMessages: string

Defined in

packages/core/src/types.ts:150


recentMessagesData

recentMessagesData: Memory[]

Defined in

packages/core/src/types.ts:151


responseData?

optional responseData: Content

Defined in

packages/core/src/types.ts:157


roomId

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

Defined in

packages/core/src/types.ts:143


senderName?

optional senderName: string

Defined in

packages/core/src/types.ts:145


userId?

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

Defined in

packages/core/src/types.ts:137