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

Class: LlamaCloudIndex

Constructors

constructor

new LlamaCloudIndex(params): LlamaCloudIndex

Parameters

NameType
paramsCloudConstructorParams

Returns

LlamaCloudIndex

Defined in

packages/core/src/cloud/LlamaCloudIndex.ts:13

Properties

params

params: CloudConstructorParams

Defined in

packages/core/src/cloud/LlamaCloudIndex.ts:11

Methods

asQueryEngine

asQueryEngine(params?): BaseQueryEngine

Parameters

NameType
params?{ nodePostprocessors?: BaseNodePostprocessor[] ; preFilters?: unknown ; responseSynthesizer?: BaseSynthesizer } & Omit<RetrievalParams, "query" | "searchFilters" | "pipelineId" | "className"> & { similarityTopK?: number }

Returns

BaseQueryEngine

Defined in

packages/core/src/cloud/LlamaCloudIndex.ts:21


asRetriever

asRetriever(params?): BaseRetriever

Parameters

NameType
paramsCloudRetrieveParams

Returns

BaseRetriever

Defined in

packages/core/src/cloud/LlamaCloudIndex.ts:17