瀏覽代碼

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

tags/1.2.0
liuzhenghua 7 月之前
父節點
當前提交
d5b48a0aa3
No account linked to committer's email address
共有 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),

Loading…
取消
儲存