[PR #2482] [MERGED] Add backfilling on query for chat widget to improve UX #4004

Closed
opened 2026-02-22 18:34:56 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2482
Author: @timothycarambat
Created: 10/15/2024
Status: Merged
Merged: 10/15/2024
Merged by: @timothycarambat

Base: masterHead: 2436-embed-backfilling-on-query


📝 Commits (2)

  • e2340cf Add backfilling on query for chat widget to improve UX
  • 771943d Merge branch 'master' into 2436-embed-backfilling-on-query

📊 Changes

3 files changed (+75 additions, -25 deletions)

View changed files

📝 server/endpoints/embed/index.js (+9 -4)
📝 server/models/embedChats.js (+39 -2)
📝 server/utils/chats/embed.js (+27 -19)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #2436

What is in this change?

Improve results for query mode on chat widgets which is the preferred chat setting for external widgets.
This adds the auto-backfilling of citations for chat history to improve coherence of response on source documents while still keep the widget within is domain knowledge.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/2482 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 10/15/2024 **Status:** ✅ Merged **Merged:** 10/15/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `2436-embed-backfilling-on-query` --- ### 📝 Commits (2) - [`e2340cf`](https://github.com/Mintplex-Labs/anything-llm/commit/e2340cfff11e2bbb60ae218585e2b6a448338dba) Add backfilling on `query` for chat widget to improve UX - [`771943d`](https://github.com/Mintplex-Labs/anything-llm/commit/771943de1306b962cb3d94980c272ad0f021f05c) Merge branch 'master' into 2436-embed-backfilling-on-query ### 📊 Changes **3 files changed** (+75 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/embed/index.js` (+9 -4) 📝 `server/models/embedChats.js` (+39 -2) 📝 `server/utils/chats/embed.js` (+27 -19) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #2436 ### What is in this change? Improve results for `query` mode on chat widgets which is the preferred chat setting for external widgets. This adds the auto-backfilling of citations for chat history to improve coherence of response on source documents while still keep the widget within is domain knowledge. <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <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-22 18:34:56 -05:00
yindo closed this issue 2026-02-22 18:34:56 -05:00
yindo changed title from [PR #2482] Add backfilling on `query` for chat widget to improve UX to [PR #2482] [MERGED] Add backfilling on `query` for chat widget to improve UX 2026-06-05 15:16:19 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4004