mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-31 23:55:06 +08:00
Component debugging funcionality. (#4012)
### What problem does this PR solve? #3993 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -60,3 +60,6 @@ class KeywordExtract(Generate, ABC):
|
||||
ans = re.sub(r".*keyword:", "", ans).strip()
|
||||
logging.debug(f"ans: {ans}")
|
||||
return KeywordExtract.be_output(ans)
|
||||
|
||||
def debug(self, **kwargs):
|
||||
return self._run([], **kwargs)
|
||||
Reference in New Issue
Block a user