Feat/delete single dataset retrival (#6570)

This commit is contained in:
Jyong 2024-07-24 12:50:11 +08:00 committed by GitHub
commit e4bb943fe5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 651 additions and 115 deletions

View file

@ -328,7 +328,9 @@ class AppModelConfig(db.Model):
return {'retrieval_model': 'single'}
else:
return dataset_configs
return {'retrieval_model': 'single'}
return {
'retrieval_model': 'multiple',
}
@property
def file_upload_dict(self) -> dict: