انتقل إلى المحتوى الرئيسي

Interface: ServiceContext

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

Properties

embedModel

embedModel: BaseEmbedding

Source

packages/llamaindex/src/ServiceContext.ts:15


llm

llm: LLM<object, object>

Source

packages/llamaindex/src/ServiceContext.ts:13


nodeParser

nodeParser: NodeParser

Source

packages/llamaindex/src/ServiceContext.ts:16


promptHelper

promptHelper: PromptHelper

Source

packages/llamaindex/src/ServiceContext.ts:14