Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Module Name] Bug title delete knowledge space error. #2141

Open
3 of 15 tasks
w371803361 opened this issue Nov 21, 2024 · 5 comments
Open
3 of 15 tasks

[Bug] [Module Name] Bug title delete knowledge space error. #2141

w371803361 opened this issue Nov 21, 2024 · 5 comments
Labels
bug Something isn't working Waiting for reply

Comments

@w371803361
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

3.10

DB-GPT version

latest release

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

CPU

Models information

qwen2.5-7b
text2vec-large-chinese

What happened

image
我创建了一个知识图谱方式存储的知识库,删除的时候报错如图,请问如何解决?或者如何从后端删除该知识库? 向量存储方式可以正常删除操作。

What you expected to happen

不知道是否是缺少相关配置还是什么原因,希望能够得到解决的办法

How to reproduce

按照文档下载部署DB-GPT后,正常运行创建一个知识图谱方式存储的知识库,然后就出现该报错

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@w371803361 w371803361 added bug Something isn't working Waiting for reply labels Nov 21, 2024
@Aries-ckt
Copy link
Collaborator

it looks like vector_type you choose is Full_Text ?

@Aries-ckt Aries-ckt changed the title [Bug] [Module Name] Bug title 删除知识库报错问题 [Bug] [Module Name] Bug title delete knowledge space error. Nov 21, 2024
@w371803361
Copy link
Author

image
我当时选择的好像是“知识图谱”,现在想删除该知识库,但是一直报这个错误,不知道该如何解决,能否指导下。后台日志:
2024-11-21 14:06:43 localhost1 elastic_transport.transport[232529] INFO HEAD http://localhost:9200/dbgpt_e6b58be8af95e79fa5e8af86e5ba93 [status:N/A duration:0.001s]
2024-11-21 14:06:43 localhost1 elastic_transport.node_pool[232529] WARNING Node <Urllib3HttpNode(http://localhost:9200)> has failed for 3 times in a row, putting on 4 second timeout
2024-11-21 14:06:43 localhost1 elastic_transport.transport[232529] WARNING Retrying request after failure (attempt 2 of 3)
Traceback (most recent call last):
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/connection.py", line 199, in _new_conn
sock = connection.create_connection(
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/elastic_transport/_node/_http_urllib3.py", line 167, in perform_request
response = self.pool.urlopen(
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 843, in urlopen
retries = retries.increment(
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/util/retry.py", line 449, in increment
raise reraise(type(error), error, _stacktrace)
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/util/util.py", line 39, in reraise
raise value
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 789, in urlopen
response = self._make_request(
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 495, in _make_request
conn.request(
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/connection.py", line 441, in request
self.endheaders()
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/http/client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/http/client.py", line 1038, in _send_output
self.send(msg)
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/http/client.py", line 976, in send
self.connect()
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/connection.py", line 279, in connect
self.sock = self._new_conn()
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/urllib3/connection.py", line 214, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0ff85e8070>: Failed to establish a new connection: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/elastic_transport/_transport.py", line 342, in perform_request
resp = node.perform_request(
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/elastic_transport/_node/_http_urllib3.py", line 202, in perform_request
raise err from e
elastic_transport.ConnectionError: Connection error caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f0ff85e8070>: Failed to establish a new connection: [Errno 111] Connection refused)
2024-11-21 14:06:43 localhost1 elastic_transport.transport[232529] INFO HEAD http://localhost:9200/dbgpt_e6b58be8af95e79fa5e8af86e5ba93 [status:N/A duration:0.001s]
2024-11-21 14:06:43 localhost1 elastic_transport.node_pool[232529] WARNING Node <Urllib3HttpNode(http://localhost:9200)> has failed for 4 times in a row, putting on 8 second timeout
2024-11-21 14:06:43 localhost1 dbgpt.serve.rag.connector[232529] ERROR connect vector store failed: Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f0ff8567c70>: Failed to establish a new connection: [Errno 111] Connection refused))

看起来您选择的vector_type是 ?Full_Text

@w371803361
Copy link
Author

看起来您选择的vector_type是 ?Full_Text

好像就是Full_Text,想请问我如何能够删除这个知识库?或者解决这个报错?

@Aries-ckt
Copy link
Collaborator

如果你想用知识图谱应该是选第二个,你现在选的是全文是吗?

@w371803361
Copy link
Author

如果你想用知识图谱应该是选第二个,你现在选的是全文是吗?

是的,现在选的是全文,想删除这个知识库

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants