Class: LLamaCloudFileService
Constructors
new LLamaCloudFileService()
new LLamaCloudFileService():
LLamaCloudFileService
Returns
Methods
addFileToPipeline()
static
addFileToPipeline(projectId
,pipelineId
,uploadFile
,customMetadata
):Promise
<string
>
Upload a file to a pipeline in LlamaCloud
Parameters
• projectId: string
• pipelineId: string
• uploadFile: Blob
| File
• customMetadata: Record
<string
, any
> = {}
Returns
Promise
<string
>
Defined in
packages/llamaindex/src/cloud/LLamaCloudFileService.ts:38
getAllProjectsWithPipelines()
static
getAllProjectsWithPipelines():Promise
<object
[]>
Get list of projects, each project contains a list of pipelines
Returns
Promise
<object
[]>