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

Interface: ServiceContext

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

Properties

callbackManager

callbackManager: CallbackManager

Defined in

packages/core/src/ServiceContext.ts:15


embedModel

embedModel: BaseEmbedding

Defined in

packages/core/src/ServiceContext.ts:13


llm

llm: LLM

Defined in

packages/core/src/ServiceContext.ts:11


nodeParser

nodeParser: NodeParser

Defined in

packages/core/src/ServiceContext.ts:14


promptHelper

promptHelper: PromptHelper

Defined in

packages/core/src/ServiceContext.ts:12