diff --git a/apps/next/src/deps/cloud.ts b/apps/next/src/deps/cloud.ts index 786529f48650ee1809c89c4cb6948d9200c7a3c0..df1bc27e1d599f606ab3acbbd4455d5f85eb1412 100644 --- a/apps/next/src/deps/cloud.ts +++ b/apps/next/src/deps/cloud.ts @@ -1,8 +1,8 @@ import { type MetadataFilter, type MetadataFilters, - PipelinesService, type RetrievalParams, + runSearchApiV1PipelinesPipelineIdRetrievePost, type TextNodeWithScore, } from "@llamaindex/cloud/api"; import { QueryBundle } from "@llamaindex/core/query-engine"; @@ -74,7 +74,7 @@ export class LlamaCloudRetriever extends BaseRetriever { const pipelineId = this.pipelineId; const { data: results } = - await PipelinesService.runSearchApiV1PipelinesPipelineIdRetrievePost({ + await runSearchApiV1PipelinesPipelineIdRetrievePost({ throwOnError: true, path: { pipeline_id: pipelineId,