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
Run the knowledge_graph parsing method, after parsing the document, an error occurs during the retrieval_test in search.py:323. The error message is: "sres.field[i][cfield].split(" ")", where cfield is set to "content_ltks", but the knowledge_graph parsing method has the following keywords without the "content_ltks" attribute: "knowledge_graph_kwd": "graph", "knowledge_graph_kwd": "mind_map", and "knowledge_graph_kwd": "text".
Expected behavior
No response
Steps to reproduce
1: Run the knowledge_graph parsing method
2:retrieval_test
Additional information
No response
The text was updated successfully, but these errors were encountered:
chunks.append(
{
"content_with_weight": json.dumps(nx.node_link_data(graph), ensure_ascii=False, indent=2),
"knowledge_graph_kwd": "graph"
})
You can see that the "knowledge_graph_kwd" attribute is set to "graph". There are only two attributes in total.
chunks.append(
{
"content_with_weight": json.dumps(nx.node_link_data(graph), ensure_ascii=False, indent=2),
"knowledge_graph_kwd": "graph"
})
You can see that the "knowledge_graph_kwd" attribute is set to "graph". There are only two attributes in total.
Is there an existing issue for the same bug?
Branch name
main
Commit ID
#3306
Other environment information
No response
Actual behavior
Run the knowledge_graph parsing method, after parsing the document, an error occurs during the retrieval_test in search.py:323. The error message is: "sres.field[i][cfield].split(" ")", where cfield is set to "content_ltks", but the knowledge_graph parsing method has the following keywords without the "content_ltks" attribute: "knowledge_graph_kwd": "graph", "knowledge_graph_kwd": "mind_map", and "knowledge_graph_kwd": "text".
Expected behavior
No response
Steps to reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: