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
When using create_final_entities_new.parquet instead of create_final_entities.parquet in output directory, an error occurs during local query after incremental indexing:
File "/home/lile/graphrag/graphrag/query/main.py", line 83, in
run_local_search(
File "/home/lile/graphrag/graphrag/query/cli.py", line 171, in run_local_search
return asyncio.run(run_streaming_search())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/graphrag/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/graphrag/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/graphrag/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/lile/graphrag/graphrag/query/cli.py", line 149, in run_streaming_search
async for stream_chunk in api.local_search_streaming(
File "/home/lile/graphrag/graphrag/query/api.py", line 268, in local_search_streaming
_entities = read_indexer_entities(nodes, entities, community_level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lile/graphrag/graphrag/query/indexer_adapters.py", line 118, in read_indexer_entities
return read_entities(
^^^^^^^^^^^^^^
File "/home/lile/graphrag/graphrag/query/input/loaders/dfs.py", line 60, in read_entities
text_unit_ids=to_optional_list(row, text_unit_ids_col),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lile/graphrag/graphrag/query/input/loaders/utils.py", line 82, in to_optional_list
raise ValueError(msg)
ValueError: value is not a list: 342a830b6233b359ffad639d572e658b,aab773a9369df5ca277e312b5a7d67da (<class 'str'>)
The text was updated successfully, but these errors were encountered:
xxll88
added
bug
Something isn't working
triage
Default label assignment, indicates new issue needs reviewed by a maintainer
labels
Sep 24, 2024
Describe the bug
When using create_final_entities_new.parquet instead of create_final_entities.parquet in output directory, an error occurs during local query after incremental indexing:
File "/home/lile/graphrag/graphrag/query/main.py", line 83, in
run_local_search(
File "/home/lile/graphrag/graphrag/query/cli.py", line 171, in run_local_search
return asyncio.run(run_streaming_search())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/graphrag/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/graphrag/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/graphrag/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/lile/graphrag/graphrag/query/cli.py", line 149, in run_streaming_search
async for stream_chunk in api.local_search_streaming(
File "/home/lile/graphrag/graphrag/query/api.py", line 268, in local_search_streaming
_entities = read_indexer_entities(nodes, entities, community_level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lile/graphrag/graphrag/query/indexer_adapters.py", line 118, in read_indexer_entities
return read_entities(
^^^^^^^^^^^^^^
File "/home/lile/graphrag/graphrag/query/input/loaders/dfs.py", line 60, in read_entities
text_unit_ids=to_optional_list(row, text_unit_ids_col),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lile/graphrag/graphrag/query/input/loaders/utils.py", line 82, in to_optional_list
raise ValueError(msg)
ValueError: value is not a list: 342a830b6233b359ffad639d572e658b,aab773a9369df5ca277e312b5a7d67da (<class 'str'>)
The text was updated successfully, but these errors were encountered: