Sfoglia il codice sorgente

delete duplicate check get_dataset (#3966)

Co-authored-by: baxiang <baxiang@lixiang.com>
tags/0.6.6
羊羽 1 anno fa
parent
commit
975b2fb79e
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0
    3
      api/controllers/console/datasets/datasets_document.py

+ 0
- 3
api/controllers/console/datasets/datasets_document.py Vedi File

@@ -394,9 +394,6 @@ class DocumentBatchIndexingEstimateApi(DocumentResource):
def get(self, dataset_id, batch):
dataset_id = str(dataset_id)
batch = str(batch)
dataset = DatasetService.get_dataset(dataset_id)
if dataset is None:
raise NotFound("Dataset not found.")
documents = self.get_batch_documents(dataset_id, batch)
response = {
"tokens": 0,

Loading…
Annulla
Salva