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
Traceback (most recent call last):
File "/ragflow/api/apps/conversation_app.py", line 181, in stream
for ans in chat(dia, msg, True, **req):
File "/ragflow/api/db/services/dialog_service.py", line 218, in chat
kbinfos = retr.retrieval(" ".join(questions), embd_mdl, tenant_ids, dialog.kb_ids, 1, dialog.top_n,
File "/ragflow/rag/nlp/search.py", line 304, in retrieval
sres = self.search(req, [index_name(tid) for tid in tenant_ids], kb_ids, embd_mdl, highlight)
File "/ragflow/graphrag/search.py", line 70, in search
entities = [d.get["name_kwd"] for d in ent_res_fields.values() if d.get("name_kwd")]
File "/ragflow/graphrag/search.py", line 70, in
entities = [d.get["name_kwd"] for d in ent_res_fields.values() if d.get("name_kwd")]
TypeError: 'builtin_function_or_method' object is not subscriptable
Expected behavior
No response
Steps to reproduce
When using Graphrag to chat
Additional information
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for the same bug?
Branch name
graphrag
Commit ID
1
Other environment information
No response
Actual behavior
Traceback (most recent call last):
File "/ragflow/api/apps/conversation_app.py", line 181, in stream
for ans in chat(dia, msg, True, **req):
File "/ragflow/api/db/services/dialog_service.py", line 218, in chat
kbinfos = retr.retrieval(" ".join(questions), embd_mdl, tenant_ids, dialog.kb_ids, 1, dialog.top_n,
File "/ragflow/rag/nlp/search.py", line 304, in retrieval
sres = self.search(req, [index_name(tid) for tid in tenant_ids], kb_ids, embd_mdl, highlight)
File "/ragflow/graphrag/search.py", line 70, in search
entities = [d.get["name_kwd"] for d in ent_res_fields.values() if d.get("name_kwd")]
File "/ragflow/graphrag/search.py", line 70, in
entities = [d.get["name_kwd"] for d in ent_res_fields.values() if d.get("name_kwd")]
TypeError: 'builtin_function_or_method' object is not subscriptable
Expected behavior
No response
Steps to reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: