メインコンテンツまでスキップ

Function: serviceContextFromServiceContext()

serviceContextFromServiceContext(serviceContext, options): object

Parameters

serviceContext: ServiceContext

options: ServiceContextOptions

Returns

object

embedModel

embedModel: BaseEmbedding

llm

llm: LLM<object, object>

nodeParser

nodeParser: NodeParser

promptHelper

promptHelper: PromptHelper

Source

packages/core/src/ServiceContext.ts:46