Skip to main content

Class: LlamaCloudIndex

Constructors

new LlamaCloudIndex()

new LlamaCloudIndex(params): LlamaCloudIndex

Parameters

params: CloudConstructorParams

Returns

LlamaCloudIndex

Source

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

Properties

params

params: CloudConstructorParams

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:19

Methods

asQueryEngine()

asQueryEngine(params?): QueryEngine

Parameters

params?: object & Omit<RetrievalParams, "query" | "searchFilters" | "className" | "denseSimilarityTopK"> & object

Returns

QueryEngine

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:264


asRetriever()

asRetriever(params): BaseRetriever

Parameters

params: CloudRetrieveParams= {}

Returns

BaseRetriever

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:260


delete()

delete(document): Promise<void>

Parameters

document: Document <Metadata>

Returns

Promise<void>

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:310


getPipelineId()

private getPipelineId(name, projectName): Promise<string>

Parameters

name: string

projectName: string

Returns

Promise<string>

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:139


insert()

insert(document): Promise<void>

Parameters

document: Document <Metadata>

Returns

Promise<void>

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:283


refreshDoc()

refreshDoc(document): Promise<void>

Parameters

document: Document <Metadata>

Returns

Promise<void>

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:329


waitForDocumentIngestion()

private waitForDocumentIngestion(docIds, verbose, raiseOnError): Promise<void>

Parameters

docIds: string[]

verbose: boolean= false

raiseOnError: boolean= false

Returns

Promise<void>

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:72


waitForPipelineIngestion()

private waitForPipelineIngestion(verbose, raiseOnError): Promise<void>

Parameters

verbose: boolean= false

raiseOnError: boolean= false

Returns

Promise<void>

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:25


fromDocuments()

static fromDocuments(params): Promise <LlamaCloudIndex>

Parameters

params: object & object & ClientParams

Returns

Promise <LlamaCloudIndex>

Source

packages/llamaindex/src/cloud/LlamaCloudIndex.ts:156