Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 797 Bytes

getGoals.md

File metadata and controls

27 lines (14 loc) · 797 Bytes

@ai16z/eliza v0.1.5-alpha.3 / getGoals

Function: getGoals()

getGoals(__namedParameters): Promise<Goal[]>

Parameters

__namedParameters

__namedParameters.runtime: IAgentRuntime

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

__namedParameters.userId?: `${string}-${string}-${string}-${string}-${string}`

__namedParameters.onlyInProgress?: boolean = true

__namedParameters.count?: number = 5

Returns

Promise<Goal[]>

Defined in

packages/core/src/goals.ts:8