@elizaos/core v0.1.7-alpha.1 / State
Represents the current state/context of a conversation
[key
: string
]: unknown
optional
userId: `${string}-${string}-${string}-${string}-${string}`
ID of user who sent current message
packages/core/src/types.ts:248
optional
agentId: `${string}-${string}-${string}-${string}-${string}`
ID of agent in conversation
packages/core/src/types.ts:251
bio:
string
Agent's biography
packages/core/src/types.ts:254
lore:
string
Agent's background lore
packages/core/src/types.ts:257
messageDirections:
string
Message handling directions
packages/core/src/types.ts:260
postDirections:
string
Post handling directions
packages/core/src/types.ts:263
roomId: `${string}-${string}-${string}-${string}-${string}`
Current room/conversation ID
packages/core/src/types.ts:266
optional
agentName:string
Optional agent name
packages/core/src/types.ts:269
optional
senderName:string
Optional message sender name
packages/core/src/types.ts:272
actors:
string
String representation of conversation actors
packages/core/src/types.ts:275
optional
actorsData:Actor
[]
Optional array of actor objects
packages/core/src/types.ts:278
optional
goals:string
Optional string representation of goals
packages/core/src/types.ts:281
optional
goalsData:Goal
[]
Optional array of goal objects
packages/core/src/types.ts:284
recentMessages:
string
Recent message history as string
packages/core/src/types.ts:287
recentMessagesData:
Memory
[]
Recent message objects
packages/core/src/types.ts:290
optional
actionNames:string
Optional valid action names
packages/core/src/types.ts:293
optional
actions:string
Optional action descriptions
packages/core/src/types.ts:296
optional
actionsData:Action
[]
Optional action objects
packages/core/src/types.ts:299
optional
actionExamples:string
Optional action examples
packages/core/src/types.ts:302
optional
providers:string
Optional provider descriptions
packages/core/src/types.ts:305
optional
responseData:Content
Optional response content
packages/core/src/types.ts:308
optional
recentInteractionsData:Memory
[]
Optional recent interaction objects
packages/core/src/types.ts:311
optional
recentInteractions:string
Optional recent interactions string
packages/core/src/types.ts:314
optional
formattedConversation:string
Optional formatted conversation
packages/core/src/types.ts:317
optional
knowledge:string
Optional formatted knowledge
packages/core/src/types.ts:320
optional
knowledgeData:KnowledgeItem
[]
Optional knowledge data