浏览代码

fix: keywords field not persist in segements api (#17151)

tags/1.2.0
liuzhenghua 7 个月前
父节点
当前提交
d5b48a0aa3
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      api/services/dataset_service.py

+ 1
- 0
api/services/dataset_service.py 查看文件

@@ -1663,6 +1663,7 @@ class SegmentService:
content=content,
word_count=len(content),
tokens=tokens,
keywords=segment_item.get("keywords", []),
status="completed",
indexing_at=datetime.datetime.now(datetime.UTC).replace(tzinfo=None),
completed_at=datetime.datetime.now(datetime.UTC).replace(tzinfo=None),

正在加载...
取消
保存