[GH-ISSUE #516] 'Number of Vectors' in Workspace Settings Not Updating Instantly After Uploading #302

Closed
opened 2026-02-22 18:18:51 -05:00 by yindo · 4 comments
Owner

Originally created by @pritchey on GitHub (Jan 3, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/516

I was loading documents into a new workspace and noticed when I shifted from the "Documents" tab to the "Settings" tab the value for "Number of Vectors" was zero. Exiting the settings dialog and going back in and going into the "Settings" tab triggered the value to be updated. What I suspect is happening is the value for the number of vectors is retrieved when the workspace settings dialog is opened but not refreshed when moving from the "Documents" tab to the "Settings" tab.

To recreate:

  1. Create a new workspace.
  2. Go into the workspace settings dialog for the newly created workspace.
  3. Upload some documents and embed them into the new workspace.
  4. As soon as the embedding is completed, go into the "Settings" tab and look at the "Number of Vectors", it will be zero.
  5. Click the "x" to exit the workspace settings dialog.
  6. Go back into the workspace settings dialog.
  7. Click on the "Settings" tab and the "Number of Vectors" will now reflect the number of vectors in the database.
Originally created by @pritchey on GitHub (Jan 3, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/516 I was loading documents into a new workspace and noticed when I shifted from the "Documents" tab to the "Settings" tab the value for "Number of Vectors" was zero. Exiting the settings dialog and going back in and going into the "Settings" tab triggered the value to be updated. What I suspect is happening is the value for the number of vectors is retrieved when the workspace settings dialog is opened but not refreshed when moving from the "Documents" tab to the "Settings" tab. To recreate: 1. Create a new workspace. 2. Go into the workspace settings dialog for the newly created workspace. 3. Upload some documents and embed them into the new workspace. 4. As soon as the embedding is completed, go into the "Settings" tab and look at the "Number of Vectors", it will be zero. 5. Click the "x" to exit the workspace settings dialog. 6. Go back into the workspace settings dialog. 7. Click on the "Settings" tab and the "Number of Vectors" will now reflect the number of vectors in the database.
yindo added the good first issueUI/UX labels 2026-02-22 18:18:51 -05:00
yindo closed this issue 2026-02-22 18:18:51 -05:00
Author
Owner

@brendankntb commented on GitHub (Jan 8, 2024):

I don't know if it is just for me but the number of vectors in the Settings tab for all of my workspaces are showing zero even after leaving and reloading the Setting dialog. I have about 13 documents in each workspace and they are successfully referenced in chats but it always says 0 vectors in Settings for all of my workspaces.

@brendankntb commented on GitHub (Jan 8, 2024): I don't know if it is just for me but the number of vectors in the Settings tab for all of my workspaces are showing zero even after leaving and reloading the Setting dialog. I have about 13 documents in each workspace and they are successfully referenced in chats but it always says 0 vectors in Settings for all of my workspaces.
Author
Owner

@timothycarambat commented on GitHub (Jan 8, 2024):

@brendankntb Which vector database are you using?

@timothycarambat commented on GitHub (Jan 8, 2024): @brendankntb Which vector database are you using?
Author
Owner

@timothycarambat commented on GitHub (Jan 10, 2024):

Adding onto this issue, it is misleading because the number is also the total number of vectors in the database, not even for just that specific workspace

@timothycarambat commented on GitHub (Jan 10, 2024): Adding onto this issue, it is misleading because the number is also the total number of vectors in the database, not even for _just_ that specific workspace
Author
Owner

@brendankntb commented on GitHub (Jan 10, 2024):

@brendankntb Which vector database are you using?

I am using the built-in lancedb database (via the docker image). I have had an initial look to see whether there is something I have setup incorrectly but so far I can't see anything I have changed to cause this.

@brendankntb commented on GitHub (Jan 10, 2024): > @brendankntb Which vector database are you using? I am using the built-in lancedb database (via the docker image). I have had an initial look to see whether there is something I have setup incorrectly but so far I can't see anything I have changed to cause this.
yindo changed title from 'Number of Vectors' in Workspace Settings Not Updating Instantly After Uploading to [GH-ISSUE #516] 'Number of Vectors' in Workspace Settings Not Updating Instantly After Uploading 2026-06-05 14:34:35 -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#302