mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-04 10:34:30 +00:00
feat(core): Support higher-order operators (#1984)
Co-authored-by: 谨欣 <echo.cmy@antgroup.com>
This commit is contained in:
@@ -223,7 +223,7 @@ class KnowledgeSpacePromptBuilderOperator(
|
||||
self._prompt = prompt
|
||||
self._history_key = history_key
|
||||
self._str_history = str_history
|
||||
BasePromptBuilderOperator.__init__(self, check_storage=check_storage)
|
||||
BasePromptBuilderOperator.__init__(self, check_storage=check_storage, **kwargs)
|
||||
JoinOperator.__init__(self, combine_function=self.merge_context, **kwargs)
|
||||
|
||||
@rearrange_args_by_type
|
||||
|
Reference in New Issue
Block a user