rename create_timestamp_flt to create_timestamp_float (#2473)

### What problem does this PR solve?


### Type of change

- [x] Performance Improvement
This commit is contained in:
JobSmithManipulation 2024-09-18 12:50:05 +08:00 committed by GitHub
parent 62cb5f1bac
commit 7195742ca5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ class Chunk(Base):
self.content = ""
self.important_keywords = []
self.create_time = ""
self.create_timestamp_flt = 0.0
self.create_timestamp_float = 0.0
self.knowledgebase_id = None
self.document_name = ""
self.document_id = ""
@ -39,7 +39,7 @@ class Chunk(Base):
"content_with_weight": self.content,
"important_kwd": self.important_keywords,
"create_time": self.create_time,
"create_timestamp_flt": self.create_timestamp_flt,
"create_timestamp_flt": self.create_timestamp_float,
"doc_id": self.document_id,
"status": self.status,
})