JobSmithManipulation
commited on
Commit
·
4361f57
1
Parent(s):
74bda08
rename create_timestamp_flt to create_timestamp_float (#2473)
Browse files### What problem does this PR solve?
### Type of change
- [x] Performance Improvement
sdk/python/ragflow/modules/chunk.py
CHANGED
|
@@ -7,7 +7,7 @@ class Chunk(Base):
|
|
| 7 |
self.content = ""
|
| 8 |
self.important_keywords = []
|
| 9 |
self.create_time = ""
|
| 10 |
-
self.
|
| 11 |
self.knowledgebase_id = None
|
| 12 |
self.document_name = ""
|
| 13 |
self.document_id = ""
|
|
@@ -39,7 +39,7 @@ class Chunk(Base):
|
|
| 39 |
"content_with_weight": self.content,
|
| 40 |
"important_kwd": self.important_keywords,
|
| 41 |
"create_time": self.create_time,
|
| 42 |
-
"create_timestamp_flt": self.
|
| 43 |
"doc_id": self.document_id,
|
| 44 |
"status": self.status,
|
| 45 |
})
|
|
|
|
| 7 |
self.content = ""
|
| 8 |
self.important_keywords = []
|
| 9 |
self.create_time = ""
|
| 10 |
+
self.create_timestamp_float = 0.0
|
| 11 |
self.knowledgebase_id = None
|
| 12 |
self.document_name = ""
|
| 13 |
self.document_id = ""
|
|
|
|
| 39 |
"content_with_weight": self.content,
|
| 40 |
"important_kwd": self.important_keywords,
|
| 41 |
"create_time": self.create_time,
|
| 42 |
+
"create_timestamp_flt": self.create_timestamp_float,
|
| 43 |
"doc_id": self.document_id,
|
| 44 |
"status": self.status,
|
| 45 |
})
|