[PR #1473] [MERGED] Improve RAG results via chunkHeader append #3691

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1473
Author: @timothycarambat
Created: 5/21/2024
Status: Merged
Merged: 5/21/2024
Merged by: @timothycarambat

Base: masterHead: feat/rag-improvement-append-chunk-header


📝 Commits (2)

  • da8367e Improve RAG results via chunkHeader append
  • 1f79828 Merge branch 'master' into feat/rag-improvement-append-chunk-header

📊 Changes

10 files changed (+62 additions, -3 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx (+6 -1)
📝 server/utils/TextSplitter/index.js (+24 -2)
📝 server/utils/vectorDbProviders/astra/index.js (+4 -0)
📝 server/utils/vectorDbProviders/chroma/index.js (+4 -0)
📝 server/utils/vectorDbProviders/lance/index.js (+4 -0)
📝 server/utils/vectorDbProviders/milvus/index.js (+4 -0)
📝 server/utils/vectorDbProviders/pinecone/index.js (+4 -0)
📝 server/utils/vectorDbProviders/qdrant/index.js (+4 -0)
📝 server/utils/vectorDbProviders/weaviate/index.js (+4 -0)
📝 server/utils/vectorDbProviders/zilliz/index.js (+4 -0)

📄 Description

Pull Request Type

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

This is a general patch that should improve general RAG results via the appending of simple metadata to the top of each chunk with the document title and published date. This enables more coherence and salience of RAG chunks as the document name can come up in sim search now.

This metadata is omitted from the UI during presentation of citations.


🔄 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/1473 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 5/21/2024 **Status:** ✅ Merged **Merged:** 5/21/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `feat/rag-improvement-append-chunk-header` --- ### 📝 Commits (2) - [`da8367e`](https://github.com/Mintplex-Labs/anything-llm/commit/da8367e457b2cc54b3d55f48d8a4436dcb396142) Improve RAG results via chunkHeader append - [`1f79828`](https://github.com/Mintplex-Labs/anything-llm/commit/1f798282032eda7772201807111109c69cd58c6f) Merge branch 'master' into feat/rag-improvement-append-chunk-header ### 📊 Changes **10 files changed** (+62 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx` (+6 -1) 📝 `server/utils/TextSplitter/index.js` (+24 -2) 📝 `server/utils/vectorDbProviders/astra/index.js` (+4 -0) 📝 `server/utils/vectorDbProviders/chroma/index.js` (+4 -0) 📝 `server/utils/vectorDbProviders/lance/index.js` (+4 -0) 📝 `server/utils/vectorDbProviders/milvus/index.js` (+4 -0) 📝 `server/utils/vectorDbProviders/pinecone/index.js` (+4 -0) 📝 `server/utils/vectorDbProviders/qdrant/index.js` (+4 -0) 📝 `server/utils/vectorDbProviders/weaviate/index.js` (+4 -0) 📝 `server/utils/vectorDbProviders/zilliz/index.js` (+4 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [x] 🔨 chore - [ ] 📝 docs This is a general patch that should improve general RAG results via the appending of simple metadata to the top of each chunk with the document title and published date. This enables more coherence and salience of RAG chunks as the document name can come up in sim search now. This metadata is omitted from the UI during presentation of citations. --- <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:18 -05:00
yindo closed this issue 2026-02-22 18:34:18 -05:00
yindo changed title from [PR #1473] Improve RAG results via chunkHeader append to [PR #1473] [MERGED] Improve RAG results via chunkHeader append 2026-06-05 15:14:44 -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#3691