[PR #7057] [CLOSED] chore: support set rag only #7709

Closed
opened 2026-03-23 23:20:51 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7057
Author: @appflowy
Created: 12/26/2024
Status: Closed

Base: mainHead: chat_rag_only


📝 Commits (4)

  • 960f9b9 chore: support set rag only
  • d939d7a chore: merge remote-tracking branch 'upstream/main' into chat_rag_only
  • 36d8a32 chore: implement ui
  • 8246af9 chore: fetch rag only on open chat

📊 Changes

9 files changed (+160 additions, -53 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart (+24 -5)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_select_sources_cubit.dart (+8 -0)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart (+16 -6)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/desktop_ai_prompt_input.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/select_sources_menu.dart (+33 -5)
📝 frontend/resources/translations/en.json (+2 -1)
📝 frontend/rust-lib/flowy-ai/src/ai_manager.rs (+36 -28)
📝 frontend/rust-lib/flowy-ai/src/entities.rs (+33 -3)
📝 frontend/rust-lib/flowy-ai/src/event_handler.rs (+6 -3)

📄 Description

Feature Preview


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/AppFlowy-IO/AppFlowy/pull/7057 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 12/26/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chat_rag_only` --- ### 📝 Commits (4) - [`960f9b9`](https://github.com/AppFlowy-IO/AppFlowy/commit/960f9b9a933905f7d251885f8d2a6a17115681a7) chore: support set rag only - [`d939d7a`](https://github.com/AppFlowy-IO/AppFlowy/commit/d939d7a561eba80967281f1c12490f0fa3793368) chore: merge remote-tracking branch 'upstream/main' into chat_rag_only - [`36d8a32`](https://github.com/AppFlowy-IO/AppFlowy/commit/36d8a326707abd580805b2759f9d495401f97d84) chore: implement ui - [`8246af9`](https://github.com/AppFlowy-IO/AppFlowy/commit/8246af93c74c864d432fb36e3d73fa220e7a3b43) chore: fetch rag only on open chat ### 📊 Changes **9 files changed** (+160 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart` (+24 -5) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_select_sources_cubit.dart` (+8 -0) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart` (+16 -6) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/desktop_ai_prompt_input.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/select_sources_menu.dart` (+33 -5) 📝 `frontend/resources/translations/en.json` (+2 -1) 📝 `frontend/rust-lib/flowy-ai/src/ai_manager.rs` (+36 -28) 📝 `frontend/rust-lib/flowy-ai/src/entities.rs` (+33 -3) 📝 `frontend/rust-lib/flowy-ai/src/event_handler.rs` (+6 -3) </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:20:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#7709
No description provided.