@ai16z/eliza v0.1.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
[]>