Skip to content

Commit eae6a9d

Browse files
committed
[debug] update storage dev-doc
1 parent 80b4a46 commit eae6a9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/zh/dev_guide/storage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ DataFlow数据表的结构如下
6666
使用该方法写入的新数据eval列数据清空。
6767

6868
- ``write_eval(self, data: list[dict], **kwargs)``: data参数中是原数据的id和新数据的分数(float类型)和信息(str类型)。要求的可变参数如下:
69+
* ``stage``: 当前算子在pipeline中的位置+1,要求在配置文件中传入。
6970
* ``score_key``: data参数中分数对应的关键字,若data字段的形式为``[{'id': xxx, 'score1': xxx}]``,则此处应传入'score1'。
7071
* ``algo_name``: 算子名称,可以默认使用``self.__class__.__name__``
7172
* !``info_key``: data参数中需要额外存储的信息,若data字段的形式为``[{'id': xxx, 'score1': xxx, 'info1': xxx}]``,则此处应传入'info1'。

0 commit comments

Comments
 (0)