Sfoglia il codice sorgente

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 anno fa
parent
commit
7195742ca5
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      sdk/python/ragflow/modules/chunk.py

+ 2
- 2
sdk/python/ragflow/modules/chunk.py Vedi 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,
})

Loading…
Annulla
Salva