跳到主要内容

Interface: LlamaIndexEventMaps

This type is used to define the event maps.

Properties

agent-end

agent-end: AgentEndEvent

Source

packages/core/src/callbacks/CallbackManager.ts:64


agent-start

agent-start: AgentStartEvent

Source

packages/core/src/callbacks/CallbackManager.ts:63


llm-end

llm-end: LLMEndEvent

Source

packages/core/src/callbacks/CallbackManager.ts:58


llm-start

llm-start: LLMStartEvent

Source

packages/core/src/callbacks/CallbackManager.ts:57


llm-stream

llm-stream: LLMStreamEvent

Source

packages/core/src/callbacks/CallbackManager.ts:61


llm-tool-call

llm-tool-call: LLMToolCallEvent

Source

packages/core/src/callbacks/CallbackManager.ts:59


llm-tool-result

llm-tool-result: LLMToolResultEvent

Source

packages/core/src/callbacks/CallbackManager.ts:60


retrieve

retrieve: CustomEvent <RetrievalCallbackResponse>

Deprecated

Source

packages/core/src/callbacks/CallbackManager.ts:49


retrieve-end

retrieve-end: RetrievalEndEvent

Source

packages/core/src/callbacks/CallbackManager.ts:51


retrieve-start

retrieve-start: RetrievalStartEvent

Source

packages/core/src/callbacks/CallbackManager.ts:50


stream

stream: CustomEvent <StreamCallbackResponse>

Deprecated

Source

packages/core/src/callbacks/CallbackManager.ts:55