Minor dependency issues and a mismatch in the GraphRAG Complete notebook #152
|
Hello, First of all, thank you very much for this project, the work you've done is truly impressive and very well polished. We really appreciate the effort put into the documentation and the cookbook; it helps a lot. During our usage, we encountered two issues that we would like to report : 1. Repository cloning and dependency issuesWe ran into several dependency problems when trying to use the PyPI package (notably circular dependencies between some classes). We managed to work around this by installing directly from the GitHub repository: pip install git+https://github.com/Hawksight-AI/semantica.git@mainHowever, even with this approach, we still faced two issues:
pip install protobuf==4.25.3 grpcio==1.67.1
2. GraphRAG Complete notebook : File Ingestion phaseThe notebook is very useful and comprehensive overall. However, in Phase 1 (File Ingestion), the code no longer seems to match the current version. Specifically, for file_path in local_files:
try:
if os.path.exists(file_path):
print(f" Processing: {file_path}")
file_data = file_ingestor.ingest_file(file_path)
# ingest_file returns a single FileObject, not a list
if hasattr(file_data, 'text') and file_data.text:
all_content.append(file_data.text)
elif hasattr(file_data, 'content') and file_data.content:
# If content is bytes, decode it
...We worked around this by removing the first if condition, but we’re not sure whether:
Any clarification would be greatly appreciated. |
Replies: 1 comment
|
Hello @MoktarEls , Thank you for the kind words and for reporting these issues! We’ve addressed them in the latest update:
We appreciate your support |
Hello @MoktarEls ,
Thank you for the kind words and for reporting these issues! We’ve addressed them in the latest update:
You can test these fixes by installing from the utils branch: pip install git+https://github.com/Hawksig…