[PR #616] [MERGED] create configurable topN per workspace #3430

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/616
Author: @shatfield4
Created: 1/17/2024
Status: Merged
Merged: 1/18/2024
Merged by: @timothycarambat

Base: masterHead: 542-feat-control-of-context-snippets-returned


📝 Commits (4)

  • 7f25621 create configurable topN per workspace
  • ce669a5 Update TopN UI text
  • 05ecd64 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 542-feat-control-of-context-snippets-returned
  • 442a5af merge with master

📊 Changes

13 files changed (+83 additions, -19 deletions)

View changed files

📝 frontend/src/components/Modals/MangeWorkspace/Settings/index.jsx (+35 -0)
📝 server/models/workspace.js (+1 -0)
server/prisma/migrations/20240118201333_init/migration.sql (+2 -0)
📝 server/prisma/schema.prisma (+1 -0)
📝 server/utils/chats/index.js (+1 -0)
📝 server/utils/chats/stream.js (+1 -0)
📝 server/utils/vectorDbProviders/chroma/index.js (+6 -3)
📝 server/utils/vectorDbProviders/lance/index.js (+6 -3)
📝 server/utils/vectorDbProviders/milvus/index.js (+6 -2)
📝 server/utils/vectorDbProviders/pinecone/index.js (+6 -3)
📝 server/utils/vectorDbProviders/qdrant/index.js (+6 -3)
📝 server/utils/vectorDbProviders/weaviate/index.js (+6 -3)
📝 server/utils/vectorDbProviders/zilliz/index.js (+6 -2)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #542

What is in this change?

Describe the changes in this PR that are impactful to the repo.

  • Add the ability to control the amount of snippets returned by the vector database per workspace (topN value)

Additional Information

Add any other context about the Pull Request here that was not captured above.

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/616 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 1/17/2024 **Status:** ✅ Merged **Merged:** 1/18/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `542-feat-control-of-context-snippets-returned` --- ### 📝 Commits (4) - [`7f25621`](https://github.com/Mintplex-Labs/anything-llm/commit/7f256218780a6f67b014eee1210aba4337b733e7) create configurable topN per workspace - [`ce669a5`](https://github.com/Mintplex-Labs/anything-llm/commit/ce669a52a3d9fb465ef62076bb91ac1a8cca12c7) Update TopN UI text - [`05ecd64`](https://github.com/Mintplex-Labs/anything-llm/commit/05ecd64c37fe5e71fdd1a66498695453b3675502) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 542-feat-control-of-context-snippets-returned - [`442a5af`](https://github.com/Mintplex-Labs/anything-llm/commit/442a5afa9a264f46b162fa0549b06824d02f8672) merge with master ### 📊 Changes **13 files changed** (+83 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/Modals/MangeWorkspace/Settings/index.jsx` (+35 -0) 📝 `server/models/workspace.js` (+1 -0) ➕ `server/prisma/migrations/20240118201333_init/migration.sql` (+2 -0) 📝 `server/prisma/schema.prisma` (+1 -0) 📝 `server/utils/chats/index.js` (+1 -0) 📝 `server/utils/chats/stream.js` (+1 -0) 📝 `server/utils/vectorDbProviders/chroma/index.js` (+6 -3) 📝 `server/utils/vectorDbProviders/lance/index.js` (+6 -3) 📝 `server/utils/vectorDbProviders/milvus/index.js` (+6 -2) 📝 `server/utils/vectorDbProviders/pinecone/index.js` (+6 -3) 📝 `server/utils/vectorDbProviders/qdrant/index.js` (+6 -3) 📝 `server/utils/vectorDbProviders/weaviate/index.js` (+6 -3) 📝 `server/utils/vectorDbProviders/zilliz/index.js` (+6 -2) </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 #542 ### What is in this change? Describe the changes in this PR that are impactful to the repo. - Add the ability to control the amount of snippets returned by the vector database per workspace (topN value) ### 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:33:46 -05:00
yindo closed this issue 2026-02-22 18:33:46 -05:00
yindo changed title from [PR #616] create configurable topN per workspace to [PR #616] [MERGED] create configurable topN per workspace 2026-06-05 15:13:22 -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#3430