feature: deer-flow支持从datamate获取外部接入模型 (#83)

* feature: deer-flow支持从datamate获取外部接入模型
This commit is contained in:
hhhhsc701
2025-11-13 20:13:16 +08:00
committed by GitHub
parent 604fd019d5
commit 5cef9cb273
19 changed files with 177 additions and 383 deletions

View File

@@ -0,0 +1,10 @@
from typing import Dict, Any
from datamate.core.base_op import Mapper
class TestMapper(Mapper):
def execute(self, sample: Dict[str, Any]) -> Dict[str, Any]:
sample[self.text_key] += "\n####################\n"
return sample