mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
add keyword extraction in graph (#1373)
### What problem does this PR solve? #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -418,6 +418,9 @@ class ComponentBase(ABC):
|
||||
o = pd.DataFrame(o)
|
||||
return self._param.output_var_name, o
|
||||
|
||||
def reset(self):
|
||||
setattr(self._param, self._param.output_var_name, None)
|
||||
|
||||
def set_output(self, v: pd.DataFrame):
|
||||
setattr(self._param, self._param.output_var_name, v)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user