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
final_covariates_path = f"{INPUT_DIR}/{COVARIATE_TABLE}.parquet"
final_covariates = (
pd.read_parquet(final_covariates_path)
if os.path.exists(final_covariates_path)
else None
)
claims = (
read_indexer_covariates(final_covariates)
if final_covariates is not None
else []
)
The text was updated successfully, but these errors were encountered:
Grant512
changed the title
graphrag的output文件结构有更新,目前这个项目已经完全用不了了
加载上下文数据时出错: [Errno 2] No such file or directory: '..artifacts/create_final_covariates.parquet'
Jul 18, 2024
协变量这个文件,需要在settings.yaml中开启,请参考下面
···yaml
claim_extraction:
enabled: true
prompt: "prompts/claim_extraction.txt"
description: "Any claims or facts that could be relevant to information discovery."
max_gleanings: 1
···
协变量这个文件,需要在settings.yaml中开启,请参考下面 ···bash claim_extraction: enabled: true prompt: "prompts/claim_extraction.txt" description: "Any claims or facts that could be relevant to information discovery." max_gleanings: 1
有时没有生成create_final_covariates.parquet。代码中需要兼容一下:
main-cn.py 将
改为
The text was updated successfully, but these errors were encountered: