소스 검색

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
No account linked to committer's email address
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      sdk/python/ragflow/modules/chunk.py

+ 2
- 2
sdk/python/ragflow/modules/chunk.py 파일 보기

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

Loading…
취소
저장