Class: ReActAgent
Runner will manage the task execution and provide a high-level API for the user
Extends
AgentRunner
<LLM
,ReACTAgentStore
>
Constructors
new ReActAgent()
new ReActAgent(
params
):ReActAgent
Parameters
• params: ReACTAgentParams
Returns
Overrides
Defined in
packages/llamaindex/src/agent/react.ts:331
Properties
defaultTaskHandler
static
defaultTaskHandler:TaskHandler
<LLM
<object
,object
>,object
,object
>
Inherited from
AgentRunner
.defaultTaskHandler
Defined in
packages/core/agent/dist/agent/index.d.ts:76
taskHandler
static
taskHandler:TaskHandler
<LLM
<object
,object
>,ReACTAgentStore
>
Defined in
packages/llamaindex/src/agent/react.ts:352
Accessors
chatHistory
get
chatHistory():ChatMessage
<AdditionalMessageOptions
>[]
Returns
ChatMessage
<AdditionalMessageOptions
>[]
Inherited from
Defined in
packages/core/agent/dist/agent/index.d.ts:79
llm
get
llm():AI
Returns
AI
Inherited from
Defined in
packages/core/agent/dist/agent/index.d.ts:78
verbose
get
verbose():boolean
Returns
boolean
Inherited from
Defined in
packages/core/agent/dist/agent/index.d.ts:80
Methods
chat()
chat(params)
chat(
params
):Promise
<EngineResponse
>