@ai16z/eliza v0.1.5-alpha.3 / IAgentRuntime
agentId: `${string}-${string}-${string}-${string}-${string}`
Properties
packages/core/src/types.ts:978
serverUrl:
string
packages/core/src/types.ts:979
databaseAdapter:
IDatabaseAdapter
packages/core/src/types.ts:980
token:
string
packages/core/src/types.ts:981
modelProvider:
ModelProviderName
packages/core/src/types.ts:982
imageModelProvider:
ModelProviderName
packages/core/src/types.ts:983
character:
Character
packages/core/src/types.ts:984
providers:
Provider
[]
packages/core/src/types.ts:985
actions:
Action
[]
packages/core/src/types.ts:986
evaluators:
Evaluator
[]
packages/core/src/types.ts:987
plugins:
Plugin
[]
packages/core/src/types.ts:988
messageManager:
IMemoryManager
packages/core/src/types.ts:990
descriptionManager:
IMemoryManager
packages/core/src/types.ts:991
documentsManager:
IMemoryManager
packages/core/src/types.ts:992
knowledgeManager:
IMemoryManager
packages/core/src/types.ts:993
loreManager:
IMemoryManager
packages/core/src/types.ts:994
cacheManager:
ICacheManager
packages/core/src/types.ts:996
services:
Map
<ServiceType
,Service
>
packages/core/src/types.ts:998
initialize():
Promise
<void
>
Promise
<void
>
packages/core/src/types.ts:1000
registerMemoryManager(
manager
):void
• manager: IMemoryManager
void
packages/core/src/types.ts:1002
getMemoryManager(
name
):IMemoryManager
• name: string
packages/core/src/types.ts:1004
getService<
T
>(service
):T
• T extends Service
• service: ServiceType
T
packages/core/src/types.ts:1006
registerService(
service
):void
• service: Service
void
packages/core/src/types.ts:1008
getSetting(
key
):string
• key: string
string
packages/core/src/types.ts:1010
getConversationLength():
number
Methods
number
packages/core/src/types.ts:1013
processActions(
message
,responses
,state
?,callback
?):Promise
<void
>
• message: Memory
• responses: Memory
[]
• state?: State
• callback?: HandlerCallback
Promise
<void
>
packages/core/src/types.ts:1015
evaluate(
message
,state
?,didRespond
?):Promise
<string
[]>
• message: Memory
• state?: State
• didRespond?: boolean
Promise
<string
[]>
packages/core/src/types.ts:1022
ensureParticipantExists(
userId
,roomId
):Promise
<void
>
• userId: `${string}-${string}-${string}-${string}-${string}`
• roomId: `${string}-${string}-${string}-${string}-${string}`
Promise
<void
>
packages/core/src/types.ts:1028
ensureUserExists(
userId
,userName
,name
,source
):Promise
<void
>
• userId: `${string}-${string}-${string}-${string}-${string}`
• userName: string
• name: string
• source: string
Promise
<void
>
packages/core/src/types.ts:1030
registerAction(
action
):void
• action: Action
void
packages/core/src/types.ts:1037
ensureConnection(
userId
,roomId
,userName
?,userScreenName
?,source
?):Promise
<void
>
• userId: `${string}-${string}-${string}-${string}-${string}`
• roomId: `${string}-${string}-${string}-${string}-${string}`
• userName?: string
• userScreenName?: string
• source?: string
Promise
<void
>
packages/core/src/types.ts:1039
ensureParticipantInRoom(
userId
,roomId
):Promise
<void
>
• userId: `${string}-${string}-${string}-${string}-${string}`
• roomId: `${string}-${string}-${string}-${string}-${string}`
Promise
<void
>
packages/core/src/types.ts:1047
ensureRoomExists(
roomId
):Promise
<void
>
• roomId: `${string}-${string}-${string}-${string}-${string}`
Promise
<void
>
packages/core/src/types.ts:1049
composeState(
message
,additionalKeys
?):Promise
<State
>
• message: Memory
• additionalKeys?
Promise
<State
>
packages/core/src/types.ts:1051
updateRecentMessageState(
state
):Promise
<State
>
• state: State
Promise
<State
>