Class: ReActAgentWorker
ReAct agent worker.
Implements
Constructors
constructor
• new ReActAgentWorker(«destructured»
): ReActAgentWorker
Parameters
Name | Type |
---|---|
«destructured» | ReActAgentWorkerParams |
Returns
Defined in
packages/core/src/agent/react/worker.ts:75
Properties
_getTools
• _getTools: (message
: string
) => Promise
<BaseTool
[]>
Type declaration
▸ (message
): Promise
<BaseTool
[]>
Parameters
Name | Type |
---|---|
message | string |
Returns
Promise
<BaseTool
[]>
Defined in
packages/core/src/agent/react/worker.ts:73
callbackManager
• callbackManager: CallbackManager
Defined in
packages/core/src/agent/react/worker.ts:71
llm
• llm: LLM
Defined in
packages/core/src/agent/react/worker.ts:64
maxInteractions
• maxInteractions: number
= 10
Defined in
packages/core/src/agent/react/worker.ts:67
outputParser
• outputParser: ReActOutputParser
Defined in
packages/core/src/agent/react/worker.ts:69
reactChatFormatter
• reactChatFormatter: ReActChatFormatter
Defined in
packages/core/src/agent/react/worker.ts:68
verbose
• verbose: boolean
Defined in
packages/core/src/agent/react/worker.ts:65