mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Trival. (#9015)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -48,7 +48,7 @@ class Extractor:
|
|||||||
self._entity_types = entity_types or DEFAULT_ENTITY_TYPES
|
self._entity_types = entity_types or DEFAULT_ENTITY_TYPES
|
||||||
|
|
||||||
@timeout(60*3)
|
@timeout(60*3)
|
||||||
def _chat(self, system, history, gen_conf):
|
def _chat(self, system, history, gen_conf={}):
|
||||||
hist = deepcopy(history)
|
hist = deepcopy(history)
|
||||||
conf = deepcopy(gen_conf)
|
conf = deepcopy(gen_conf)
|
||||||
response = get_llm_cache(self._llm.llm_name, system, hist, conf)
|
response = get_llm_cache(self._llm.llm_name, system, hist, conf)
|
||||||
|
|||||||
Reference in New Issue
Block a user