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
00] "GET /v1/document/list?kb_id=0d16cece9bf811efb606ec63d7a7abd4&keywords=&page_size=10&page=1 HTTP/1.1" 200 -
{{
"title": "ORD12345 Shipment",
"summary": "The community revolves around the shipment with order ID ORD12345. This shipment has relationships with various entities such as the pickup location, delivery address, order date, estimated delivery date, and current status. The shipment's details, including its price, quantity, and weight, are also associated with it.",
"rating": 2.0,
"rating_explanation": "The impact severity rating is low due to the shipment being a routine transaction with no reported issues.",
"findings": [
{{
"summary": "ORD12345 as the central entity",
"explanation": "ORD12345 is the central entity in this community, representing the shipment. This entity is associated with various details such as the pickup location, delivery address, order date, and estimated delivery date. [Data: Entities (1), Relationships (0, 1, 2, 7, 8,+more)]"
}},
{{
"summary": "Pickup location and delivery address",
"explanation": "The pickup location of the shipment is Warehouse A, 200 Industrial Blvd, Springfield, IL, 62702, and the delivery address is 123 Maple St, Springfield, IL, 62701. These locations are crucial in understanding the shipment's movement and delivery. [Data: Entities (12), Relationships (0, 2)]"
}},
{{
"summary": "Shipment details",
"explanation": "The shipment has a price of $500, a quantity of 10 packs, and a total weight of 240 kg. These details are important in understanding the shipment's characteristics. [Data: Entities (0, 2, 7), Relationships (3, 4, 5)]"
}},
{{
"summary": "Order status and current status",
"explanation": "The order status of ORD12345 is Shipped, and the current status is In Transit. These statuses indicate the shipment's progress and movement. [Data: Entities (9, 11), Relationships (6, 8)]"
}},
{{
"summary": "Special instructions and issues reported",
"explanation": "The shipment has special instructions to handle with care and keep away from direct sunlight. Additionally, there are no issues reported for the shipment. [Data: Entities (8, 10), Relationships (11, 12)]"
}}
]
}}
ERROR: Traceback (most recent call last):
File "/home/seq_amal/work_temp/ragflow/graphrag/community_reports_extractor.py", line 84, in call
response = json.loads(response)
^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
[ERROR] [2024-11-07 18:20:10,939] [mind_map_extractor.call] [line:136]: error mind graph
Traceback (most recent call last):
File "/home/seq_amal/work_temp/ragflow/graphrag/mind_map_extractor.py", line 112, in call
res.append(.result())
^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/seq_amal/miniconda3/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/work_temp/ragflow/graphrag/mind_map_extractor.py", line 198, in _process_document
print("---------------------------------------------------\n", self._todict(markdown_to_json.dictify(response)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/work_temp/ragflow/graphrag/mind_map_extractor.py", line 184, in _todict
return self._list_to_kv(to_ret)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/work_temp/ragflow/graphrag/mind_map_extractor.py", line 167, in _list_to_kv
new_value[value[i - 1]] = value[i][0]
~~~~~~~~^^^
IndexError: list index out of range
{
"error": "list index out of range"
}
Expected behavior
No response
Steps to reproduce
Create knowledge graph from ui
Additional information
Used groq llama 3.1 70b model as provider
The text was updated successfully, but these errors were encountered:
Is there an existing issue for the same bug?
Branch name
main
Commit ID
19f9f34
Other environment information
No response
Actual behavior
00] "GET /v1/document/list?kb_id=0d16cece9bf811efb606ec63d7a7abd4&keywords=&page_size=10&page=1 HTTP/1.1" 200 -
{{
"title": "ORD12345 Shipment",
"summary": "The community revolves around the shipment with order ID ORD12345. This shipment has relationships with various entities such as the pickup location, delivery address, order date, estimated delivery date, and current status. The shipment's details, including its price, quantity, and weight, are also associated with it.",
"rating": 2.0,
"rating_explanation": "The impact severity rating is low due to the shipment being a routine transaction with no reported issues.",
"findings": [
{{
"summary": "ORD12345 as the central entity",
"explanation": "ORD12345 is the central entity in this community, representing the shipment. This entity is associated with various details such as the pickup location, delivery address, order date, and estimated delivery date. [Data: Entities (1), Relationships (0, 1, 2, 7, 8,+more)]"
}},
{{
"summary": "Pickup location and delivery address",
"explanation": "The pickup location of the shipment is Warehouse A, 200 Industrial Blvd, Springfield, IL, 62702, and the delivery address is 123 Maple St, Springfield, IL, 62701. These locations are crucial in understanding the shipment's movement and delivery. [Data: Entities (12), Relationships (0, 2)]"
}},
{{
"summary": "Shipment details",
"explanation": "The shipment has a price of $500, a quantity of 10 packs, and a total weight of 240 kg. These details are important in understanding the shipment's characteristics. [Data: Entities (0, 2, 7), Relationships (3, 4, 5)]"
}},
{{
"summary": "Order status and current status",
"explanation": "The order status of ORD12345 is Shipped, and the current status is In Transit. These statuses indicate the shipment's progress and movement. [Data: Entities (9, 11), Relationships (6, 8)]"
}},
{{
"summary": "Special instructions and issues reported",
"explanation": "The shipment has special instructions to handle with care and keep away from direct sunlight. Additionally, there are no issues reported for the shipment. [Data: Entities (8, 10), Relationships (11, 12)]"
}}
]
}}
ERROR: Traceback (most recent call last):
File "/home/seq_amal/work_temp/ragflow/graphrag/community_reports_extractor.py", line 84, in call
response = json.loads(response)
^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
[ERROR] [2024-11-07 18:20:10,939] [mind_map_extractor.call] [line:136]: error mind graph
Traceback (most recent call last):
File "/home/seq_amal/work_temp/ragflow/graphrag/mind_map_extractor.py", line 112, in call
res.append(.result())
^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/miniconda3/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/seq_amal/miniconda3/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/work_temp/ragflow/graphrag/mind_map_extractor.py", line 198, in _process_document
print("---------------------------------------------------\n", self._todict(markdown_to_json.dictify(response)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/work_temp/ragflow/graphrag/mind_map_extractor.py", line 184, in _todict
return self._list_to_kv(to_ret)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/seq_amal/work_temp/ragflow/graphrag/mind_map_extractor.py", line 167, in _list_to_kv
new_value[value[i - 1]] = value[i][0]
~~~~~~~~^^^
IndexError: list index out of range
{
"error": "list index out of range"
}
Expected behavior
No response
Steps to reproduce
Additional information
Used groq llama 3.1 70b model as provider
The text was updated successfully, but these errors were encountered: