Class: LlamaCloudIndex
Constructors
constructor
• new LlamaCloudIndex(params
): LlamaCloudIndex
Parameters
Name | Type |
---|---|
params | CloudConstructorParams |
Returns
Defined in
packages/core/src/cloud/LlamaCloudIndex.ts:22
Properties
params
• params: CloudConstructorParams
Defined in
packages/core/src/cloud/LlamaCloudIndex.ts:20
Methods
asQueryEngine
▸ asQueryEngine(params?
): BaseQueryEngine
Parameters
Name | Type |
---|---|
params? | { nodePostprocessors? : BaseNodePostprocessor [] ; preFilters? : unknown ; responseSynthesizer? : BaseSynthesizer } & Omit <RetrievalParams , "query" | "className" | "searchFilters" | "pipelineId" > & { similarityTopK? : number } |
Returns
Defined in
packages/core/src/cloud/LlamaCloudIndex.ts:175
asRetriever
▸ asRetriever(params?
): BaseRetriever
Parameters
Name | Type |
---|---|
params | CloudRetrieveParams |
Returns
Defined in
packages/core/src/cloud/LlamaCloudIndex.ts:171
fromDocuments
▸ fromDocuments(params
): Promise
<LlamaCloudIndex
>