瀏覽代碼

rename create_timestamp_flt to create_timestamp_float (#2473)

### What problem does this PR solve?


### Type of change

- [x] Performance Improvement
tags/v0.12.0
JobSmithManipulation 1 年之前
父節點
當前提交
7195742ca5
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      sdk/python/ragflow/modules/chunk.py

+ 2
- 2
sdk/python/ragflow/modules/chunk.py 查看文件

self.content = "" self.content = ""
self.important_keywords = [] self.important_keywords = []
self.create_time = "" self.create_time = ""
self.create_timestamp_flt = 0.0
self.create_timestamp_float = 0.0
self.knowledgebase_id = None self.knowledgebase_id = None
self.document_name = "" self.document_name = ""
self.document_id = "" self.document_id = ""
"content_with_weight": self.content, "content_with_weight": self.content,
"important_kwd": self.important_keywords, "important_kwd": self.important_keywords,
"create_time": self.create_time, "create_time": self.create_time,
"create_timestamp_flt": self.create_timestamp_flt,
"create_timestamp_flt": self.create_timestamp_float,
"doc_id": self.document_id, "doc_id": self.document_id,
"status": self.status, "status": self.status,
}) })

Loading…
取消
儲存