original dataset update remove unuseful parameters (#8939)

This commit is contained in:
Jyong 2024-09-30 22:01:32 +08:00 committed by GitHub
parent 7873e455bb
commit 3069b5cf57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -252,6 +252,7 @@ class DatasetService:
data.pop("partial_member_list", None)
data.pop("external_knowledge_api_id", None)
data.pop("external_knowledge_id", None)
data.pop("external_retrieval_model", None)
filtered_data = {k: v for k, v in data.items() if v is not None or k == "description"}
action = None
if dataset.indexing_technique != data["indexing_technique"]: