Skip to main content

Interface: ServiceContext

The ServiceContext is a collection of components that are used in different parts of the application.

Deprecated

This will no longer supported, please use Settings instead.

Properties

embedModel

embedModel: BaseEmbedding

Defined in

packages/llamaindex/src/ServiceContext.ts:18


llm

llm: LLM<object, object>

Defined in

packages/llamaindex/src/ServiceContext.ts:16


nodeParser

nodeParser: NodeParser

Defined in

packages/llamaindex/src/ServiceContext.ts:19


promptHelper

promptHelper: PromptHelper

Defined in

packages/llamaindex/src/ServiceContext.ts:17