mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 21:45:55 +08:00
Fix param error. (#4645)
### What problem does this PR solve? #4633 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
f33415b751
commit
42f7261509
@ -135,7 +135,7 @@ class GraphExtractor(Extractor):
|
||||
break
|
||||
history.append({"role": "assistant", "content": response})
|
||||
history.append({"role": "user", "content": LOOP_PROMPT})
|
||||
continuation = self._chat("", history, self._loop_args)
|
||||
continuation = self._chat("", history, {"temperature": 0.8})
|
||||
token_count += num_tokens_from_string("\n".join([m["content"] for m in history]) + response)
|
||||
if continuation != "YES":
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user