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
Traceback (most recent call last):
File "/ragflow/graphrag/graph_extractor.py", line 128, in __call__
result, token_count = self._process_document(text, prompt_variables)
File "/ragflow/graphrag/graph_extractor.py", line 177, in _process_document
if response.find("**ERROR**") >=0: raise Exception(response)
Exception: **ERROR**: 400 Please use a valid role: user, model.
**ERROR**: contents must not be empty
Expected behavior
No response
Steps to reproduce
1. Set `Model Providers > System Model Settings > Chat model` to `gemini-1.5-flash-lastest`2. Create a knowledge graph
3. Process a file
Additional information
Processing the file works fine when the Chat model is set to gpt-4o-mini.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for the same bug?
Branch name
main
Commit ID
--
Other environment information
No response
Actual behavior
Expected behavior
No response
Steps to reproduce
Additional information
Processing the file works fine when the Chat model is set to
gpt-4o-mini
.The text was updated successfully, but these errors were encountered: