ソースを参照

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),

読み込み中…
キャンセル
保存