[PR #209] [MERGED] feat: use Reflex UI for structure template #346

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/209
Author: @leehuwuj
Created: 8/5/2024
Status: Merged
Merged: 8/20/2024
Merged by: @marcusschiesser

Base: mainHead: feat/structure-ui


📝 Commits (10+)

  • 9e0e9b1 add Reflex to structure template
  • 7f4b7a7 refactor code
  • 567ae61 refactor: rename upload page to index page
  • ab392c0 refactor: remove menu_item_link function from template.py
  • 4576d5a update readme
  • e273af6 refactor app.py code
  • e300855 add missing code for index and vector store
  • f9ed74e remove cors
  • 11b21f0 disable llamaparse for structure template
  • 31a9269 fix wrong condition

📊 Changes

41 files changed (+1026 additions, -295 deletions)

View changed files

.changeset/lemon-houses-glow.md (+5 -0)
📝 .github/workflows/e2e.yml (+13 -0)
e2e/basic.spec.ts (+0 -120)
e2e/extractor_template.spec.ts (+50 -0)
e2e/streaming_template.spec.ts (+125 -0)
📝 e2e/utils.ts (+15 -9)
📝 helpers/run-app.ts (+59 -48)
📝 index.ts (+5 -1)
📝 questions.ts (+13 -4)
📝 templates/components/engines/python/agent/engine.py (+4 -3)
📝 templates/components/engines/python/chat/engine.py (+0 -0)
templates/components/vectordbs/python/llamacloud/__init__.py (+0 -0)
templates/components/vectordbs/python/none/__init__.py (+0 -0)
📝 templates/types/extractor/fastapi/README-template.md (+21 -15)
templates/types/extractor/fastapi/app/api/models.py (+18 -0)
📝 templates/types/extractor/fastapi/app/api/routers/extractor.py (+5 -48)
templates/types/extractor/fastapi/app/api/routers/main.py (+7 -0)
templates/types/extractor/fastapi/app/app.py (+22 -0)
templates/types/extractor/fastapi/app/config.py (+1 -0)
templates/types/extractor/fastapi/app/engine/__init__.py (+1 -0)

...and 21 more files

📄 Description

Summary by CodeRabbit

  • New Features

    • Transitioned to the Reflex framework, improving performance and application responsiveness.
    • Introduced a user-friendly UI for extracting data, enhancing usability and accessibility.
    • Enhanced control over template types, allowing for more flexible configuration during the extraction process.
    • Implemented file upload management, enabling users to upload and manage files within the application.
    • Established a comprehensive template system for managing layouts and themes.
  • Improvements

    • Expanded conditional logic for application features, improving control over functionality based on selected templates.
    • Streamlined application startup logic to support different templates, enhancing clarity and maintainability.
    • Introduced comprehensive end-to-end testing for extractor and streaming templates, ensuring reliability and performance.
  • Documentation

    • Updated README to reflect changes in framework and application commands, providing clearer guidance for users.
    • Specified new UI access point and updated commands for production mode.

🔄 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/209 **Author:** [@leehuwuj](https://github.com/leehuwuj) **Created:** 8/5/2024 **Status:** ✅ Merged **Merged:** 8/20/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `feat/structure-ui` --- ### 📝 Commits (10+) - [`9e0e9b1`](https://github.com/run-llama/create-llama/commit/9e0e9b1c9a22872e7cbc1afd5b135e0c365fc931) add Reflex to structure template - [`7f4b7a7`](https://github.com/run-llama/create-llama/commit/7f4b7a71bddf310bbd94ca2fd2c08c8c48bb1c1d) refactor code - [`567ae61`](https://github.com/run-llama/create-llama/commit/567ae61f6735740150e4375d7ed36446777ae228) refactor: rename upload page to index page - [`ab392c0`](https://github.com/run-llama/create-llama/commit/ab392c08f2ed80b5e1c59c94a20a6070dc237b59) refactor: remove menu_item_link function from template.py - [`4576d5a`](https://github.com/run-llama/create-llama/commit/4576d5aceec33828eb38802304df35e6e4973821) update readme - [`e273af6`](https://github.com/run-llama/create-llama/commit/e273af6248643f2c037ff1e36f02be45a4ab83e0) refactor app.py code - [`e300855`](https://github.com/run-llama/create-llama/commit/e30085591f44058912a90afa2a5f6c63ba3d1451) add missing code for index and vector store - [`f9ed74e`](https://github.com/run-llama/create-llama/commit/f9ed74e8c6338202a77c79f2d34e0984acd37129) remove cors - [`11b21f0`](https://github.com/run-llama/create-llama/commit/11b21f0698632aff2fa21ecc8f765a8157ea39f0) disable llamaparse for structure template - [`31a9269`](https://github.com/run-llama/create-llama/commit/31a9269e19846772dd3609a1b5b0c5632ec1567b) fix wrong condition ### 📊 Changes **41 files changed** (+1026 additions, -295 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/lemon-houses-glow.md` (+5 -0) 📝 `.github/workflows/e2e.yml` (+13 -0) ➖ `e2e/basic.spec.ts` (+0 -120) ➕ `e2e/extractor_template.spec.ts` (+50 -0) ➕ `e2e/streaming_template.spec.ts` (+125 -0) 📝 `e2e/utils.ts` (+15 -9) 📝 `helpers/run-app.ts` (+59 -48) 📝 `index.ts` (+5 -1) 📝 `questions.ts` (+13 -4) 📝 `templates/components/engines/python/agent/engine.py` (+4 -3) 📝 `templates/components/engines/python/chat/engine.py` (+0 -0) ➖ `templates/components/vectordbs/python/llamacloud/__init__.py` (+0 -0) ➖ `templates/components/vectordbs/python/none/__init__.py` (+0 -0) 📝 `templates/types/extractor/fastapi/README-template.md` (+21 -15) ➕ `templates/types/extractor/fastapi/app/api/models.py` (+18 -0) 📝 `templates/types/extractor/fastapi/app/api/routers/extractor.py` (+5 -48) ➕ `templates/types/extractor/fastapi/app/api/routers/main.py` (+7 -0) ➕ `templates/types/extractor/fastapi/app/app.py` (+22 -0) ➕ `templates/types/extractor/fastapi/app/config.py` (+1 -0) ➕ `templates/types/extractor/fastapi/app/engine/__init__.py` (+1 -0) _...and 21 more files_ </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Transitioned to the Reflex framework, improving performance and application responsiveness. - Introduced a user-friendly UI for extracting data, enhancing usability and accessibility. - Enhanced control over template types, allowing for more flexible configuration during the extraction process. - Implemented file upload management, enabling users to upload and manage files within the application. - Established a comprehensive template system for managing layouts and themes. - **Improvements** - Expanded conditional logic for application features, improving control over functionality based on selected templates. - Streamlined application startup logic to support different templates, enhancing clarity and maintainability. - Introduced comprehensive end-to-end testing for extractor and streaming templates, ensuring reliability and performance. - **Documentation** - Updated README to reflect changes in framework and application commands, providing clearer guidance for users. - Specified new UI access point and updated commands for production mode. <!-- 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:19 -05:00
yindo closed this issue 2026-02-15 19:17:19 -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#346