Open marcusschiesser opened 1 month ago
Latest commit: 2b72d63090f177337cb349182caed309e0fcaab0
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The changes introduce a new functionality for managing pipelines in the LlamaCloudIndex system through the creation of a clean.ts
file. This file includes functions to initialize the API service, retrieve project IDs, and delete pipelines associated with projects. Additionally, a new package.json
file is created for the @create-llama/e2e-clean
package, defining dependencies and a script to execute the cleaning functionality. The main project’s package.json
is also updated to include a new script for executing the clean command.
File Path | Change Summary |
---|---|
e2e/clean/clean.ts | Added functions: initService , getProjectId , deletePipelines for managing pipelines in LlamaCloudIndex. |
e2e/clean/package.json | Introduced new package @create-llama/e2e-clean with version 0.1.0 , defined dependencies, and added a clean script. |
package.json | Added new script "e2e:clean" to execute the clean command for the @create-llama/e2e-clean package. |
sequenceDiagram
participant User
participant CLI
participant CleanService
participant ProjectsService
participant PipelinesService
User->>CLI: Execute clean command
CLI->>CleanService: initService(apiKey)
CleanService->>ProjectsService: getProjectId(projectName)
ProjectsService-->>CleanService: return projectId
CleanService->>PipelinesService: searchPipelines(projectId)
PipelinesService-->>CleanService: return pipelines
CleanService->>PipelinesService: deletePipeline(pipelineId)
PipelinesService-->>CleanService: return deletion status
CleanService->>CLI: Log deletion results
CLI->>User: Display completion message
🐇 In the fields where we play,
🧹 Clean up pipelines, hooray!
With a hop and a skip,
We make our scripts flip,
In LlamaCloud, we clear the way!
🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Chores
@create-llama/e2e-clean
module with necessary dependencies and scripts.