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


actionNames

Optional actionNames: string


actions

Optional actions: string


actionsData

Optional actionsData: Action[]


actors

actors: string


actorsData

Optional actorsData: Actor[]


agentId

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


agentName

Optional agentName: string


goals

Optional goals: string


goalsData

Optional goalsData: Goal[]


providers

Optional providers: string


recentFacts

Optional recentFacts: string


recentFactsData

Optional recentFactsData: Memory[]


recentMessages

recentMessages: string


recentMessagesData

recentMessagesData: Memory[]


relevantFacts

Optional relevantFacts: string


relevantFactsData

Optional relevantFactsData: Memory[]


responseData

Optional responseData: Content


room_id

room_id: `${string}-${string}-${string}-${string}-${string}`


senderName

Optional senderName: string


user_id

Optional user_id: `${string}-${string}-${string}-${string}-${string}`