본문으로 건너뛰기

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/llamaindex/src/ServiceContext.ts:46