From 0a8e3fdbcda8dab05825e4e1d73c4be0a7dac88f Mon Sep 17 00:00:00 2001 From: Alex Yang <himself65@outlook.com> Date: Wed, 6 Nov 2024 15:23:42 -0800 Subject: [PATCH] docs(next): fix build (#1441) --- apps/next/src/deps/cloud.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/next/src/deps/cloud.ts b/apps/next/src/deps/cloud.ts index 786529f48..df1bc27e1 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, -- GitLab