@elizaos/core v1.0.0-beta.7 / findEntityByName
Function: findEntityByName()
findEntityByName(
runtime
,message
,state
):Promise
<Entity
>
Finds an entity by name in the given runtime environment.
Parameters
• runtime: IAgentRuntime
The agent runtime environment.
• message: Memory
The memory message containing relevant information.
• state: State
The current state of the system.
Returns
Promise
<Entity
>
A promise that resolves to the found entity or null if not found.