Skip to content

Commit 3bad75b

Browse files
authored
Allows selection of etl config (#375)
1 parent a78fc76 commit 3bad75b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

controller/transfer/cognition/minio_upload.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from submodules.model.business_objects import general
88
from submodules.model.global_objects import etl_task as etl_task_bo
99
from submodules.model.cognition_objects import (
10-
project as project_db_co,
1110
file_reference as file_reference_db_co,
1211
markdown_file as markdown_file_db_co,
1312
markdown_dataset as markdown_dataset_db_co,
@@ -58,7 +57,6 @@ def handle_cognition_file_upload(path_parts: List[str]):
5857
conversation_id = file_reference.meta_data.get("conversation_id")
5958
full_config, tokenizer = etl_utils.get_full_config_and_tokenizer_from_config_id(
6059
file_reference,
61-
etl_config_id=project_db_co.get_default_etl_config_id(project_id),
6260
project_id=project_id,
6361
conversation_id=conversation_id,
6462
)

0 commit comments

Comments
 (0)