Skip to content

Commit

Permalink
rename create_timestamp_flt to create_timestamp_float (#2473)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?


### Type of change

- [x] Performance Improvement
  • Loading branch information
JobSmithManipulation authored Sep 18, 2024
1 parent 62cb5f1 commit 7195742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/ragflow/modules/chunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def __init__(self, rag, res_dict):
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 = ""
Expand Down Expand Up @@ -39,7 +39,7 @@ def save(self) -> bool:
"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,
})
Expand Down

0 comments on commit 7195742

Please sign in to comment.