@elizaos/core v1.0.0-beta.51 / EnhancedState
Interface: EnhancedState
Enhanced State interface with more specific types for its core properties.
This interface provides a more structured representation of an agent's conversational state,
building upon the base State
by typing values
and data
as StateObject
.
The text
property typically holds a textual summary or context derived from the state.
Additional dynamic properties are still allowed via the index signature [key: string]: StateValue;
.
Indexable​
[key
: string
]: StateValue
Properties​
values​
values:
StateObject
Holds directly accessible state values, often used for template rendering or quick lookups.
Defined in​
packages/core/src/types.ts:2241
data​
data:
StateObject
Stores more complex or structured data, potentially namespaced by providers or internal systems.
Defined in​
packages/core/src/types.ts:2243
text​
text:
string
A textual representation or summary of the current state, often used as context for models.