[PR #153] [MERGED] feat: able to display file url from llamacloud #300

Closed
opened 2026-02-15 19:17:07 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/153
Author: @thucpn
Created: 7/5/2024
Status: Merged
Merged: 7/18/2024
Merged by: @marcusschiesser

Base: mainHead: feat/able-to-display-file-url-from-llamacloud


📝 Commits (10+)

  • 3befca4 feat: get llamacloud file url in fast api
  • 46823c0 refactor: move llamacloud to service
  • 0854c5b fix: long url should be truncated
  • 444e3b2 pre check pdf url
  • bc514c0 fix: display link on hover card when pdf fail
  • 873b8f3 feat(ts): get file url from LLamaCloudFileService
  • 9aead8a Create happy-hairs-kick.md
  • 41a544e refactor: rename variables and add try-catch
  • 72beab6 Merge branch 'feat/able-to-display-file-url-from-llamacloud' of github.com:run-llama/create-llama into feat/able-to-display-file-url-from-llamacloud
  • 7073584 style: don't need to change UI

📊 Changes

24 files changed (+528 additions, -213 deletions)

View changed files

.changeset/happy-hairs-kick.md (+5 -0)
📝 helpers/index.ts (+3 -4)
templates/components/llamaindex/typescript/documents/documents.ts (+0 -104)
templates/components/llamaindex/typescript/documents/helper.ts (+44 -0)
templates/components/llamaindex/typescript/documents/pipeline.ts (+65 -0)
templates/components/llamaindex/typescript/documents/upload.ts (+11 -0)
📝 templates/components/llamaindex/typescript/streaming/events.ts (+34 -18)
templates/components/llamaindex/typescript/streaming/service.ts (+103 -0)
📝 templates/components/vectordbs/python/llamacloud/generate.py (+4 -0)
📝 templates/components/vectordbs/python/none/generate.py (+4 -7)
📝 templates/components/vectordbs/typescript/llamacloud/generate.ts (+9 -0)
📝 templates/types/streaming/express/package.json (+1 -1)
📝 templates/types/streaming/express/src/controllers/chat-upload.controller.ts (+1 -1)
📝 templates/types/streaming/fastapi/app/api/routers/chat.py (+32 -12)
📝 templates/types/streaming/fastapi/app/api/routers/models.py (+68 -22)
📝 templates/types/streaming/fastapi/app/api/routers/vercel_response.py (+15 -18)
📝 templates/types/streaming/fastapi/app/api/services/file.py (+21 -6)
templates/types/streaming/fastapi/app/api/services/llama_cloud.py (+88 -0)
templates/types/streaming/fastapi/app/engine/__init__.py (+0 -5)
📝 templates/types/streaming/fastapi/app/engine/generate.py (+7 -10)

...and 4 more files

📄 Description

Summary by CodeRabbit

  • New Features

    • Added support for displaying files sourced from LlamaCloud indexes.
    • Introduced directory creation for "llamacloud" within the "output" directory.
  • Enhancements

    • Improved document processing and metadata handling for files.
    • Enhanced chat message content handling and document ID management.
    • Added functionality for loading and saving documents based on MIME types.
  • Bug Fixes

    • Improved error handling during asynchronous operations.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/153 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 7/5/2024 **Status:** ✅ Merged **Merged:** 7/18/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `feat/able-to-display-file-url-from-llamacloud` --- ### 📝 Commits (10+) - [`3befca4`](https://github.com/run-llama/create-llama/commit/3befca493e13756608e13a1f251b7f490040136b) feat: get llamacloud file url in fast api - [`46823c0`](https://github.com/run-llama/create-llama/commit/46823c07f3c4d076e97765a61d21907358ff953f) refactor: move llamacloud to service - [`0854c5b`](https://github.com/run-llama/create-llama/commit/0854c5b45370a73164a233e80376883e95c5c968) fix: long url should be truncated - [`444e3b2`](https://github.com/run-llama/create-llama/commit/444e3b21fd957e4ed833cdc00a6a7479a8088a4c) pre check pdf url - [`bc514c0`](https://github.com/run-llama/create-llama/commit/bc514c0f6e65ebca233495a425b5ce07acdff29d) fix: display link on hover card when pdf fail - [`873b8f3`](https://github.com/run-llama/create-llama/commit/873b8f372924f6b8a456b963d2a29b94768c6211) feat(ts): get file url from LLamaCloudFileService - [`9aead8a`](https://github.com/run-llama/create-llama/commit/9aead8ac09e1a0b704821e7507121665cdec8f60) Create happy-hairs-kick.md - [`41a544e`](https://github.com/run-llama/create-llama/commit/41a544ee597f5c472b18f05b426f3cf50f3c0d40) refactor: rename variables and add try-catch - [`72beab6`](https://github.com/run-llama/create-llama/commit/72beab6a223a0d27d1bb9fb7188c8aaf6a449736) Merge branch 'feat/able-to-display-file-url-from-llamacloud' of github.com:run-llama/create-llama into feat/able-to-display-file-url-from-llamacloud - [`7073584`](https://github.com/run-llama/create-llama/commit/7073584c97f3b6e4637d79db8dea969bcea4be30) style: don't need to change UI ### 📊 Changes **24 files changed** (+528 additions, -213 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/happy-hairs-kick.md` (+5 -0) 📝 `helpers/index.ts` (+3 -4) ➖ `templates/components/llamaindex/typescript/documents/documents.ts` (+0 -104) ➕ `templates/components/llamaindex/typescript/documents/helper.ts` (+44 -0) ➕ `templates/components/llamaindex/typescript/documents/pipeline.ts` (+65 -0) ➕ `templates/components/llamaindex/typescript/documents/upload.ts` (+11 -0) 📝 `templates/components/llamaindex/typescript/streaming/events.ts` (+34 -18) ➕ `templates/components/llamaindex/typescript/streaming/service.ts` (+103 -0) 📝 `templates/components/vectordbs/python/llamacloud/generate.py` (+4 -0) 📝 `templates/components/vectordbs/python/none/generate.py` (+4 -7) 📝 `templates/components/vectordbs/typescript/llamacloud/generate.ts` (+9 -0) 📝 `templates/types/streaming/express/package.json` (+1 -1) 📝 `templates/types/streaming/express/src/controllers/chat-upload.controller.ts` (+1 -1) 📝 `templates/types/streaming/fastapi/app/api/routers/chat.py` (+32 -12) 📝 `templates/types/streaming/fastapi/app/api/routers/models.py` (+68 -22) 📝 `templates/types/streaming/fastapi/app/api/routers/vercel_response.py` (+15 -18) 📝 `templates/types/streaming/fastapi/app/api/services/file.py` (+21 -6) ➕ `templates/types/streaming/fastapi/app/api/services/llama_cloud.py` (+88 -0) ➖ `templates/types/streaming/fastapi/app/engine/__init__.py` (+0 -5) 📝 `templates/types/streaming/fastapi/app/engine/generate.py` (+7 -10) _...and 4 more files_ </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for displaying files sourced from LlamaCloud indexes. - Introduced directory creation for "llamacloud" within the "output" directory. - **Enhancements** - Improved document processing and metadata handling for files. - Enhanced chat message content handling and document ID management. - Added functionality for loading and saving documents based on MIME types. - **Bug Fixes** - Improved error handling during asynchronous operations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:17:07 -05:00
yindo closed this issue 2026-02-15 19:17:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#300