You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nither of deletion the knowledge space name from Web or dbgpt command cli will not delete the pilot data, that caused failure when re-create the same space name.
What you expected to happen
It should be that when the space name was deleted, the corresponding pilot data was deleted from filesystem. If not, another result maybe that availabe volume of filesystem decreased.
How to reproduce
Just create knowledge space using name such as 'testknowlegeSpace', then delete the space with name 'testknowlegeSpace', and re-create the space 'testknowlegeSpace', when entered the detail of recreated space, the content failed.
Additional context
No response
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Is it like this every time? Is it the same when creating a new knowledge space and deleting it?
Yes, it happened each time. When a new knowledge was created, and then to delete the exist knowledge, the result was that deleting space ([spacename].vectordb) sucessed, while the uploading directory named by spacename left.
I tried to resolve that in the route.post('/knowledge/space/delete') with rmtree the directory, which should be ok.
More, in the same space, following the steps like: firstly creating(load) space and docfile, then deleting the docfile, re-loading the docfile to the space caused Error 'ERROR document embedding, ******* Collection 6309672b-8b70-4e35-a087-e90ae1f4b59b does not exist.' Maybe that is reasonable, it is forbidded to re-load the same docfile after just deleting from space.
Search before asking
Operating system information
Linux
Python version information
3.10
DB-GPT version
latest release
Related scenes
Installation Information
Installation From Source
Docker Installation
Docker Compose Installation
Cluster Installation
AutoDL Image
Other
Device information
GPU 0, 24GB memory
Models information
text2vec-large-chinese
QWen2.5-14B-Instruct
What happened
Nither of deletion the knowledge space name from Web or dbgpt command cli will not delete the pilot data, that caused failure when re-create the same space name.
What you expected to happen
It should be that when the space name was deleted, the corresponding pilot data was deleted from filesystem. If not, another result maybe that availabe volume of filesystem decreased.
How to reproduce
Just create knowledge space using name such as 'testknowlegeSpace', then delete the space with name 'testknowlegeSpace', and re-create the space 'testknowlegeSpace', when entered the detail of recreated space, the content failed.
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: