Skip to main content

Type alias: AgentParamsBase<AI, AdditionalMessageOptions>

AgentParamsBase<AI, AdditionalMessageOptions>: object

Type parameters

AI extends LLM

AdditionalMessageOptions extends object = AI extends LLM<object, infer AdditionalMessageOptions> ? AdditionalMessageOptions : never

Type declaration

chatHistory?

optional chatHistory: ChatMessage<AdditionalMessageOptions>[]

llm?

optional llm: AI

systemPrompt?

optional systemPrompt: MessageContent

verbose?

optional verbose: boolean

Source

packages/llamaindex/src/agent/base.ts:121