Class: LlamaCloudRetriever
Extends
Constructors
new LlamaCloudRetriever()
new LlamaCloudRetriever(
params
):LlamaCloudRetriever
Parameters
• params: object
& ClientParams
& Omit
<RetrievalParams
, "query"
| "search_filters"
| "dense_similarity_top_k"
> & object
Returns
Overrides
Defined in
packages/llamaindex/src/cloud/LlamaCloudRetriever.ts:45
Properties
clientParams
clientParams:
ClientParams
Defined in
packages/llamaindex/src/cloud/LlamaCloudRetriever.ts:22
objectMap
objectMap:
Map
<string
,unknown
>
Inherited from
Defined in
packages/core/retriever/dist/retriever/index.d.ts:20
organizationId?
optional
organizationId:string
Defined in
packages/llamaindex/src/cloud/LlamaCloudRetriever.ts:24
pipelineName
pipelineName:
string
Defined in
packages/llamaindex/src/cloud/LlamaCloudRetriever.ts:26
projectName
projectName:
string
=DEFAULT_PROJECT_NAME
Defined in
packages/llamaindex/src/cloud/LlamaCloudRetriever.ts:25
retrieveParams
retrieveParams:
CloudRetrieveParams
Defined in
packages/llamaindex/src/cloud/LlamaCloudRetriever.ts:23
Methods
_getPromptModules()
protected
_getPromptModules():object
Return a dictionary of sub-modules within the current module that also implement PromptMixin (so that their prompts can also be get/set).
Can be blank if no sub-modules.
Returns
object
Inherited from
BaseRetriever
._getPromptModules
Defined in
packages/core/retriever/dist/retriever/index.d.ts:23
_getPrompts()
protected
_getPrompts():object
Returns
object
Inherited from
Defined in
packages/core/retriever/dist/retriever/index.d.ts:22
_handleRecursiveRetrieval()
_handleRecursiveRetrieval(
params
,nodes
):Promise
<NodeWithScore
<Metadata
>[]>
Parameters
• params: QueryBundle
• nodes: NodeWithScore
<Metadata
>[]
Returns
Promise
<NodeWithScore
<Metadata
>[]>
Inherited from
BaseRetriever
._handleRecursiveRetrieval
Defined in
packages/core/retriever/dist/retriever/index.d.ts:27
_retrieve()
_retrieve(
query
):Promise
<NodeWithScore
<Metadata
>[]>
Parameters
• query: QueryBundle
Returns
Promise
<NodeWithScore
<Metadata
>[]>
Overrides
Defined in
packages/llamaindex/src/cloud/LlamaCloudRetriever.ts:59
_retrieveFromObject()
_retrieveFromObject(
object
,queryBundle
,score
):NodeWithScore
<Metadata
>[]
Parameters
• object: unknown
• queryBundle: QueryBundle
• score: number
Returns
Inherited from
BaseRetriever
._retrieveFromObject
Defined in
packages/core/retriever/dist/retriever/index.d.ts:28
_updatePrompts()
protected
_updatePrompts():void
Returns
void
Inherited from
Defined in
packages/core/retriever/dist/retriever/index.d.ts:21
getPrompts()
getPrompts():
PromptsRecord
Returns
Inherited from
Defined in
packages/core/prompts/dist/prompts/index.d.ts:58
retrieve()
retrieve(
params
):Promise
<NodeWithScore
<Metadata
>[]>
Parameters
• params: QueryType
Returns
Promise
<NodeWithScore
<Metadata
>[]>
Inherited from
Defined in
packages/core/retriever/dist/retriever/index.d.ts:25
updatePrompts()
updatePrompts(
prompts
):void
Parameters
• prompts: PromptsRecord
Returns
void
Inherited from
Defined in
packages/core/prompts/dist/prompts/index.d.ts:59
validatePrompts()
validatePrompts(
promptsDict
,moduleDict
):void
Parameters
• promptsDict: PromptsRecord
• moduleDict: ModuleRecord
Returns
void
Inherited from
Defined in
packages/core/prompts/dist/prompts/index.d.ts:57