Class: LlamaCloudRetriever
Retrievers retrieve the nodes that most closely match our query in similarity.
Implements
Constructors
constructor
• new LlamaCloudRetriever(params
): LlamaCloudRetriever
Parameters
Name | Type |
---|---|
params | { name : string ; projectName? : string ; serviceContext? : ServiceContext } & ClientParams & Omit <RetrievalParams , "query" | "className" | "searchFilters" | "pipelineId" > & { similarityTopK? : number } |
Returns
Defined in
packages/core/src/cloud/LlamaCloudRetriever.ts:34
Properties
client
• Optional
client: PlatformApiClient
Defined in
packages/core/src/cloud/LlamaCloudRetriever.ts:16
clientParams
• clientParams: ClientParams
Defined in
packages/core/src/cloud/LlamaCloudRetriever.ts:17
pipelineName
• pipelineName: string
Defined in
packages/core/src/cloud/LlamaCloudRetriever.ts:20
projectName
• projectName: string
= DEFAULT_PROJECT_NAME
Defined in
packages/core/src/cloud/LlamaCloudRetriever.ts:19
retrieveParams
• retrieveParams: CloudRetrieveParams
Defined in
packages/core/src/cloud/LlamaCloudRetriever.ts:18
Methods
getClient
▸ getClient(): Promise
<PlatformApiClient
>