mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: support cross language for API. (#8946)
### What problem does this PR solve? Close #8943 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -86,7 +86,7 @@ class GraphExtractor(Extractor):
|
||||
**self._context_base, input_text="{input_text}"
|
||||
).format(**self._context_base, input_text=content)
|
||||
|
||||
gen_conf = {"temperature": 0.8}
|
||||
gen_conf = {}
|
||||
async with chat_limiter:
|
||||
final_result = await trio.to_thread.run_sync(lambda: self._chat(hint_prompt, [{"role": "user", "content": "Output:"}], gen_conf))
|
||||
token_count += num_tokens_from_string(hint_prompt + final_result)
|
||||
|
||||
Reference in New Issue
Block a user