Class: LLMAgent
Runner will manage the task execution and provide a high-level API for the user
Extends
Extended by
Constructors
new LLMAgent()
new LLMAgent(
params
):LLMAgent
Parameters
• params: LLMAgentParams
Returns
Overrides
Defined in
packages/llamaindex/src/agent/llm.ts:24
Properties
createStore()
createStore: () =>
object
=AgentRunner.defaultCreateStore
Returns
object
Overrides
Defined in
packages/llamaindex/src/agent/llm.ts:44
taskHandler
taskHandler:
TaskHandler
<LLM
<object
,object
>> =AgentRunner.defaultTaskHandler
Defined in
packages/llamaindex/src/agent/llm.ts:45
defaultTaskHandler
static
defaultTaskHandler:TaskHandler
<LLM
<object
,object
>>
Inherited from
AgentRunner
.defaultTaskHandler
Defined in
packages/llamaindex/src/agent/base.ts:228
Accessors
chatHistory
get
chatHistory():ChatMessage
<AdditionalMessageOptions
>[]
Returns
ChatMessage
<AdditionalMessageOptions
>[]
Inherited from
Defined in
packages/llamaindex/src/agent/base.ts:277
llm
get
llm():AI
Returns
AI
Inherited from
Defined in
packages/llamaindex/src/agent/base.ts:273
verbose
get
verbose():boolean
Returns
boolean
Inherited from
Defined in
packages/llamaindex/src/agent/base.ts:281