Closed leehuwuj closed 1 week ago
Latest commit: bdd7416e0e9258e776e5eddb74377bbb6c2f7484
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
A new patch titled "create-llama" has been introduced to ensure that both the index and document store are created when a file is uploaded without an existing index. This change modifies the runPipeline
function to incorporate a new storage context and updates the logic for index creation, enhancing the robustness of the file upload process.
File Path | Change Summary |
---|---|
.changeset/big-turtles-own.md | Added patch "create-llama" to ensure index and document store creation during file uploads. |
templates/components/llamaindex/typescript/documents/pipeline.ts | Updated runPipeline function to use storageContextFromDefaults and modified index creation logic. |
helpers/env-variables.ts | Modified getVectorDBEnvs to return a default environment variable for STORAGE_CACHE_DIR . |
templates/components/vectordbs/typescript/none/shared.ts | Removed hardcoded STORAGE_CACHE_DIR constant. |
templates/components/vectordbs/typescript/none/generate.ts | Added check for STORAGE_CACHE_DIR environment variable in generateDatasource function. |
templates/components/vectordbs/typescript/none/index.ts | Introduced check for STORAGE_CACHE_DIR in getDataSource function. |
🐰 In fields of data, we hop and play,
With "create-llama," we pave the way.
When files are uploaded, no index in sight,
We build them anew, making everything right!
So let’s cheer for the changes, both big and small,
For a smoother upload, we’ll have a ball! 🌟
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
Bug Fixes
Documentation