Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error during the execution of the graphrag after following the steps #7

Open
VidhyaVarshanyJS opened this issue Jul 21, 2024 · 14 comments

Comments

@VidhyaVarshanyJS
Copy link

❌ create_summarized_entities
None
⠼ GraphRAG Indexer
├── Loading Input (text) - 1 files loaded (0 filtered) ━━━━ 100% 0:0… 0:0…
├── create_base_text_units
├── create_base_extracted_entities
└── create_summarized_entities
❌ Errors occurred during the pipeline run, see logs for more details.

@VidhyaVarshanyJS VidhyaVarshanyJS changed the title error during the execution of the graph after folowing the steps error during the execution of the graphrag after following the steps Jul 21, 2024
@karthik-codex
Copy link
Owner

have you looked at your log file? what models are you using in your settings.yaml?

@VidhyaVarshanyJS
Copy link
Author

VidhyaVarshanyJS commented Jul 22, 2024 via email

@VidhyaVarshanyJS
Copy link
Author

Hi, there

I am running the model in the low specs machine .I am doing a prroject on the graphrag for which i need to index the below book related to medicine.Can you help me to generate the graphrag indexer files alone and attach me the zip file with the gmail?

https://drive.google.com/file/d/0B7HZIUBvCH1EZ1REYVFnYjZscTQ/view?resourcekey=0-eZTYSn0ue4iU8l20-TdOrQ

@karthik-codex
Copy link
Owner

Hi Vidhya, sorry I do not have the resources to perform the indexing for 900 pages. I would recommend converting the pdf to markdown first using the script provided in /Utils folder. Then split the markdown into ~20-30 chunks and do the indexing sequentially.

@VidhyaVarshanyJS
Copy link
Author

VidhyaVarshanyJS commented Jul 22, 2024 via email

@karthik-codex
Copy link
Owner

karthik-codex commented Jul 24, 2024

I am new to this .. Is it possible to run the ollama local model?

Yes. Download and install the tool from Ollama.com. Then open cmd prompt and execute "ollama run llama3" to run Llama3 locally.

@VidhyaVarshanyJS
Copy link
Author

VidhyaVarshanyJS commented Jul 29, 2024 via email

@0xf179ed0e
Copy link

I had the same error. I had to change my settings.json file.

following lines were wrong:

model: nomic_embed_text #text-embedding-3-large  #mxbai-embed-large #
api_base: http://localhost:11434/api

... I had to change to below:

model: nomic-embed-text #text-embedding-3-large  #mxbai-embed-large #
api_base: http://localhost:11434/v1

@karthik-codex
Copy link
Owner

I may have had similar issue. I think I had to revert back to nomic_embed_text and 11434/api duing local search inference. Let me know which one works.

@VidhyaVarshanyJS
Copy link
Author

VidhyaVarshanyJS commented Aug 1, 2024 via email

@VidhyaVarshanyJS
Copy link
Author

How can I evaluate the graphrag performance if ask out of bound questions???
like if i am handling any medical related data and building a graphrag then if user asks query that is out of the context infromation like for example if the provided corpus had protien A cause Disease X and protein B causes Disease Y then if the user query is like what disease is cause with protein A and protein B to the graphrag llm then it will answer it causes this disease C kinda like that,.so while specifying any disease . How can i trust the answer that the graphrag is providing is correct ? how can i evaluate it ?

@hongbo-sun
Copy link

hongbo-sun commented Aug 10, 2024

❌ create_summarized_entities None ⠼ GraphRAG Indexer ├── Loading Input (text) - 1 files loaded (0 filtered) ━━━━ 100% 0:0… 0:0… ├── create_base_text_units ├── create_base_extracted_entities └── create_summarized_entities ❌ Errors occurred during the pipeline run, see logs for more details.

It may be caused by no response of LLM. I change the max tries as follows and it works.

encoding_model: cl100k_base
skip_workflows: []
llm:
api_key: ${GRAPHRAG_API_KEY}
type: openai_chat # or azure_openai_chat
model: llama3
model_supports_json: true # recommended if this is available for your model.
api_base: http://localhost:11434/v1
max_retries: 1000

@theTulgaa
Copy link

❌ create_summarized_entities None ⠼ GraphRAG Indexer ├── Loading Input (text) - 1 files loaded (0 filtered) ━━━━ 100% 0:0… 0:0… ├── create_base_text_units ├── create_base_extracted_entities └── create_summarized_entities ❌ Errors occurred during the pipeline run, see logs for more details.

It may be caused by no response of LLM. I change the max tries as follows and it works.

encoding_model: cl100k_base skip_workflows: [] llm: api_key: ${GRAPHRAG_API_KEY} type: openai_chat # or azure_openai_chat model: llama3 model_supports_json: true # recommended if this is available for your model. api_base: http://localhost:11434/v1 max_retries: 1000

Thank you so much. You helped me a lot.

@theTulgaa
Copy link

I got same error. But i resolved it.

  • model: llama3
  • max_retries: 1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants